[Paraview] Fetching data from xdmf temporal collection
David E DeMarle
dave.demarle at kitware.com
Wed Mar 18 17:31:19 EDT 2015
I agree with Armin. ParaView is mostly set up to look at a single time step
at a time.
I say mostly because a few filters (like temporal cache, temporal
interpolator) work across the time dimension and those can request and thus
access data from multiple time steps at the same time.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Wed, Mar 18, 2015 at 4:34 PM, Armin Wehrfritz <dkxls23 at gmail.com> wrote:
> I'm not quite sure what the problem here is.
> However, I think this is nothing XDMF specific, but rather a general
> question on how to access the raw data in ParaView at a certain time level.
> Am I correct with this Jean-Michel?
>
> I attached a script that simply loads a xdmf file, steps though all
> time-steps, renders the data and prints the min/max values of the selected
> field.
>
> There are probably better ways to do this though.
> Generally, I prefer to use VTK directly for such kind of tasks, especially
> with the new VTK dataset adapter [1].
>
> -Armin
>
>
> [1] http://www.kitware.com/blog/home/post/709
>
>
>
> On 03/18/2015 04:19 PM, Jean-Michel wrote:
>
>> Hi Ken,
>>
>> Thank you very much for offering your help.
>> Attached is the xmf file from which I'm trying to extract the data. I did
>> delete a fair amount of lines from it to keep only the first 10 time
>> steps -
>> hope it won't affect anything.
>>
>> Jean-Michel
>>
>> -----Message d'origine-----
>> De : Ken Sheldon [mailto:KSheldon at slb.com]
>> Envoyé : mercredi 18 mars 2015 14:55
>> À : paraview at paraview.org
>> Cc : jm.lucas at gantha.com
>> Objet : RE: [Paraview] Fetching data from xdmf temporal collection
>>
>> Jean-Michel
>> I find the reader is very sensitive to input errors. The diagnostic
>> messages
>> are not always sufficient to identify mistakes in the XDMF file. I spent
>> some time getting this to work for some our data. If you would like send
>> me
>> a copy of your XDMF (not the HDF5), or at least the first few timesteps of
>> it, I would be happy to take a look.
>> ----Ken
>>
>> Date: Tue, 17 Mar 2015 17:46:08 +0100
>> From: "Jean-Michel" <jm.lucas at gantha.com>
>> To: <paraview at paraview.org>
>> Subject: [Paraview] Fetching data from xdmf temporal collection
>> Message-ID: <001b01d060d1$df435e70$9dca1b50$@lucas at gantha.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> 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
>>
>>
>> ---
>> L'absence de virus dans ce courrier électronique a été vérifiée par le
>> logiciel antivirus Avast.
>> 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
>>
>>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150318/627e0752/attachment.html>
More information about the ParaView
mailing list