[Paraview] problems with structured grid file format

David E DeMarle dave.demarle at kitware.com
Thu Jul 17 10:51:15 EDT 2008


It sounds like the data file is corrupt, specifically paraview is
expecting there to be more point centered data values that it can read
from the file. Are there 41525 floating point values in the file after
the word "default"?

But we need more information to help.
*Which version of paraview are you using?
*What OS, and what machine type 32 or 64 bit?
*How was the file generated?
*Can you post the data file to the list?
*Can a simple vtk app read the data file?

On Tue, Jul 15, 2008 at 7:52 AM, Natalie Happenhofer
<nataliehapp at hotmail.com> wrote:
> Hi everybody,
> I want to read in a structured grid file which looks like this:
>
> # vtk DataFile Version 2.0
> structured grid test
> BINARY
> DATASET STRUCTURED_GRID
> DIMENSIONS 275 151 1
> POINTS 41525 float
> ÒÑìbÒÑÍTÒÑ­îÒÑŽ2ÒÑn ÒÑM«ÒÑ,ÜÒÑ <many more binary points>
>
> POINT_DATA 41525
> SCALARS dg float 1
> LOOKUP_TABLE default
> 2 =ì2
> äå2 ;Y2 JØ2, b22¤„25¢o26 É2 bL1 á(c)1IgÔ15xâ12„î1-· 1+·;1)«¾1(‰³1'eÂ1&Ö·1&
> ô1&.'1%r"1&r 1%ò1&t <more binary data>
>
> and everytime I get the error "Generic Warning: In
> C:\berk\ReleaseBuilds\ParaView3\VTK\IO\vtkDataReader.cxx, line 933
>
> Error reading binary data!"
>
> I looked up the vtkDataReader and it seems that there is a problem with the
> function vtkReadBinaryData, that the eof is reached too soon, but does
> anyone know how to fix this?
>
> any help appreciated,
>
> kind regards,
>
> Natalie
>
>
>
>
>
>
> ________________________________
> Express yourself instantly with MSN Messenger! MSN Messenger
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list