Skip to content

Conversation

@jsignell
Copy link
Member

@jsignell jsignell commented Dec 12, 2025

This PR makes the handling of chunks="auto" consistent between open_zarr and open_dataset(..., engine="zarr").

The handling of chunks still differs in open_zarr vs open_dataset(..., engine="zarr") in that the default in open_zarr is to use chunks={} and a chunk manager (aka dask) when available in your env. And in open_dataset the default is to use chunks=None (aka no chunks).

@github-actions github-actions bot added topic-backends topic-zarr Related to zarr storage library io labels Dec 12, 2025
@jsignell jsignell self-assigned this Dec 12, 2025
@jsignell jsignell marked this pull request as ready for review December 12, 2025 19:10
@jsignell jsignell requested review from dcherian and slevang December 17, 2025 18:57
Co-authored-by: Justus Magin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

io topic-backends topic-zarr Related to zarr storage library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent chunking between xr.open_zarr and xr.open_dataset(..., engine='zarr') with chunks="auto"

4 participants