Skip to content

Commit

Permalink
one more celsius alias (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian authored Jan 22, 2022
1 parent 29a0a6e commit e240e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf_xarray/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def repl(m):
units.define("year = 365.25 * day = yr")

# Define commonly encountered units not defined by pint
units.define("@alias degC = C = deg_C")
units.define("@alias degC = C = deg_C = degrees_Celsius")
units.define("@alias degK = deg_K")
units.define("@alias day = d")
units.define("@alias hour = h") # Not the Planck constant...
Expand Down

0 comments on commit e240e51

Please sign in to comment.