spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

Rechunking error when saving a queried raster element

Open LucaMarconato opened this issue 1 year ago • 0 comments

As reported here, https://github.com/scverse/spatialdata-io/issues/117 querying a raster element and trying to save it may lead to the following error:

ValueError: Attempt to save array to zarr with irregular chunking, please call `arr.rechunk(...)` first.

A solution is to rechunk the data, I will make a fix for this.

LucaMarconato avatar Mar 13 '24 00:03 LucaMarconato