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

Crush warning about ds.dims deprecation #718

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

jbusecke
Copy link
Contributor

Got a bunch of these:

 FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.

Hopefully this will be an easy fix

@norlandrhagen
Copy link
Contributor

Does this cover this @jbusecke ?

@jbusecke jbusecke closed this Mar 27, 2024
@jbusecke jbusecke reopened this Mar 27, 2024
@jbusecke
Copy link
Contributor Author

Actually I think this PR removes use of ds.dims globally (there are a few occasions where it is used).

@jbusecke
Copy link
Contributor Author

but still sorry for not checking before.

@norlandrhagen norlandrhagen merged commit fe03650 into pangeo-forge:main Mar 28, 2024
12 checks passed
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