View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009870ParaViewBugpublic2009-11-09 11:222011-01-13 17:00
ReporterKen Moreland 
Assigned ToKen Moreland 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.8Fixed in Version 
Summary0009870: CSV reader does not detect columns with non-finite numbers as numeric
DescriptionWhen reading in CSV files, columns with integers and floating point numbers are automatically detected and converted to numeric values so that they may be processed. However, this detection breaks down if the column has non-finite values like NaN (not a number) or INF (infinity). These numbers should be considered floating point values and read in as such.
Additional InformationThis problem has recently become much more serious as the ParaView probe filter now writes out nan's whenever sampling a point outside the mesh or whenever a field is not available. The easiest way to replicate the problem is to use the Plot Over Line filter when the line extends outside of the mesh (which is usually done by simply hitting one of the Axis buttons. (This is how the attached example file was created.) Save out the CSV and note that nan values are written out in the field columns. Read the CSV file back in and see that the field values are now stored in strings.
TagsNo tags attached.
Project
Topic Name
Type
Attached Filescsv file icon nancolumn.csv [^] (2,492 bytes) 2009-11-09 11:22

 Relationships

  Notes
(0018400)
Ken Moreland (manager)
2009-11-12 08:51

/cvsroot/ParaView3/ParaView3/VTK/Common/vtkVariant.cxx,v <-- vtkVariant.cxx
new revision: 1.40; previous revision: 1.39
(0018682)
Alan Scott (manager)
2009-12-02 20:52

Works great! Tested local server.

 Issue History
Date Modified Username Field Change
2009-11-09 11:22 Ken Moreland New Issue
2009-11-09 11:22 Ken Moreland File Added: nancolumn.csv
2009-11-09 18:04 Ken Moreland Status backlog => tabled
2009-11-09 18:04 Ken Moreland Assigned To => Ken Moreland
2009-11-12 08:51 Ken Moreland Note Added: 0018400
2009-11-12 08:51 Ken Moreland Status tabled => @80@
2009-11-12 08:51 Ken Moreland Resolution open => fixed
2009-12-02 20:52 Alan Scott Note Added: 0018682
2009-12-02 20:52 Alan Scott Status @80@ => closed
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709


Copyright © 2000 - 2018 MantisBT Team