diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..927046c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,4 @@ +Please read the contributor guide here: + +https://wrf-python.readthedocs.io/en/latest/contrib.html + diff --git a/doc/source/_templates/product_table.txt b/doc/source/_templates/product_table.txt index 2ecc5f1..2fad6fb 100644 --- a/doc/source/_templates/product_table.txt +++ b/doc/source/_templates/product_table.txt @@ -83,6 +83,8 @@ | | | | | | | | atm | | +--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ +| T2 | 2m Temperature | K | | ++--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | ter | Model Terrain Height | m | **units** (str) : Set to desired units. Default is *'m'*. | | | | | | | | | km | | diff --git a/doc/source/plot.rst b/doc/source/plot.rst index 6c572e0..fb69a7f 100644 --- a/doc/source/plot.rst +++ b/doc/source/plot.rst @@ -7,6 +7,8 @@ make use of xarray's builtin plotting functions, since additional work is most likely needed to extend xarray in order to work correctly. This is planned for a future release. +A subset of the wrfout file used in these examples can be downloaded `here `_. + Matplotlib With Cartopy ------------------------- @@ -819,4 +821,3 @@ terrain filled. ax_cross.set_title("Cross-Section of Reflectivity (dBZ)", {"fontsize" : 14}) pyplot.show() - diff --git a/src/wrf/interp.py b/src/wrf/interp.py index 8e7fc57..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") + height = getvar(wrfin, "height_agl") pblh = getvar(wrfin, "PBLH") - rh_pblh = interplevel(rh, z, pblh) + rh_pblh = interplevel(rh, height, pblh) """