Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Chunking refactor #4595

Closed
wants to merge 21 commits into from
Closed

WIP: Chunking refactor #4595

wants to merge 21 commits into from

Conversation

aurghs
Copy link
Collaborator

@aurghs aurghs commented Nov 19, 2020

This work aims to harmonize the way zarr deals with chunking to have similar behavior for all other backends and unify the code.
Most of the changes involve the new API, apiv2.py, except for some changes in the code that has been added with the merge of #4187.

main changes:

nedded separate pull request for the following missing points:

  • standardize the key in encodings to define the on-disk chunks: chunksizes

  • add a specific key in encodings for preferred chunking (currently it is used chunks)

  • Related Flexible backends - Harmonise zarr chunking with other backends chunking #4496

  • Tests added

  • Passes isort . && black . && mypy . && flake8

  • User visible changes (including notable bug fixes) are documented in whats-new.rst

  • New functions/methods are listed in api.rst

@@ -1855,17 +1907,22 @@ def chunk(
-------
chunked : xarray.Dataset
"""
if chunks is None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reminder to update the docstring here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants