From e240e510ec755c3102d203882c359d4938de1bcf Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Fri, 21 Jan 2022 19:22:47 -0700 Subject: [PATCH] one more celsius alias (#299) --- cf_xarray/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf_xarray/units.py b/cf_xarray/units.py index a1c662f5..76f5d335 100644 --- a/cf_xarray/units.py +++ b/cf_xarray/units.py @@ -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...