From c41b7047243117aa613ac4d82340234c1f9af1dd Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Fri, 1 Feb 2019 14:29:40 -0700 Subject: [PATCH] PEP 8 --- src/wrf/g_geoht.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wrf/g_geoht.py b/src/wrf/g_geoht.py index eb0b841..7eba862 100755 --- a/src/wrf/g_geoht.py +++ b/src/wrf/g_geoht.py @@ -391,15 +391,15 @@ def get_stag_height(wrfin, timeidx=0, method="cat", squeeze=True, return _get_geoht(wrfin, timeidx, method, squeeze, cache, meta, _key, True, msl, stag=True) - - + + @set_height_metadata(geopt=False, stag=False) @convert_units("height", "m") def get_height_agl(wrfin, timeidx=0, method="cat", squeeze=True, - cache=None, meta=True, _key=None, units="m"): + cache=None, meta=True, _key=None, units="m"): """Return the geopotential height (AGL). - The geopotential height is returned as Above Ground Level (AGL) by + The geopotential height is returned as Above Ground Level (AGL) by subtracting the terrain height. This functions extracts the necessary variables from the NetCDF file @@ -445,7 +445,7 @@ def get_height_agl(wrfin, timeidx=0, method="cat", squeeze=True, purposes only. Default is None. units (:obj:`str`): The desired units. Refer to the :meth:`getvar` - product table for a list of available units for 'height_agl'. + product table for a list of available units for 'height_agl'. Default is 'm'. Returns: