Skip to content

Commit 92596e2

Browse files
authored
Merge pull request #125 from pgamez/develop
Correction of the 2nd example in 'interplevel' docstring
2 parents 959c0cd + 77b81c4 commit 92596e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wrf/interp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ def interplevel(field3d, vert, desiredlev, missing=default_fill(np.float64),
9090
wrfin = Dataset("wrfout_d02_2010-06-13_21:00:00")
9191
9292
rh = getvar(wrfin, "rh")
93-
z = getvar(wrfin, "z")
93+
height = getvar(wrfin, "height_agl")
9494
pblh = getvar(wrfin, "PBLH")
9595
96-
rh_pblh = interplevel(rh, z, pblh)
96+
rh_pblh = interplevel(rh, height, pblh)
9797
9898
9999
"""

0 commit comments

Comments
 (0)