Skip to content

Commit

Permalink
Fix chunk arguments for normalize_chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Oct 31, 2024
1 parent 7f94df0 commit cddc22a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rioxarray/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=tuple(c for c in block_shape),
)
token_filename = filename
if bidx is not None:
Expand Down

0 comments on commit cddc22a

Please sign in to comment.