Skip to content

Use zarr-python default open mode when opening arrays #10430

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dstansby
Copy link
Contributor

This is an experimental PR, aimed a fixing errors in the upstream CI (e.g., see https://github.com/pydata/xarray/actions/runs/15646254224/job/44084198866) caused by (the unreleased) zarr-developers/zarr-python#3068.

Instead of defaulting to opening an array with mode='r', if not specified this defers choice of the mode to the default in zarr-python. In zarr-python 3 the default is mode='a', which avoids issues around requesting a read-only array from a writeable store.

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

Successfully merging this pull request may close these issues.

1 participant