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

make sure re-quantifying dimension coordinates works #174

Merged
merged 6 commits into from Jun 23, 2022

Conversation

keewis
Copy link
Collaborator

@keewis keewis commented Jun 22, 2022

Now that we use call_on_dataset the call does not fail because of xarray, but because we pass a Unit object to parse_units. This PR fixes that and adds tests to make sure it stays that way.

I also tightened the restriction on dimension coordinates, as it was possible to change their units by re-quantifying. For #47 we might want to partially lift this restriction again.

@keewis
Copy link
Collaborator Author

keewis commented Jun 23, 2022

I'll merge this now and add a PR to close #47 this week-end

@keewis keewis merged commit d73e881 into xarray-contrib:main Jun 23, 2022
@keewis keewis deleted the fix-quantify-dimension-coords branch June 23, 2022 21:35
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.

error when quantifying a dimension
1 participant