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

Enh: Add Celsius #1068

Merged
merged 3 commits into from
May 3, 2022
Merged

Enh: Add Celsius #1068

merged 3 commits into from
May 3, 2022

Conversation

bzah
Copy link
Contributor

@bzah bzah commented May 3, 2022

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features)
    • (If applicable) Documentation has been added / updated (for bug fixes / features)
  • HISTORY.rst has been updated (with summary of main changes)
    • Link to issue (:issue:number) and pull request (:pull:number) has been added
  • bumpversion patch has been called on this branch
  • The relevant author information has been added to .zenodo.json

What kind of change does this PR introduce?

Add "Celsius" as a alias for "celsius" in pint registry.

Does this PR introduce a breaking change?

No

Other information:

I did the bump manually not using bumpversion but it should be fine.

@bzah
Copy link
Contributor Author

bzah commented May 3, 2022

I just saw that cf-xarray has added "degrees_Celsius" as another alias. It would not cost much to add it as well.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 91.605% when pulling a3eb7b1 on enh/Celsius_unit into 4c8507f on master.

@aulemahal aulemahal merged commit 6f51e7a into master May 3, 2022
@aulemahal aulemahal deleted the enh/Celsius_unit branch May 3, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request standards / conventions Suggestions on ways forward
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Celsius" to pint registry
4 participants