With backend h5netcdf and driver h5pyd there are cases when len(var.chunks) > 0
but len(var.dimensions) == 0
#10091
Closed
5 tasks done
Labels
What happened?
I opened a hsds dataset with only a string in it on hsds. It fails with the exception below.
What did you expect to happen?
The dataset would have opened.
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
Running the example requires a running writable hsds server, and the latest (prerelease) h5netcdf package at https://github.com/h5netcdf/h5netcdf . Install with e.g.
Environment
INSTALLED VERSIONS
commit: None
python: 3.12.9 | packaged by conda-forge | (main, Feb 14 2025, 08:00:06) [GCC 13.3.0]
python-bits: 64
OS: Linux
OS-release: 6.8.0-53-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.14.6
libnetcdf: None
xarray: 0.1.dev5847+g0184702
pandas: 2.2.3
numpy: 2.2.3
scipy: None
netCDF4: None
pydap: None
h5netcdf: 0.1.0.dev278+g0622911
h5py: 3.13.0
zarr: None
cftime: None
nc_time_axis: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
fsspec: 2025.2.0
cupy: None
pint: None
sparse: None
flox: None
numpy_groupies: None
setuptools: 75.8.2
pip: 25.0.1
conda: None
pytest: None
mypy: None
IPython: 9.0.0
sphinx: None
The text was updated successfully, but these errors were encountered: