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" alias #336

Merged
merged 1 commit into from
May 3, 2022
Merged

Conversation

bzah
Copy link
Contributor

@bzah bzah commented May 3, 2022

This PR adds "Celsius" as a valid alias for the standard "celsius".
This happens in some instance of E-OBS datasets: https://climexp.knmi.nl/showmetadata.cgi?field=ensembles_025_tg_mo&id=someone@somewhere

It is a backport from xclim units update: Ouranosinc/xclim#1068 as suggest by the maintainer in the dedicated issue.

On some instance of E-OBS dataset, the "units" is Celsius instead of the standard "celsius".
@dcherian
Copy link
Contributor

dcherian commented May 3, 2022

Nice thanks!

@dcherian dcherian merged commit f24c1c3 into xarray-contrib:main May 3, 2022
@bzah bzah deleted the enh/add_Celsius_alias branch May 3, 2022 12:54
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.

2 participants