What is your issue?
Recently, a pure Python HDF5 file reader "pyfive" has become available as a backend for h5netcdf, making h5py optional.
However, xarray still needs h5py (and seems to assume it is available if h5netcdf is installed).
xarray uses h5py in only a few places for checking dtypes.
The pyfive equivalent function for this is pyfive.h5t.check_dtype (replacing h5py.check_dtype).
The following function is also used;
h5py.special_dtype(vlen=str)
which does not have a pyfive equivalent, but will always evaluate to;
np.dtype('O', metadata={'vlen': str})
What is your issue?
Recently, a pure Python HDF5 file reader "pyfive" has become available as a backend for h5netcdf, making
h5pyoptional.However, xarray still needs h5py (and seems to assume it is available if h5netcdf is installed).
xarray uses h5py in only a few places for checking dtypes.
The pyfive equivalent function for this is
pyfive.h5t.check_dtype(replacingh5py.check_dtype).The following function is also used;
which does not have a pyfive equivalent, but will always evaluate to;