View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013961 | ParaView | (No Category) | public | 2013-03-22 14:46 | 2013-03-22 18:56 | ||||
Reporter | Alan Scott | ||||||||
Assigned To | Alan Scott | ||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | git-master | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013961: TableToPoints filter and TableToStructuredGrid scalars broken | ||||||||
Description | Table to Points, and Table to Structured Grid are not converting any scalars correctly. I believe this makes the CSV reader pretty useless... Master, Linux or Windows, local server. Put the following into a file named scalarBug.txt: x coord, y coord, z coord, scalar 0, 0, 0, 0 1, 0, 0, 1 0, 1, 0, 2 1, 1, 0, 3 -0.5, -0.5, 1, 4 0.5, -0.5, 1, 5 -0.5, 0.5, 1, 6 0.5, 0.5, 1, 7 * Now, read this file into ParaView using the Delimited Text reader (default). Take default settings. Apply. * Filters/ Alphabetical/ Table to Point filter. X Column == x coord, Y Column == y coord, Z Column == z coord. Apply. * Now, split screen horizontally, and make the new window a 3d window. Turn on visibility of the Table to Point filter. * Change color to "scalar" (which was in the table above). Add a color legend. <<Bug>> The points are not colored properly, and the color legend range will go from -inf to inf (actually, -1e299 to 1e299). The same issue occurs with the Table To Structured Grid filter. Marking high, since I believe this makes the delimited text reader useless. | ||||||||
Tags | No tags attached. | ||||||||
Project | Sandia | ||||||||
Topic Name | |||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0030460) Ken Moreland (manager) 2013-03-22 16:35 |
Could you check the information panel data type the scalars are? When I copied your text into an editor and saved it, there was for some reason an extra space after the 7. That space is (for me) causing the scalars to be strings instead of numbers, and when you try to view strings in a data set you get odd results. If you add a space to the delimiters of the reader or you delete this space, the scalars read as integers and they can be colored correctly. If this is the case, I suggest that there is in fact nothing wrong with the filters. Rather, there are two other problems. (1) The reader is stripping spaces off the beginning of numbers, it should also probably strip spaces off of the end. (2) The 3D view is not behaving properly when you try to view a field of strings (hence the confusion), but I'm not sure what the appropriate behavior is. |
(0030461) Alan Scott (manager) 2013-03-22 18:56 |
This bug has been superseded by 13962, which is correctly labeled as an issue with the reader. I am leaving this one linked to 13962, with Ken's excellent comments that pointed out the root cause. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-03-22 14:46 | Alan Scott | New Issue | |
2013-03-22 14:47 | Alan Scott | Description Updated | |
2013-03-22 14:48 | Alan Scott | Status | backlog => todo |
2013-03-22 16:35 | Ken Moreland | Note Added: 0030460 | |
2013-03-22 18:54 | Alan Scott | Relationship added | related to 0013962 |
2013-03-22 18:56 | Alan Scott | Note Added: 0030461 | |
2013-03-22 18:56 | Alan Scott | Status | todo => closed |
2013-03-22 18:56 | Alan Scott | Assigned To | => Alan Scott |
2013-03-22 18:56 | Alan Scott | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |