spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

Check for regular chunks before writing

Open LucaMarconato opened this issue 11 months ago • 0 comments

If chunks are irregular (for instance we had problems due to this previous bug https://github.com/scverse/spatialdata/issues/821), an error is raised upon saving. We could catch this possible error early by moving the code to check for regular chunks (it's a private function from dask.array, see here https://github.com/scverse/spatialdata/pull/861) into RasterModel.validate().

LucaMarconato avatar Feb 04 '25 18:02 LucaMarconato