h5cpp icon indicating copy to clipboard operation
h5cpp copied to clipboard

Further choices for LibVersion

Open FlyingSamson opened this issue 1 year ago • 1 comments

Is there a particular reason for only wrapping H5F_LIBVER_LATEST and H5F_LIBVER_EARLIEST and not the remaining values of H5F_libver_t?

If not, I would be happy to add the remaining (e.g., as V110 = H5F_LIBVER_V110, etc.) and create a PR.

In my particular use case, I would for instance like to ensure large attribute support requiring a minimum of V18, but without restricting the compatibility of the written file to the version of HDF5 that happens to be installed on a system by specifying H5F_LIBVER_LATEST as upper bound.

FlyingSamson avatar May 14 '24 14:05 FlyingSamson

hi @FlyingSamson,

Yes, I agree. It makes sense to add those options. It will be appreciated if you create the PR.

yuelongyu avatar May 15 '24 07:05 yuelongyu

Implemented in #649.

FlyingSamson avatar May 22 '24 07:05 FlyingSamson