View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009869 | ParaView | Bug | public | 2009-11-09 11:05 | 2011-09-01 13:31 | ||||
Reporter | Ken Moreland | ||||||||
Assigned To | Robert Maynard | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | 3.8 | Fixed in Version | 3.12 | ||||||
Summary | 0009869: Arrays of type char should be converted to ASCII numbers when written to CSV file | ||||||||
Description | When writing a CSV file from a data set with an array of type char, the character itself is written out the the ASCII CSV file. However, this assumes that the char values are used as actual characters, which is seldom the case. More often, these values are simply bytes often used as flags. Thus, the values have little meaning when viewed as an ASCII character and often do not fall in the region of common visible ASCII characters. Instead, the CSV writer should write out an ASCII representation of the numbers stored in the char array rather than the characters themselves. As an example, create a plot with the Plot Over Line filter and then write out the results as a CSV file. You will notice that there is a column called vtkValidPointMask. The entries in this column are unreadable because it contains a bunch of characters without a valid ASCII representation. Instead, these values should have been converted to numbers (like 0 and 1) so that you can read it and it will be read back into ParaView as numeric values. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Topic Name | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0020098) Robert Maynard (developer) 2010-04-07 15:02 |
Handles vtkCharArrays as integers. /cvsroot/ParaView3/ParaView3/Servers/Filters/vtkCSVWriter.cxx,v <-- vtkCSVWriter.cxx new revision: 1.11; previous revision: 1.10 |
(0020319) Alan Scott (manager) 2010-04-20 19:37 |
Tested local client, trunk, windows. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-11-09 11:05 | Ken Moreland | New Issue | |
2010-04-07 13:48 | Utkarsh Ayachit | Status | backlog => tabled |
2010-04-07 13:48 | Utkarsh Ayachit | Assigned To | => Robert Maynard |
2010-04-07 15:02 | Robert Maynard | Note Added: 0020098 | |
2010-04-07 15:02 | Robert Maynard | Status | tabled => @80@ |
2010-04-07 15:02 | Robert Maynard | Resolution | open => fixed |
2010-04-07 15:02 | Robert Maynard | Fixed in Version | => Development |
2010-04-20 19:37 | Alan Scott | Note Added: 0020319 | |
2010-04-20 19:37 | Alan Scott | Status | @80@ => closed |
2010-05-05 09:47 | Ken Moreland | Relationship added | related to 0010673 |
2011-09-01 13:31 | Utkarsh Ayachit | Fixed in Version | Development => 3.12 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |