-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
deprecate open_zarr #7496
base: main
Are you sure you want to change the base?
deprecate open_zarr #7496
Conversation
It would be nice to have a good copy/paste example for open_dataset. For example I think |
Co-authored-by: Illviljan <[email protected]>
Co-authored-by: Illviljan <[email protected]>
I like So personally I would rather go the other direction and add The inconsistency in the |
It is true that Xarray is now becoming very different from pandas in how it opens data. |
There was some discussion on whether Also, quite a few people were in favour of keeping |
As a frequent Zarr user I would vote in favor of deprecating |
Personal view — I find
I agree — though we could fix that... |
Yeah, we could fix it, but my point is that having two for opening zarr files raises more issues and requires extra work, while the only benefit I can see is a bit shorter syntax. Some other issue: #8095. |
Yes, definitely agree... Not sure how to turn that into a decision — maybe "soft-deprecate" That worked well for |
I don't have much experience on handling such things, as I'm fairly new to collaborating and maintaining an open source project. Sounds good to me, altough I don't see why we wouldn't want to add the deprecation warning? |
The logic is that if we're not confident / don't have consensus on the best final state, we can take a small step without committing to anything, and then make another assessment later with more experience. By de-emphasizing the function from the docs, we reduce the number of new uses, without causing noisy warnings to show up for folks already it. Then we can assess in the future if we properly depreciate & eventually remove it. Or if the feedback is that the function is useful, we can revert. Otherwise I worry we're not going to get consensus, and so not going to move forward with making any changes. (But this is just my idea, I'm one of many, we should do whatever the aggregate view is!) |
I see, thank you for explaining. It does sound better, considering that |
This PR deprecates
open_zarr
in favor ofopen_dataset(..., engine='zarr')
.whats-new.rst
api.rst