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

Moreland, Kenneth kmorel at sandia.gov
Fri Dec 10 09:50:40 EST 2010

Is there some standard convention for encoding date/time stamps in file names?  If there was, the file browser could group them together, which would in turn cause the file series reader to see them as a file series.  It would also be possible to change the file series reader to grab a time stamp from the file name.  This could be a good entry for UserVoice.


On 12/10/10 1:47 AM, "Favre  Jean" <jfavre at cscs.ch> wrote:

use the python shell within paraview

the following pseudo-code will get you almost there

import glob
files = glob.glob('foo_*.hdf')
# 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]

Jean M. Favre
Swiss National Supercomputing Center

Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:

   ****      Kenneth Moreland
    ***      Sandia National Laboratories
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101210/b24097de/attachment.htm>

More information about the ParaView mailing list