spatialdata
spatialdata copied to clipboard
Improve substitute of `rechunk('auto')` after `bounding_box.query`
The workaround implemented here https://github.com/scverse/spatialdata/pull/861/files could be improved with the code suggested here https://github.com/dask/dask/issues/11713#issuecomment-2650873213.
See linked discussion. The bug seems to be addressed on the dask side with 2024.12.0 (not supported by spatialdata because .attrs is missing). Therefore, after we are able to support that version, we can remove the workaround introduced in the linked PR.