[Paraview] Animate over files named by date & time?

Favre Jean jfavre at cscs.ch
Fri Dec 10 03:47:21 EST 2010


use the python shell within paraview

the following pseudo-code will get you almost there

import glob
files = glob.glob('foo_*.hdf')
files.sort()
# open the first file, set up your visualization, then get the object handle

reader = FindSource('foo_1995-03-21T01-00-00.hdf')

for i in files:
  reader.FileName = files[i]
  reader.UpdatePipeline()
  Render()

-----------------
Jean M. Favre
Swiss National Supercomputing Center



More information about the ParaView mailing list