From 77b81c4aaa1794ca08d7271bb5426c40c40f1954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20G=C3=A1mez?= Date: Thu, 27 Aug 2020 08:33:03 +0200 Subject: [PATCH] Correction of the 2nd example in 'interplevel' docstring. Using diag variable 'height_agl' --- src/wrf/interp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrf/interp.py b/src/wrf/interp.py index 32b851d..e68029b 100755 --- a/src/wrf/interp.py +++ b/src/wrf/interp.py @@ -90,10 +90,10 @@ def interplevel(field3d, vert, desiredlev, missing=default_fill(np.float64), wrfin = Dataset("wrfout_d02_2010-06-13_21:00:00") rh = getvar(wrfin, "rh") - z = getvar(wrfin, "z", msl=False) + height = getvar(wrfin, "height_agl") pblh = getvar(wrfin, "PBLH") - rh_pblh = interplevel(rh, z, pblh) + rh_pblh = interplevel(rh, height, pblh) """