From d7d8329675cc075f6d7323c1fdaa5648ee304773 Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Wed, 2 Dec 2015 15:07:34 -0700 Subject: [PATCH] Fix decorator problem with algorithm unit type. --- wrf_open/var/src/python/wrf/var/slp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrf_open/var/src/python/wrf/var/slp.py b/wrf_open/var/src/python/wrf/var/slp.py index 4075715..be92438 100755 --- a/wrf_open/var/src/python/wrf/var/slp.py +++ b/wrf_open/var/src/python/wrf/var/slp.py @@ -5,7 +5,7 @@ from wrf.var.decorators import convert_units __all__ = ["get_slp"] -@convert_units("pressure", "pa") +@convert_units("pressure", "hpa") def get_slp(wrfnc, units="hpa", timeidx=0): t = wrfnc.variables["T"][timeidx,:,:,:]