View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014816 | ParaView | (No Category) | public | 2014-06-20 19:23 | 2015-06-04 18:28 | ||||
Reporter | Alan Scott | ||||||||
Assigned To | Utkarsh Ayachit | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | git-master | ||||||||
Target Version | Fixed in Version | 4.3 | |||||||
Summary | 0014816: Python calculator doesn't create scalars properly | ||||||||
Description | The python calculator isn't creating per point scalars properly. Here is how to replicate it. * Local server, Linux, 4.1. * Open can.exo. All variables on. Apply. * Just for fun (and clarity), go one timestep forward, and color by ACCL. Now, our goal is to create a maximum ACCL variable for every point. * Python Calculator. Expression is max(ACCL). Apply. Error message is as follows: ERROR: In ...src/ParaView/4.1.0/ParaView4/VTK/Common/DataModel/vtkDataSet.cxx, line 414 vtkUnstructuredGrid (0x72ccc80): Point array result with 1 components, only has 3 tuples but there are 6724 points So, what we really want to do is take this maximum, and create a scalar per point. There is a very poor way to do this - as follows: Expression ((ACCL - ACCL)+1)*max(ACCL) Either this needs to be fixed, or we need a new function, or a checkbox in the Python calculator, or something. | ||||||||
Tags | No tags attached. | ||||||||
Project | Sandia | ||||||||
Topic Name | |||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0033956) Utkarsh Ayachit (administrator) 2014-12-14 12:19 |
This seems to work after the changes to the Python/VTK data processing infrastructure with 4.2. The original expression "max(ACCL)" works as expected -i.e. a new array, "result" is added to the output point-data with the a constant value. |
(0034487) Alan Scott (manager) 2015-06-04 18:28 |
Tested master, Linux, local server. My numpy is messed up remotely, thus can't test remote. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-06-20 19:23 | Alan Scott | New Issue | |
2014-12-14 12:19 | Utkarsh Ayachit | Note Added: 0033956 | |
2014-12-14 12:19 | Utkarsh Ayachit | Status | backlog => gatekeeper review |
2014-12-14 12:19 | Utkarsh Ayachit | Fixed in Version | => git-master |
2014-12-14 12:19 | Utkarsh Ayachit | Resolution | open => no change required |
2014-12-14 12:19 | Utkarsh Ayachit | Assigned To | => Utkarsh Ayachit |
2014-12-14 12:19 | Utkarsh Ayachit | Status | gatekeeper review => customer review |
2015-01-02 10:43 | Utkarsh Ayachit | Fixed in Version | git-master => 4.3 |
2015-06-04 18:28 | Alan Scott | Note Added: 0034487 | |
2015-06-04 18:28 | Alan Scott | Status | customer review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |