You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This worked with version 2024.9.0, but with version 2024.10.0 and up, I get the following error:
Traceback (most recent call last):
File "/exec/jlavoie/.conda/xscen-dev/lib/python3.12/site-packages/IPython/core/interactiveshell.py", line 3577, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-37-1d0e2ad48247>", line 4, in <module>
array_plan = rechunk(
^^^^^^^^
File "/exec/jlavoie/.conda/xscen-dev/lib/python3.12/site-packages/rechunker/api.py", line 303, in rechunk
copy_spec, intermediate, target = _setup_rechunk(
^^^^^^^^^^^^^^^
File "/exec/jlavoie/.conda/xscen-dev/lib/python3.12/site-packages/rechunker/api.py", line 447, in _setup_rechunk
variable_encoding = extract_zarr_variable_encoding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/exec/jlavoie/.conda/xscen-dev/lib/python3.12/site-packages/xarray/backends/zarr.py", line 473, in extract_zarr_variable_encoding
chunks = _determine_zarr_chunks(
^^^^^^^^^^^^^^^^^^^^^^^
File "/exec/jlavoie/.conda/xscen-dev/lib/python3.12/site-packages/xarray/backends/zarr.py", line 329, in _determine_zarr_chunks
for zchunk, dchunks, interval, size in zip(
^^^^
TypeError: 'NoneType' object is not iterable
Note that if I don't write ds1 to disk, there is no error.
The text was updated successfully, but these errors were encountered:
It looks like rechunker was broken by new versions of xarray for rechunking zarr written to disk.
Minimal working example:
This worked with version 2024.9.0, but with version 2024.10.0 and up, I get the following error:
Note that if I don't write ds1 to disk, there is no error.
The text was updated successfully, but these errors were encountered: