[Paraview] Fetching data from xdmf temporal collection
Jean-Michel
jm.lucas at gantha.com
Wed Mar 18 09:09:28 EDT 2015
Hi Tim,
Thank you very much for the input.
However, the animation works fine for me from the xdmf time series. From what I understand, your script handles several separate files to generate an animation. My problem is rather to retrieve the point data values at each time step from a unique xmf file for further manipulation in python.
Anyway, thank you again for your suggestion.
Jean-Michel
De : Tim Gallagher [mailto:tim.gallagher at gatech.edu]
Envoyé : mardi 17 mars 2015 19:44
À : Jean-Michel
Cc : paraview at paraview.org
Objet : Re: [Paraview] Fetching data from xdmf temporal collection
Hi Jean-Michel,
For what it's worth, we never had much luck when we tried using XDMF time series (back in the early PV version 3.14 days). So we instead just got in the habit of looking at individual snap shots and if we wanted to do an animation, we would use the Python trace feature to set up our view and then make some small modifications to the generated trace script. We would wrap all of the contents in a function that took in a file name/number and output an image at the end and then we would write a small driver program that would call that function, looping over our temporal series that way.
It has the added benefit of running the visualization on a cluster where each process is serial and handles a range of data files.
Hopefully somebody who has gotten temporal series to work can help you out. If not, I'll be happy to share some example scripts for processing time series data as snapshots using pvpython.
Tim
_____
From: "Jean-Michel" <jm.lucas at gantha.com>
To: paraview at paraview.org
Sent: Tuesday, March 17, 2015 12:46:08 PM
Subject: [Paraview] Fetching data from xdmf temporal collection
Dear all,
I am trying to fetch data out of a xdmf/h5 file.
My xdmf file is a temporal collection and the xdmf reader recognizes the time steps (index/values in the information block).
I would like to access the point data for each time steps. However, I seem to only get one time step when fetching the point data from the multi-block dataset and I don't know how to iterate over the different time steps.
Hope somebody can help. Thank you very much,
Jean-Michel
_____
<http://www.avast.com/> Image supprimée par l'expéditeur.
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
www.avast.com <http://www.avast.com/>
_______________________________________________
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
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150318/72326b53/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150318/72326b53/attachment.jpg>
More information about the ParaView
mailing list