no fields are rendered after opening OpenPMD file

I opened an OpenPMD file in Paraview 5.13.1 on MacOS Sequoia 15.0.1, but nothing is rendered (no box representing the simulation volume). I also don’t see any options to change the coloring of the geometry representation to that of any of the fields that it lists in the reader:

This can be reproduced with the attached files, by opening the “paraview.pmd” file:
openpmd_test_files.tar.gz (321.0 KB)

I confirm that ParaView open the file as an empty files without any points or cells.

More investigation is needed in order to figure out if this is an issue in the file or in the reader.

@mwestphal This is a regression between Paraview 5.12.1 and 5.13.0. It works in the former version, and displays the above behavior in the latter.

I can also open the *.bp file directly with the ADIOS2 image reader in all versions 5.12.1-5.13.1. I think it’s a Paraview bug.

Maybe @ayenpure or @AxelHuebl has some idea of what changed in the openPMD file that might explain this behavior?

We did a bunch of new additions to the openPMD reader over the last couple months to support different data layouts supported by the openPMD API. I suspect some of it might have broken existing functionality from 5.12.1. I’ll investigate this.

Issue identified: Since we did not fully support AMR grids using the openPMD reader, in the last iteration of updates we skipped all arrays whose variable names contain _lvl. This was done because the openPMD reader crashed when there were arrays with different shapes becase of different levels of refinement. As a side effect, the feature the data that was previously possible to load will break. If you’re interested I can send a python drop-in replacement to get around the issue until we implement full AMR support in the near future.

Yes, please send a patch. That would be very helpful, thanks!

@ayenpure Can my test data that includes _lvl-named fields be added to the test suite? That would avoid a lot of headaches in the future.

@BenWibking Can you tell me if you’re building ParaView or downloading pre-built binaries?
Also, are you using Linux of MacOS if using binaries?

It would be ideal for the openPMD reader to have a test but currently we don’t have one.
I’m not certain if ParaView has tests for python plugins, @cory.quammen is this true?

I’m using the pre-built binaries on macOS. I typically build Paraview using Spack on Linux. It would be great if you could add a patch to the Spack package.

@ayenpure Can you send a patch to workaround this issue?