[Paraview] Load timesteps

Zenker, Dr. Matthias Matthias.Zenker at erbe-med.com
Fri Mar 9 02:47:45 EST 2012


This fixes the problem, and now the time scale is shown in the right units.

Thank you!!

Matthias

Von: David E DeMarle [mailto:dave.demarle at kitware.com]
Gesendet: Donnerstag, 8. März 2012 14:33
An: Zenker, Dr. Matthias
Cc: paraview at paraview.org
Betreff: Re: [Paraview] Load timesteps

> ERROR: In ..\..\..\..\src\VTK\IO\vtkXMLParser.cxx, line 483
> vtkXMLDataParser (1ED92578): Error parsing XML in stream at line 4, column
> 22, byte index 178: not well-formed (invalid token)

Means that 22 characters in on the 4'th line of your xml file, or in other words the 178'th character from the start there is a syntax error.
Looking there I see "10" and noticed that the open and close quote marks are different.

What happens if you replace all of the "'s with "'s.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909



On Thu, Mar 8, 2012 at 5:26 AM, Zenker, Dr. Matthias <Matthias.Zenker at erbe-med.com<mailto:Matthias.Zenker at erbe-med.com>> wrote:
> Hi,
>
> I have many tvu files, each one representing a timestep, and want to display
> the right time in Paraview instead of the timestep number. Looking for
> information, I have found a presentation "Working with time in Paraview"
> here:
> http://www.vgtc.org/PDF/slides/2008/visweek/tutorial6_biddiscombe_working.pdf.
> One possibility sems to be to create a file with extension pvd, containing a
> list of all vtu files with their associated time, like this:
>
> <VTKFile type="Collection" version="0.1" byte_order="LittleEndian">
>   <Collection>
>     <DataSet timestep="0" group="" part="0" file="case_var0001.vtu"/>
>     <DataSet timestep="10" group="" part="0" file="case_var0002.vtu"/>
>     <DataSet timestep="20" group="" part="0" file="case_var0003.vtu"/>
>     <DataSet timestep="30" group="" part="0" file="case_var0004.vtu"/>
>     <DataSet timestep="40" group="" part="0" file="case_var0005.vtu"/>
>     <DataSet timestep="50" group="" part="0" file="case_var0006.vtu"/>
>     <DataSet timestep="60" group="" part="0" file="case_var0007.vtu"/>
>     <DataSet timestep="70" group="" part="0" file="case_var0008.vtu"/>
>     <DataSet timestep="80" group="" part="0" file="case_var0009.vtu"/>
>     <DataSet timestep="90" group="" part="0" file="case_var0010.vtu"/>
>     <DataSet timestep="100" group="" part="0" file="case_var0011.vtu"/>
>     <DataSet timestep="110" group="" part="0" file="case_var0012.vtu"/>
>     <DataSet timestep="120" group="" part="0" file="case_var0013.vtu"/>
>     <DataSet timestep="130" group="" part="0" file="case_var0014.vtu"/>
>     <DataSet timestep="140" group="" part="0" file="case_var0015.vtu"/>
>     <DataSet timestep="150" group="" part="0" file="case_var0015.vtu"/>
>   </Collection>
> </VTKFile>
>
> I have tried that, but it apparently does not work like that. I get the
> error message attached below (ParaVoew 3.14.0, WIN XP).
> What have I done wrong?
>
> Thank you for a hint,
>
> Matthias
>
> ERROR: In ..\..\..\..\src\VTK\IO\vtkXMLParser.cxx, line 483
> vtkXMLDataParser (1ED92578): Error parsing XML in stream at line 4, column
> 22, byte index 178: not well-formed (invalid token)
>
>
> ERROR: In ..\..\..\..\src\VTK\IO\vtkXMLReader.cxx, line 362
> vtkPVDReader (1EDADBE8): Error parsing input file.  ReadXMLInformation
> aborting.
>
>
> ERROR: In ..\..\..\..\src\ParaViewCore\VTKExtensions\vtkPVDReader.cxx, line
> 147
> vtkPVDReader (1EDADBE8): Could not read file information
>
>
> ERROR: In ..\..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 756
> vtkPVCompositeDataPipeline (1EEA2C50): Algorithm vtkPVDReader(1EDADBE8)
> returned failure for request: vtkInformation (1EEE77E8)
>   Debug: Off
>   Modified Time: 94271
>   Reference Count: 1
>   Registered Events: (none)
>   Request: REQUEST_DATA_OBJECT
>   FORWARD_DIRECTION: 0
>   ALGORITHM_AFTER_FORWARD: 1
>
>
>
>
> ERROR: In ..\..\..\..\src\ParaViewCore\VTKExtensions\vtkPVDReader.cxx, line
> 147
> vtkPVDReader (1EDADBE8): Could not read file information
>
>
> ERROR: In ..\..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 756
> vtkPVCompositeDataPipeline (1EEA2C50): Algorithm vtkPVDReader(1EDADBE8)
> returned failure for request: vtkInformation (1EEE77E8)
>   Debug: Off
>   Modified Time: 94271
>   Reference Count: 1
>   Registered Events: (none)
>   Request: REQUEST_DATA_OBJECT
>   FORWARD_DIRECTION: 0
>   ALGORITHM_AFTER_FORWARD: 1
>
>
>
>
> ERROR: In ..\..\..\..\src\ParaViewCore\VTKExtensions\vtkPVDReader.cxx, line
> 147
> vtkPVDReader (1EDADBE8): Could not read file information
>
>
> ERROR: In ..\..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 756
> vtkPVCompositeDataPipeline (1EEA2C50): Algorithm vtkPVDReader(1EDADBE8)
> returned failure for request: vtkInformation (1EEE77E8)
>   Debug: Off
>   Modified Time: 94271
>   Reference Count: 1
>   Registered Events: (none)
>   Request: REQUEST_DATA_OBJECT
>   FORWARD_DIRECTION: 0
>   ALGORITHM_AFTER_FORWARD: 1
>
>
>
> _____________________________________________________________________
> ERBE Elektromedizin GmbH
> Firmensitz: 72072 Tuebingen
> Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
> Registergericht: Stuttgart HRB 380137
>
>
> _______________________________________________
> Powered by www.kitware.com<http://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:
> http://www.paraview.org/mailman/listinfo/paraview
>


_____________________________________________________________________
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120309/1168926b/attachment-0001.htm>


More information about the ParaView mailing list