karen, here's a possibility. i haven't done the math for your number of points/cells; but xml files have an inherent size limit. i've seen this error for appended vtk xml files (not ascii as yours are)
i believe it has to do with the size of the offsets. it's a limitation of xml itself. i've use vtkpython scripts on a 64 bit linux machine to write vtk xml files that i can't read with vtk or paraview. which is just wrong. i've asked that the xml writers take a look at what's being written and at least send a warning that the file violates this xml limit. hasn't happened yet. just a thought. -m -----Original Message----- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Karen Lee Sent: Monday, September 21, 2009 4:08 PM To: paraview@paraview.org Subject: [Paraview] error message Dear paraview developers and users, I got this error when I attempted to open a .vtu file: ERROR: In /Users/berk/Work/ReleaseBuilds/ParaView3/VTK/IO/vtkXMLDataReader.cxx, line 502 vtkXMLUnstructuredGridReader (0x19373cb0): Cannot read point data array "rho" from PointData in piece 0. The data array in the element may be too short. ERROR: In /Users/berk/Work/ReleaseBuilds/ParaView3/VTK/IO/vtkXMLDataReader.cxx, line 502 vtkXMLUnstructuredGridReader (0x193f8e00): Cannot read point data array "|E|" from PointData in piece 0. The data array in the element may be too short. ERROR: In /Users/berk/Work/ReleaseBuilds/ParaView3/VTK/IO/vtkXMLDataReader.cxx, line 502 vtkXMLUnstructuredGridReader (0x19328870): Cannot read point data array "|E|" from PointData in piece 0. The data array in the element may be too short. ERROR: In /Users/berk/Work/ReleaseBuilds/ParaView3/Servers/Filters/vtkTransferFunctionE ditorWidgetSimple1D.cxx, line 1246 vtkTransferFunctionEditorWidgetSimple1D (0x178c99d0): Cannot move a transfer function node horizontally past the ones on either side of it. ERROR: In /Users/berk/Work/ReleaseBuilds/ParaView3/VTK/Filtering/vtkColorTransferFuncti on.cxx, line 1105 vtkColorTransferFunction (0x262505d0): Index out of range! ERROR: In /Users/berk/Work/ReleaseBuilds/ParaView3/VTK/IO/vtkXMLDataReader.cxx, line 502 vtkXMLUnstructuredGridReader (0x26251870): Cannot read point data array "rho" from PointData in piece 0. The data array in the element may be too short. I guess it's all the same error. I have some working files from before and I created this file from the same script. I have checked the number of points and the number of elements literally more than 5 or 6 times, and I have no idea why it would give me ths kind of error... My file is huge so I won't sent it, but it looks roughly like this: <?xml version="1.0"?> <VTKFile type="UnstructuredGrid"> <UnstructuredGrid> <Piece NumberOfPoints="6225340" NumberOfCells="4980272" > <Points> <DataArray type="Float32" NumberOfComponents="3"> -0.101 -0.0184 -0.0834 -0.088 -0.05915 -0.1417 -0.050499994 -0.00920002 -0.1417 ... x y z coordinates, 6225340 of these numbers in total </DataArray> </Points> <Cells> <DataArray type="Int32" Name="connectivity"> 1 4 7 2 2 1 6 7 2 6 8 7 7 2 4 8 6 2 0 1 .... (lists of elements, 4980272 of these in total, and starting from 0 for node indexing like I did in the other files that opened fine.) </DataArray> <DataArray type="Int32" Name="offsets"> 4 8 12 ..., number of these is 4980272 </DataArray> <DataArray type="UInt8" Name="types"> 10 10 10 ... (4980272 copies of "10") </DataArray> </Cells> <PointData Scalars="rho" > <DataArray type="Float32" Name="rho"> 1.2663767364491398E-10 6.45082075320499E-11 ... (number of data entries = number of nodes = 6225340) </DataArray> </PointData> </Piece> </UnstructuredGrid> </VTKFile> Could the problem be that the file is too large? I'm running on a Macpro with 16 GB's of RAM, and it's a 2 x 2.26GHz quad-core Intel Xeon processor. Any help would be greatly appreciated! Thanks, Karen _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview