openPMD / openPMD-api

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

Fix hdf5 dataset specific config #1600

Closed franzpoeschel closed 6 months ago

franzpoeschel commented 6 months ago

Follow-up to #1591

That PR has a bug (concerning only the newly added behavior). The global dataset config is buffered in the HDF5 backend, but I accidentally manipulated it upon reading, meaning that the chunking configs can leak into other dataset.

This fixes that.