[Paraview] Bug Reading pvti Files?

Moreland, Kenneth kmorel at sandia.gov
Fri Jun 27 10:00:16 EDT 2008


This might be related to bug #6140

  http://www.paraview.org/Bug/view.php?id=6140

-Ken

> -----Original Message-----
> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
> On Behalf Of Kent Eschenberg
> Sent: Friday, June 27, 2008 7:54 AM
> To: ParaView
> Subject: [Paraview] Bug Reading pvti Files?
>
> Not sure if this is a bug. A new program of mine creates a pvti file that
> reference two vti files in the same directory. No errors are produced when
> PV reads the pvti file but the 2nd vti file seems to be ignored.
>
> In the attached image the top object is what the pvti reader produces. A
> slice through just the right half has a min,max of 0,0.
>
> The middle object results when only the "left" vti file is read; and the
> bottom when only the "right" vti file is read. Obviously the "right" file
> contains valid numbers.
>
> The files without the binary parts are below. I hope someone can spot some
> simple mistake I've made.
>
> OS: CentOS 5, 32-bit
> PV: CVS downloaded June 25 at 4:42pm
> Compiler: gcc 4.1.2
> CMake: 2.4.6
>
> This is a major problem for a project here and so all advice will be very
> much appreciated!
>
> Kent
> Pittsburgh Supercomputing Center
>
> ======
> The pvti file:
>
> <VTKFile type="PImageData" version="0.1" byte_order="LittleEndian">
>   <PImageData
>     WholeExtent="0 255 0 127 0 127"
>     GhostLevel="0"
>     Origin="0.437746063 0.437746063 0.437746063"
>     Spacing="0.000488251 0.000488251 0.000488251"
> >
>     <PPointData Scalars="Density">
>       <PDataArray type="Float32" Name="Density"/>
>     </PPointData>
>     <Piece Extent="0 128 0 127 0 127"
> Source="ts_512L0M6_0025.grid2186.vti"/>
>     <Piece Extent="128 255 0 127 0 127"
> Source="ts_512L0M6_0025.grid2185.vti"/>
>   </PImageData>
> </VTKFile>
>
> ======
> The "left" file ts_512L0M6_0025.grid2186.vti:
>
> <VTKFile type="ImageData" version="0.1">
>   <ImageData
>     WholeExtent="0 255 0 127 0 127"
>     Origin="0.437746063 0.437746063 0.437746063"
>     Spacing="0.000488251 0.000488251 0.000488251"
>   >
>     <Piece Extent="0 128 0 127 0 127">
>       <PointData Scalars="Density">
>         <DataArray
>            Name="Density"
>            type="Float32"
>            NumberOfComponents="1"
>            format="appended"
>            offset="0"
>         />
>       </PointData>
>     </Piece>
>   </ImageData>
>   <AppendedData encoding="raw">
>   ...
>   </AppendedData
> </VTKFile>
>
> ======
> The "right" file ts_512L0M6_0025.grid2185.vti:
>
> <VTKFile type="ImageData" version="0.1">
>   <ImageData
>     WholeExtent="0 255 0 127 0 127"
>     Origin="0.437746063 0.437746063 0.437746063"
>     Spacing="0.000488251 0.000488251 0.000488251"
>   >
>     <Piece Extent="128 255 0 127 0 127">
>       <PointData Scalars="Density">
>         <DataArray
>            Name="Density"
>            type="Float32"
>            NumberOfComponents="1"
>            format="appended"
>            offset="0"
>         />
>       </PointData>
>     </Piece>
>   </ImageData>
>   <AppendedData encoding="raw">
>   ...
>   </AppendedData
> </VTKFile>



More information about the ParaView mailing list