Read error on double data in simple float file
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I get
Generic Warning: In /home/bottoms/stage/vtk-4.2.6/IO/vtkDataReader.cxx, line 833Error reading ascii data!
using the Debian version 4.2.6-2 of VTK under the following circumstances:
-
a file has a scalar point lookup table of type float
-
some of the data in the file is written with more than float precision (for example, the number 1e-100 occurs)
The file reads just fine if I change the data type to "double".
An illustration of this can be found in the file at
http://www.stud.uni-karlsruhe.de/~uj6g/result.vtk. (written using PyVTK, just load into MayaVi or Paraview to see the error)