openPMD / openPMD-api

:floppy_disk: C++ & Python API for Scientific I/O
https://openpmd-api.readthedocs.io
GNU Lesser General Public License v3.0
142 stars 51 forks source link

ParaView (5.9): Gracefully ignore picongpu_idProvider #968

Open ax3l opened 3 years ago

ax3l commented 3 years ago

PIConGPU at the moment "mis-uses" fields to store the RNG metrix generator states via picongpu_idProvider for checkpoints.

We could try to handle this more graceful (ignore) in the ParaView (5.9) plugin. https://gitlab.kitware.com/paraview/paraview/-/blob/v5.9.0/Wrapping/Python/paraview/algorithms/openpmd.py

Example data set: https://github.com/openPMD/openPMD-example-datasets/pull/14

ax3l commented 2 years ago

The id provider can be de-selected in the GUI in paraview at read-time, so it's not blocking the usage.

franzpoeschel commented 2 years ago

Long-term solution for this is going to be the introduction of custom (non-standard) groups in the openPMD hierarchy similar to custom attributes. That's going to require some redesign in our frontend, but it's an issue that has come up several times now. Until then, deselecting the "mesh" in Paraview is a good workaround.