Skip to content

Rechunking error when saving a queried raster element #478

@LucaMarconato

Description

@LucaMarconato

As reported here, scverse/spatialdata-io#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions