Browse Source

Fix decorator problem with algorithm unit type.

main
Bill Ladwig 10 years ago
parent
commit
d7d8329675
  1. 2
      wrf_open/var/src/python/wrf/var/slp.py

2
wrf_open/var/src/python/wrf/var/slp.py

@ -5,7 +5,7 @@ from wrf.var.decorators import convert_units @@ -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,:,:,:]

Loading…
Cancel
Save