[Paraview] [EXTERNAL] problem using CSV table as input

Einat Lev einatlev at ldeo.columbia.edu
Sun Nov 8 20:20:10 EST 2015


Thanks! This helped a lot. 


Einat Lev

Lamont Assistant Research Professor
einatlev at ldeo.columbia.edu
Phone: 845-365-8616
Seismology 223,
61 Route 9W
Palisades, NY
10964 




> On Nov 6, 2015, at 8:39 AM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> 
> Einat,
> 
> I think the problem is partially an issue with the old version of ParaView you are using and partially that you are missing a line in your csv file.
> 
> If you load your csv file in ParaView 4.4.0 and then run "table to structured grid" you get the error, "The input table must have exactly 100 rows. Currently it has 99 rows." Looking more closely at the csv file, it is missing the last line, which should be "1,0.4,0.01,17". If you add that line to the csv file, table to structured grid runs just fine. (At least it runs fine on ParaView 4.4.0. I don't have a version that old handy to try it on.) See the attached screenshot.
> 
> I suspect that your old version of ParaView is crashing because it is not detecting that your table is too short and this problem was fixed in later versions.
> 
> -Ken
> 
> 
> From: ParaView <paraview-bounces at paraview.org <mailto:paraview-bounces at paraview.org>> on behalf of Walter Scott <wascott at sandia.gov <mailto:wascott at sandia.gov>>
> Date: Thursday, November 5, 2015 at 8:29 PM
> To: Einat Lev <einatlev at ldeo.columbia.edu <mailto:einatlev at ldeo.columbia.edu>>, "paraview at paraview.org <mailto:paraview at paraview.org>" <paraview at paraview.org <mailto:paraview at paraview.org>>
> Subject: Re: [Paraview] [EXTERNAL] problem using CSV table as input
> 
> Mind trying a newer version of ParaView?  4.0.1 is a few years old.
>  
> Thanks,
>  
> Alan
>  
> From: ParaView [mailto:paraview-bounces at paraview.org <mailto:paraview-bounces at paraview.org>] On Behalf Of Einat Lev
> Sent: Thursday, November 05, 2015 8:28 PM
> To: paraview at paraview.org <mailto:paraview at paraview.org>
> Subject: [EXTERNAL] [Paraview] problem using CSV table as input
>  
> Hello all!
>  
> I am trying to load a CSV file and convert it to a structured grid plot. It is a very small table, with one attribute per point. I have no problem converting it to points using the “table to points” filter, However, Paraview crashes as soon as I try to run the “table to structured grid” filter. Just before Paraview crashes, it gives the following error message:
>  
> ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 754
> vtkPVCompositeDataPipeline (0x1184a6700): Algorithm vtkPTableToStructuredGrid(0x1184a3cf0) returned failure for request: vtkInformation (0x11ef54ab0)
> Debug: Off
> Modified Time: 135879
> Reference Count: 1
> Registered Events: (none)
> Request: REQUEST_DATA
> FROM_OUTPUT_PORT: 0
> FORWARD_DIRECTION: 0
> ALGORITHM_AFTER_FORWARD: 1
>  
>  
> Warning: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/DataModel/vtkDataObject.cxx, line 525
> vtkTable (0x118419000): Attempted to ShallowCopy from null.
>  
>  
> The CSV table is attached below. Running on a MacbookPro (Yosemite). Paraview version 4.0.1.
>  
> All the best,
> Einat
> Einat Lev
>  
> Lamont Assistant Research Professor
> einatlev at ldeo.columbia.edu <mailto:einatlev at ldeo.columbia.edu>
> Phone: 845-365-8616
> Seismology 223,
> 61 Route 9W
> Palisades, NY
> 10964 
>  
> <ParaView-Table-To-Structured.png>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151108/d26a3efe/attachment.html>


More information about the ParaView mailing list