problem with XML Data I/O--unable to handle large files
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
this one needs to go to brad king.
--- original message to brad----- brad,
I have a question about the “XML” file formats being used in vtk/paraview.
I searched through the source code but haven’t been able to satisfy myself as to the answer to my question
which is pretty simple:
for serial XML files is there a size limit on individual data arrays?
I’ve made a rectilinear grid by hand that and wrote out a Serial XML file.
when I try reading this file in paraview, CVS version around oct 1, 2005, or a VTK 4.4/dev app i wrote I get the following error:
prism% ./paraview
ErrorMessage
Error or warning: There was a VTK Error in file: /viz/home/stephens/Kitware/Paraview/paraview-CVS/ParaView/VTK/IO/vtkXMLStructuredDataReader.cxx (309)
vtkXMLRectilinearGridReader (190a6598): Error reading extent 0 1824 0 2080 0 373 from piece 0 (mms comment "Note the sizes of the grid" and they're floats)
ErrorMessage end (mms comment: the raw data is 4-byte floats)
ErrorMessage
Error or warning: There was a VTK Error in file: /viz/home/stephens/Kitware/Paraview/paraview-CVS/ParaView/VTK/IO/vtkXMLDataReader.cxx (475)
vtkXMLRectilinearGridReader (190a6598): Cannot read point data array "xEnergy_aaa" from PointData in piece 0. The data array in the element may be too short.
ErrorMessage end
I’m working on an sgi.
I am linking against a 64-bit version of vtk and built 64-bit applications (paraview, etc);
64 bit Ids as well) but if vtk uses regular int and not long int for sizes of things
then there’s a 4-byte (32 bit limitation)
then there is a limit on file/array stuff.
that last bit was me rambling to myself but please check my thinking here.
let me know.
-m
ps: I’ve been told that out support contract issues have been resolved and we are back in kitware’s good graces.