Hdf5 and vtkhdf checkpoint

In io4dolfinx, there is the possibility to checkpoint a mesh with hdf5 backend. In dolfinx main repo, vtkhdf can also be used to write solution files, even if some work is still in progress (e.g. Improvements to VTKHDF format I/O · Issue #3582 · FEniCS/dolfinx · GitHub). Would it make sense to expose also some hdf5 compression options in the api? This could help in reducing the required storage for long time series or huge meshes.

Mattia

Please add it to an issue in DOLFINx or IO4DOLFINx so I don’t forget it. I think it could be added with a patch to backend args:

What specific compression options did you have in mind?

Ok, I opened the issue support hdf5 compression · Issue #96 · scientificcomputing/io4dolfinx · GitHub in io4dolfinx. I was thinking at classic gzip, but others could be interesting (HDF5: HDF5 Filters). For gzip compression, those options could be compression level and chunk size for example.

Mattia