Skip to content

Commit 27b6268

Browse files
authored
Merge pull request #135 from NCAR/file_emb
File emb
2 parents 8b289ab + eb15ff7 commit 27b6268

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Please read the contributor guide here:
2+
3+
https://wrf-python.readthedocs.io/en/latest/contrib.html
4+

doc/source/_templates/product_table.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@
8383
| | | | |
8484
| | | atm | |
8585
+--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
86+
| T2 | 2m Temperature | K | |
87+
+--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
8688
| ter | Model Terrain Height | m | **units** (str) : Set to desired units. Default is *'m'*. |
8789
| | | | |
8890
| | | km | |

doc/source/plot.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ make use of xarray's builtin plotting functions, since additional work is most
77
likely needed to extend xarray in order to work correctly. This is planned
88
for a future release.
99

10+
A subset of the wrfout file used in these examples can be downloaded `here <https://doi.org/10.5065/yd8c-hm41>`_.
11+
1012
Matplotlib With Cartopy
1113
-------------------------
1214

@@ -819,4 +821,3 @@ terrain filled.
819821
ax_cross.set_title("Cross-Section of Reflectivity (dBZ)", {"fontsize" : 14})
820822
821823
pyplot.show()
822-

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)