openPMD / openPMD/openPMD-api

Paraview and VisIt readers read the same dataset differently (and both incorrectly)

Open
#1,709 4 comments 1 reaction 0 assignees View on GitHub
bug third party
Dominant language
C++
Stars
161
Forks
59
Avg merge
2d 22h
Merged PRs (30d)
7

Description

**Describe the bug**
I opened the `example-2d` HDF5 dataset from openpmd-example-datasets (https://github.com/openPMD/openPMD-example-datasets/blob/draft/example-2d.tar.gz) in both Paraview (using the openpmd-api reader with a *.pmd file) and with the OpenPMD Visit reader.

Wrong in VisIt:
* The data layout of the field data appears to be wrong in VisIt.
* The particles do not render at all in VisIt.
* The axes are wrong (should be x-z instead of x-y)

Wrong in Paraview:
* The relative alignment of the field and particle data is wrong:
* The field is plotted in the x-y plane (should be x-z)

Screenshot 2024-12-23 at 3 38 39 PM
Screenshot 2024-12-23 at 3 34 37 PM

**To Reproduce**
Open the `example-2d` dataset in both Paraview and VisIt using their respective OpenPMD readers.

**Expected behavior**
They should be the same!

**Software Environment**
- version of Paraview: 5.13.1
- version of VisIt: 3.4.2

**Additional context**
Each plugin does it own data layout transformation (incorrectly): https://github.com/openPMD/openPMD-api/issues/1708

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.