can't parse valid Float64 ASCII values
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Using Paraview 5.0.0-RC3 binary distribution for Mac, but also reproduced on Linux with older Paraview versions. The VTK UnstructuredGrid XML Parser fails to read ASCII DataArrays containing values like this:
-8.89836e-313
Even when we explicitly state type="Float64". The current workaround is to cast our "double" values to "float" before output. A stand-alone C++ program using "std::cin >> float" accepts these values just fine. Actually, this may have more to do with that value being a sub-normal double precision value. I've confirmed that Paraview accepts the file if the values are changed to this:
-8.89836e-300
Which is just above the sub-normal cutoff.
An example UnstructuredGrid file is attached.