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

Open
#65 0 comments 0 reactions 1 assignee View on GitHub

@jreadey is already working on this.

Since Mar 6, 2025.

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Python
Stars
81
Forks
26
Avg merge
55m
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HDFGroup/hdf5-json

All issues in HDFGroup/hdf5-json

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.