Skip to content

manually specify chunks in open_zarr #2423

Closed
@rabernat

Description

@rabernat

Currently, open_zarr has two possible chunking behaviors. auto_chunk=True (default) creates dask chunks corresponding with zarr chunks. auto_chunk=False creates no chunks. But what if you want to manually specify the chunks, as with open_dataset(chunks=...). open_zarr could easily support this, but it does not currently.

Note that this is not the same as calling .chunk() post dataset creation. That operation is very inefficient, since it begins from a single global chunk for each variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-zarrRelated to zarr storage library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions