From 94a80fd051291161289fb810963497f8a78b0651 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler <61934744+phofl@users.noreply.github.com> Date: Fri, 1 Nov 2024 19:30:48 +0100 Subject: [PATCH] BUG: Fix chunk arguments for normalize_chunks (#820) --- rioxarray/_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rioxarray/_io.py b/rioxarray/_io.py index 3de2895e..26efbc3b 100644 --- a/rioxarray/_io.py +++ b/rioxarray/_io.py @@ -929,7 +929,7 @@ def _prepare_dask( chunks=(1, "auto", "auto"), shape=(riods.count, riods.height, riods.width), dtype=_rasterio_to_numpy_dtype(riods.dtypes), - previous_chunks=tuple((c,) for c in block_shape), + previous_chunks=block_shape, ) token_filename = filename if bidx is not None: