From a1b97c2ed19567d245fadeafb7f6bf932617d166 Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Wed, 3 Apr 2019 15:59:40 -0600 Subject: [PATCH 1/7] Create CONTRIBUTING.md --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 CONTRIBUTING.md 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 + From f01f615788d7ee6aeee99b874a4a945f91780d4b Mon Sep 17 00:00:00 2001 From: Isaac Rowe Date: Fri, 7 Aug 2020 13:02:32 -0400 Subject: [PATCH 2/7] Added T2 to list of diagnostics supported by getvar. Closes #122 --- doc/source/_templates/product_table.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/_templates/product_table.txt b/doc/source/_templates/product_table.txt index 2ecc5f1..808c079 100644 --- a/doc/source/_templates/product_table.txt +++ b/doc/source/_templates/product_table.txt @@ -107,6 +107,8 @@ +--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | tc | Temperature in Celsius | degC | | +--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ +| T2 | 2m Temperature | K | | ++--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | th/theta | Potential Temperature | K | **units** (str) : Set to desired units. Default is *'K'*. | | | | | | | | | degC | | From 5860f611be366c10e93c590e47ce66254cc7d735 Mon Sep 17 00:00:00 2001 From: Isaac Rowe Date: Tue, 25 Aug 2020 16:21:44 -0400 Subject: [PATCH 3/7] Move T2 to correct location in table --- doc/source/_templates/product_table.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/_templates/product_table.txt b/doc/source/_templates/product_table.txt index 808c079..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 | | @@ -107,8 +109,6 @@ +--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | tc | Temperature in Celsius | degC | | +--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ -| T2 | 2m Temperature | K | | -+--------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | th/theta | Potential Temperature | K | **units** (str) : Set to desired units. Default is *'K'*. | | | | | | | | | degC | | From 9b043bd9b76c0c6cadba10fa8951774ba6ba4673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20G=C3=A1mez?= Date: Wed, 26 Aug 2020 08:18:30 +0200 Subject: [PATCH 4/7] Correction of the 2nd example in 'interplevel' docstring --- src/wrf/interp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrf/interp.py b/src/wrf/interp.py index 8e7fc57..32b851d 100755 --- a/src/wrf/interp.py +++ b/src/wrf/interp.py @@ -90,7 +90,7 @@ 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") + z = getvar(wrfin, "z", msl=False) pblh = getvar(wrfin, "PBLH") rh_pblh = interplevel(rh, z, pblh) 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 5/7] 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) """ From 10f8a2d840110e0b5b3c55b82810ca06d21ef0c1 Mon Sep 17 00:00:00 2001 From: michaelavs Date: Fri, 5 Feb 2021 13:17:06 -0700 Subject: [PATCH 6/7] Adding link to wrfout file on DASH --- doc/source/plot.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/plot.rst b/doc/source/plot.rst index 6c572e0..b7804eb 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 ------------------------- From eb15ff768603ce2f65143bd923786ad1c4ca7ec2 Mon Sep 17 00:00:00 2001 From: Michaela Sizemore <43652875+michaelavs@users.noreply.github.com> Date: Fri, 12 Feb 2021 10:44:01 -0700 Subject: [PATCH 7/7] Update doc/source/plot.rst --- doc/source/plot.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/plot.rst b/doc/source/plot.rst index b7804eb..fb69a7f 100644 --- a/doc/source/plot.rst +++ b/doc/source/plot.rst @@ -7,7 +7,7 @@ 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 `. +A subset of the wrfout file used in these examples can be downloaded `here `_. Matplotlib With Cartopy ------------------------- @@ -821,4 +821,3 @@ terrain filled. ax_cross.set_title("Cross-Section of Reflectivity (dBZ)", {"fontsize" : 14}) pyplot.show() -