[Paraview] Creating structured grid from CSV matrix - error

Lester Anderson arctica1963 at gmail.com
Wed Feb 18 04:12:40 EST 2015


Hello,

I have tried various options for the model extents to try and get the data
loaded and it keeps generating errors for the wrong number of rows. The
data comprise X, Y, Z, value - all as .csv format: the table loads fine and
looks correct in the view.

Using Paraview v4.0.1 64-bit (Windows 7)

Xmin/Xmax = -180/180 increment (0.5) dimension = 721
Ymin/Ymax = -90/90 increment (0.5) dimension = 361
Zmin/Zmax = -700/-25 increment (25) dimension = 28
Scalar = delta_Vs

>From the above, the matrix should be 721 x 361 x 28 to give the table size
of 7287868, however, pluggin the extents as:
X: 0 721
Y: 0 361
Z: 0 28

Gives the error:

ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\Filters\General\vtkTableToStructuredGrid.cxx,
line 97
vtkPTableToStructuredGrid (0000000009AA0140): The input table must have
exactly 7579556 rows. Currently it has 7287868 rows.

ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx,
line 754
vtkPVCompositeDataPipeline (000000000A213AB0): Algorithm
vtkPTableToStructuredGrid(0000000009AA0140) returned failure for request:

vtkInformation (000000000A284350)
  Debug: Off
  Modified Time: 235800
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: 0
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1

ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\Filters\General\vtkTableToStructuredGrid.cxx,
line 97
vtkPTableToStructuredGrid (0000000009AA0140): The input table must have
exactly 7579556 rows. Currently it has 7287868 rows.


ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx,
line 754
vtkPVCompositeDataPipeline (000000000A213AB0): Algorithm
vtkPTableToStructuredGrid(0000000009AA0140) returned failure for request:

vtkInformation (0000000009FE1B40)
  Debug: Off
  Modified Time: 238292
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: 0
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1

ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\Filters\General\vtkTableToStructuredGrid.cxx,
line 97
vtkPTableToStructuredGrid (0000000009AA0140): The input table must have
exactly 7579556 rows. Currently it has 7287868 rows.


ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx,
line 754
vtkPVCompositeDataPipeline (000000000A213AB0): Algorithm
vtkPTableToStructuredGrid(0000000009AA0140) returned failure for request:

vtkInformation (0000000009FE1B40)
  Debug: Off
  Modified Time: 238322
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: 0
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1

Warning: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\DataModel\vtkDataObject.cxx,
line 525
vtkTable (000000000957FA50): Attempted to ShallowCopy from null.

I am not sure where the program is getting the matrix size as 7579556 rows
when the loaded spreadsheet has 7287868 rows.

Any help or pointers as to what I am doing wrong here would be great.

Cheers

Lester
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150218/8d5ab9fb/attachment.html>


More information about the ParaView mailing list