You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The E-OBS datasets sometimes uses "Celsius" unit. It is not the standard way of writing this unit and therefore is not accepted by xclim due to the capitalized 'C'.
As it is seems to be a commonly used datasets, I would like to add "Celsius" in the pint unit registry.
Proposed changed
In units.py, update the corresponding alias to units.define("@alias degC = C = deg_C = Celsius")
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
I agree with this. You might want to also open an issue/PR in cf-xarray. Our goal is to upstream the unit handling there when some issues about formatting are solved. But if they don't want to include, we can always add the alias here.
Generic Issue
Description
The E-OBS datasets sometimes uses "Celsius" unit. It is not the standard way of writing this unit and therefore is not accepted by xclim due to the capitalized 'C'.
As it is seems to be a commonly used datasets, I would like to add "Celsius" in the pint unit registry.
Proposed changed
In units.py, update the corresponding alias to
units.define("@alias degC = C = deg_C = Celsius")
Code of Conduct
The text was updated successfully, but these errors were encountered: