[Paraview] Creating structured grid from CSV matrix - error

Karl König kkoenig11 at web.de
Wed Feb 18 04:34:07 EST 2015


Lester,

> 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:
> [...]
> The input table must have exactly 7579556 rows. Currently it has
> 7287868 rows.

7579556 = 722 x 362 x 29

I am sure you already see where this is going.
Your extents should instead read:

 X: 0 720
 Y: 0 360
 Z: 0 27

Karl



Lester Anderson schrieb am 18.02.2015 um 10:12:
> 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.
> [...]
> 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



More information about the ParaView mailing list