[Paraview] Parallel reads in ParaView

Scott, W Alan wascott at sandia.gov
Tue Jan 6 22:12:11 EST 2015


I have a user that is trying to write a python script that reads in a dataset with a large number of files (say hundreds to thousands of files).  The dataset is Exodus.  This user wants to read in a large number of these datasets (dozens to hundreds), with each dataset comprised of a different number of individual files than the other datasets.  Thus, he doesn't want to read in files like this (example, only 8 files):

z_pinch1exo8 = ExodusIIReader(FileName=['z_pinch1.exo.8.0', 'z_pinch1.exo.8.1', z_pinch1.exo.8.2', 'z_pinch1.exo.8.3', 'z_pinch1.exo.8.4', 'z_pinch1.exo.8.5', 'z_pinch1.exo.8.6', 'z_pinch1.exo.8.7'])


But would rather like this:
z_pinch1exo8 = ExodusIIReader(FileName=['z_pinch1.exo.8.*'])
or
z_pinch1exo8 = ExodusIIReader(FileName=['z_pinch1.exo."totalFileCount".*'])


Is this possible in Python?  What is the format?

If the user wants to window into his data, say take the last 4 files, is this possible?

Thanks,

Alan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150107/93bd8c96/attachment.html>


More information about the ParaView mailing list