We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cce6a0 commit 3cadd53Copy full SHA for 3cadd53
xarray/namedarray/core.py
@@ -821,6 +821,12 @@ def chunk(
821
822
data_old = self._data
823
if is_chunked_array(data_old):
824
+ print(f"problematic chunks = {chunks}")
825
+ # if is_dict_like(chunks) and chunks != {}:
826
+ # chunks = tuple(chunks.get(n, s) for n, s in enumerate(data_old.shape)) # type: ignore[assignment]
827
+
828
+ print(f"hopefully normalized chunks = {chunks}")
829
830
# Assume any chunked array supports .rechunk - if it doesn't then at least a clear AttributeError will be raised.
831
# Deliberately don't go through the chunkmanager so as to support chunked array types that don't need all the special computation methods.
832
# See GH issue #8733
0 commit comments