Uh oh!
There was an error while loading. Please reload this page.
deprecate open_zarr - #7496
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Illviljan
commented
Jan 31, 2023
It would be nice to have a good copy/paste example for open_dataset. For example I think |
jhamman
commented
Jan 31, 2023
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com>
Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com>
shoyer
commented
Feb 1, 2023
I like So personally I would rather go the other direction and add The inconsistency in the |
rabernat
commented
Feb 1, 2023
It is true that Xarray is now becoming very different from pandas in how it opens data. |
weiji14
commented
Feb 19, 2023
There was some discussion on whether Also, quite a few people were in favour of keeping |
krokosik
commented
Sep 21, 2023
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? |
max-sixty
commented
Sep 22, 2023
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!) |
krokosik
commented
Sep 24, 2023
I see, thank you for explaining. It does sound better, considering that |
max-sixty
commented
Oct 27, 2023
jhamman
commented
Mar 20, 2025
This never made it in. Closing as I think the conclusion here is that folks like |
This PR deprecates
open_zarrin favor ofopen_dataset(..., engine='zarr').whats-new.rstapi.rst