HDFGroup / hdf5-json

Specification and tools for representing HDF5 in JSON
https://hdf5-json.readthedocs.io
Other
73 stars 25 forks source link

Add a command line option to jsontoh5 to specify the library version when creating a file #65

Open ghost opened 6 years ago

ghost commented 6 years ago

Currently every HDF5 file produced with jsontoh5 will use the latest file format, H5F_LIBVER_LATEST: https://github.com/HDFGroup/hdf5-json/blob/develop/h5json/hdf5db.py#L167. This creates a problem for software that still does not use, or never will, the latest version of the HDF5 library.

jsontoh5 should have something like --libver option with either earliest or latest for values. I don't think that h5py yet supports all the new options described here: https://portal.hdfgroup.org/display/HDF5/H5P_SET_LIBVER_BOUNDS.