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

Improve safe chunk validation #9559

Merged
merged 23 commits into from
Sep 30, 2024

Conversation

josephnowak
Copy link
Contributor

@josephnowak josephnowak commented Sep 30, 2024

This PR fix the error reported on #9557, it was an issue with the way that I tried to detect if the region was covering the last chunk

josephnowak and others added 22 commits September 18, 2024 08:19
…unk and raise a proper error based on the mode selected, it is also possible to use the auto region detection with the mode "a"
…ameter in order on the extract_zarr_variable_encoding method, raise the correct error if the border size is smaller than the zchunk on mode equal to r+
…ameter in order on the extract_zarr_variable_encoding method, raise the correct error if the border size is smaller than the zchunk on mode equal to r+
…nto improve-safe-chunk-validation

# Conflicts:
#	xarray/tests/test_backends.py
@max-sixty
Copy link
Collaborator

Thank you for the very fast fix @josephnowak !

@max-sixty max-sixty merged commit 095d47f into pydata:main Sep 30, 2024
29 checks passed
@shoyer
Copy link
Member

shoyer commented Sep 30, 2024

Thanks Joseph! I've confirmed that this has fixd the Xarray-Beam issue.

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

Successfully merging this pull request may close these issues.

3 participants