diff --git a/test/plot_tests/d01/avo.png b/test/plot_tests/d01/avo.png new file mode 100644 index 0000000..39857dc Binary files /dev/null and b/test/plot_tests/d01/avo.png differ diff --git a/test/plot_tests/d01/cape_2d.png b/test/plot_tests/d01/cape_2d.png new file mode 100644 index 0000000..e33aee5 Binary files /dev/null and b/test/plot_tests/d01/cape_2d.png differ diff --git a/test/plot_tests/d01/cape_3d.png b/test/plot_tests/d01/cape_3d.png new file mode 100644 index 0000000..c0aef7b Binary files /dev/null and b/test/plot_tests/d01/cape_3d.png differ diff --git a/test/plot_tests/d01/cfrac.png b/test/plot_tests/d01/cfrac.png new file mode 100644 index 0000000..7956e08 Binary files /dev/null and b/test/plot_tests/d01/cfrac.png differ diff --git a/test/plot_tests/d01/ctt.png b/test/plot_tests/d01/ctt.png new file mode 100644 index 0000000..5bcce25 Binary files /dev/null and b/test/plot_tests/d01/ctt.png differ diff --git a/test/plot_tests/d01/dbz.png b/test/plot_tests/d01/dbz.png new file mode 100644 index 0000000..1edb65f Binary files /dev/null and b/test/plot_tests/d01/dbz.png differ diff --git a/test/plot_tests/d01/eth.png b/test/plot_tests/d01/eth.png new file mode 100644 index 0000000..1148bce Binary files /dev/null and b/test/plot_tests/d01/eth.png differ diff --git a/test/plot_tests/d01/geopt.png b/test/plot_tests/d01/geopt.png new file mode 100644 index 0000000..d00f785 Binary files /dev/null and b/test/plot_tests/d01/geopt.png differ diff --git a/test/plot_tests/d01/helicity.png b/test/plot_tests/d01/helicity.png new file mode 100644 index 0000000..c7bd18d Binary files /dev/null and b/test/plot_tests/d01/helicity.png differ diff --git a/test/plot_tests/d01/lat.png b/test/plot_tests/d01/lat.png new file mode 100644 index 0000000..3fadc3b Binary files /dev/null and b/test/plot_tests/d01/lat.png differ diff --git a/test/plot_tests/d01/lon.png b/test/plot_tests/d01/lon.png new file mode 100644 index 0000000..5d5a12f Binary files /dev/null and b/test/plot_tests/d01/lon.png differ diff --git a/test/plot_tests/d01/mdbz.png b/test/plot_tests/d01/mdbz.png new file mode 100644 index 0000000..83a1cc6 Binary files /dev/null and b/test/plot_tests/d01/mdbz.png differ diff --git a/test/plot_tests/d01/omg.png b/test/plot_tests/d01/omg.png new file mode 100644 index 0000000..0d2d6ea Binary files /dev/null and b/test/plot_tests/d01/omg.png differ diff --git a/test/plot_tests/d01/p.png b/test/plot_tests/d01/p.png new file mode 100644 index 0000000..9748bcd Binary files /dev/null and b/test/plot_tests/d01/p.png differ diff --git a/test/plot_tests/d01/pressure.png b/test/plot_tests/d01/pressure.png new file mode 100644 index 0000000..cb0b294 Binary files /dev/null and b/test/plot_tests/d01/pressure.png differ diff --git a/test/plot_tests/d01/pvo.png b/test/plot_tests/d01/pvo.png new file mode 100644 index 0000000..2de679c Binary files /dev/null and b/test/plot_tests/d01/pvo.png differ diff --git a/test/plot_tests/d01/pw.png b/test/plot_tests/d01/pw.png new file mode 100644 index 0000000..258b005 Binary files /dev/null and b/test/plot_tests/d01/pw.png differ diff --git a/test/plot_tests/d01/rh.png b/test/plot_tests/d01/rh.png new file mode 100644 index 0000000..877a8fa Binary files /dev/null and b/test/plot_tests/d01/rh.png differ diff --git a/test/plot_tests/d01/rh2.png b/test/plot_tests/d01/rh2.png new file mode 100644 index 0000000..d1b1332 Binary files /dev/null and b/test/plot_tests/d01/rh2.png differ diff --git a/test/plot_tests/d01/slp.png b/test/plot_tests/d01/slp.png new file mode 100644 index 0000000..e0cd91d Binary files /dev/null and b/test/plot_tests/d01/slp.png differ diff --git a/test/plot_tests/d01/tc.png b/test/plot_tests/d01/tc.png new file mode 100644 index 0000000..faee47d Binary files /dev/null and b/test/plot_tests/d01/tc.png differ diff --git a/test/plot_tests/d01/td.png b/test/plot_tests/d01/td.png new file mode 100644 index 0000000..3bb6fa5 Binary files /dev/null and b/test/plot_tests/d01/td.png differ diff --git a/test/plot_tests/d01/td2.png b/test/plot_tests/d01/td2.png new file mode 100644 index 0000000..a929270 Binary files /dev/null and b/test/plot_tests/d01/td2.png differ diff --git a/test/plot_tests/d01/ter.png b/test/plot_tests/d01/ter.png new file mode 100644 index 0000000..14a0f95 Binary files /dev/null and b/test/plot_tests/d01/ter.png differ diff --git a/test/plot_tests/d01/theta.png b/test/plot_tests/d01/theta.png new file mode 100644 index 0000000..6098f91 Binary files /dev/null and b/test/plot_tests/d01/theta.png differ diff --git a/test/plot_tests/d01/tk.png b/test/plot_tests/d01/tk.png new file mode 100644 index 0000000..c6527c8 Binary files /dev/null and b/test/plot_tests/d01/tk.png differ diff --git a/test/plot_tests/d01/tv.png b/test/plot_tests/d01/tv.png new file mode 100644 index 0000000..a95b99a Binary files /dev/null and b/test/plot_tests/d01/tv.png differ diff --git a/test/plot_tests/d01/twb.png b/test/plot_tests/d01/twb.png new file mode 100644 index 0000000..93ab3df Binary files /dev/null and b/test/plot_tests/d01/twb.png differ diff --git a/test/plot_tests/d01/ua.png b/test/plot_tests/d01/ua.png new file mode 100644 index 0000000..504ad13 Binary files /dev/null and b/test/plot_tests/d01/ua.png differ diff --git a/test/plot_tests/d01/updraft_helicity.png b/test/plot_tests/d01/updraft_helicity.png new file mode 100644 index 0000000..07c6a85 Binary files /dev/null and b/test/plot_tests/d01/updraft_helicity.png differ diff --git a/test/plot_tests/d01/uvmet.png b/test/plot_tests/d01/uvmet.png new file mode 100644 index 0000000..45b6005 Binary files /dev/null and b/test/plot_tests/d01/uvmet.png differ diff --git a/test/plot_tests/d01/uvmet10.png b/test/plot_tests/d01/uvmet10.png new file mode 100644 index 0000000..2cdd7d8 Binary files /dev/null and b/test/plot_tests/d01/uvmet10.png differ diff --git a/test/plot_tests/d01/uvmet10_wspd_wdir.png b/test/plot_tests/d01/uvmet10_wspd_wdir.png new file mode 100644 index 0000000..8049757 Binary files /dev/null and b/test/plot_tests/d01/uvmet10_wspd_wdir.png differ diff --git a/test/plot_tests/d01/uvmet_wspd_wdir.png b/test/plot_tests/d01/uvmet_wspd_wdir.png new file mode 100644 index 0000000..990e67f Binary files /dev/null and b/test/plot_tests/d01/uvmet_wspd_wdir.png differ diff --git a/test/plot_tests/d01/va.png b/test/plot_tests/d01/va.png new file mode 100644 index 0000000..67b93ad Binary files /dev/null and b/test/plot_tests/d01/va.png differ diff --git a/test/plot_tests/d01/wa.png b/test/plot_tests/d01/wa.png new file mode 100644 index 0000000..db64184 Binary files /dev/null and b/test/plot_tests/d01/wa.png differ diff --git a/test/plot_tests/d01/wspd_wdir.png b/test/plot_tests/d01/wspd_wdir.png new file mode 100644 index 0000000..cee99db Binary files /dev/null and b/test/plot_tests/d01/wspd_wdir.png differ diff --git a/test/plot_tests/d01/wspd_wdir10.png b/test/plot_tests/d01/wspd_wdir10.png new file mode 100644 index 0000000..cd19a97 Binary files /dev/null and b/test/plot_tests/d01/wspd_wdir10.png differ diff --git a/test/plot_tests/d01/z.png b/test/plot_tests/d01/z.png new file mode 100644 index 0000000..438fe98 Binary files /dev/null and b/test/plot_tests/d01/z.png differ diff --git a/test/plot_tests/d02/avo.png b/test/plot_tests/d02/avo.png new file mode 100644 index 0000000..3076c89 Binary files /dev/null and b/test/plot_tests/d02/avo.png differ diff --git a/test/plot_tests/d02/cape_2d.png b/test/plot_tests/d02/cape_2d.png new file mode 100644 index 0000000..ba4a6af Binary files /dev/null and b/test/plot_tests/d02/cape_2d.png differ diff --git a/test/plot_tests/d02/cape_3d.png b/test/plot_tests/d02/cape_3d.png new file mode 100644 index 0000000..278a970 Binary files /dev/null and b/test/plot_tests/d02/cape_3d.png differ diff --git a/test/plot_tests/d02/cfrac.png b/test/plot_tests/d02/cfrac.png new file mode 100644 index 0000000..b1b52ad Binary files /dev/null and b/test/plot_tests/d02/cfrac.png differ diff --git a/test/plot_tests/d02/ctt.png b/test/plot_tests/d02/ctt.png new file mode 100644 index 0000000..4bf763e Binary files /dev/null and b/test/plot_tests/d02/ctt.png differ diff --git a/test/plot_tests/d02/dbz.png b/test/plot_tests/d02/dbz.png new file mode 100644 index 0000000..4767c37 Binary files /dev/null and b/test/plot_tests/d02/dbz.png differ diff --git a/test/plot_tests/d02/eth.png b/test/plot_tests/d02/eth.png new file mode 100644 index 0000000..df19200 Binary files /dev/null and b/test/plot_tests/d02/eth.png differ diff --git a/test/plot_tests/d02/geopt.png b/test/plot_tests/d02/geopt.png new file mode 100644 index 0000000..43e8e1e Binary files /dev/null and b/test/plot_tests/d02/geopt.png differ diff --git a/test/plot_tests/d02/helicity.png b/test/plot_tests/d02/helicity.png new file mode 100644 index 0000000..544e521 Binary files /dev/null and b/test/plot_tests/d02/helicity.png differ diff --git a/test/plot_tests/d02/lat.png b/test/plot_tests/d02/lat.png new file mode 100644 index 0000000..bb4e184 Binary files /dev/null and b/test/plot_tests/d02/lat.png differ diff --git a/test/plot_tests/d02/lon.png b/test/plot_tests/d02/lon.png new file mode 100644 index 0000000..e8491f8 Binary files /dev/null and b/test/plot_tests/d02/lon.png differ diff --git a/test/plot_tests/d02/mdbz.png b/test/plot_tests/d02/mdbz.png new file mode 100644 index 0000000..e1eb827 Binary files /dev/null and b/test/plot_tests/d02/mdbz.png differ diff --git a/test/plot_tests/d02/omg.png b/test/plot_tests/d02/omg.png new file mode 100644 index 0000000..22f689f Binary files /dev/null and b/test/plot_tests/d02/omg.png differ diff --git a/test/plot_tests/d02/p.png b/test/plot_tests/d02/p.png new file mode 100644 index 0000000..9e10cc7 Binary files /dev/null and b/test/plot_tests/d02/p.png differ diff --git a/test/plot_tests/d02/pressure.png b/test/plot_tests/d02/pressure.png new file mode 100644 index 0000000..bc8f399 Binary files /dev/null and b/test/plot_tests/d02/pressure.png differ diff --git a/test/plot_tests/d02/pvo.png b/test/plot_tests/d02/pvo.png new file mode 100644 index 0000000..f44c5ca Binary files /dev/null and b/test/plot_tests/d02/pvo.png differ diff --git a/test/plot_tests/d02/pw.png b/test/plot_tests/d02/pw.png new file mode 100644 index 0000000..e00142e Binary files /dev/null and b/test/plot_tests/d02/pw.png differ diff --git a/test/plot_tests/d02/rh.png b/test/plot_tests/d02/rh.png new file mode 100644 index 0000000..5a3523f Binary files /dev/null and b/test/plot_tests/d02/rh.png differ diff --git a/test/plot_tests/d02/rh2.png b/test/plot_tests/d02/rh2.png new file mode 100644 index 0000000..375536e Binary files /dev/null and b/test/plot_tests/d02/rh2.png differ diff --git a/test/plot_tests/d02/slp.png b/test/plot_tests/d02/slp.png new file mode 100644 index 0000000..4a961b9 Binary files /dev/null and b/test/plot_tests/d02/slp.png differ diff --git a/test/plot_tests/d02/tc.png b/test/plot_tests/d02/tc.png new file mode 100644 index 0000000..0bf677f Binary files /dev/null and b/test/plot_tests/d02/tc.png differ diff --git a/test/plot_tests/d02/td.png b/test/plot_tests/d02/td.png new file mode 100644 index 0000000..5c7a46e Binary files /dev/null and b/test/plot_tests/d02/td.png differ diff --git a/test/plot_tests/d02/td2.png b/test/plot_tests/d02/td2.png new file mode 100644 index 0000000..81e11a3 Binary files /dev/null and b/test/plot_tests/d02/td2.png differ diff --git a/test/plot_tests/d02/ter.png b/test/plot_tests/d02/ter.png new file mode 100644 index 0000000..ff7d7aa Binary files /dev/null and b/test/plot_tests/d02/ter.png differ diff --git a/test/plot_tests/d02/theta.png b/test/plot_tests/d02/theta.png new file mode 100644 index 0000000..807bdde Binary files /dev/null and b/test/plot_tests/d02/theta.png differ diff --git a/test/plot_tests/d02/tk.png b/test/plot_tests/d02/tk.png new file mode 100644 index 0000000..38c3e46 Binary files /dev/null and b/test/plot_tests/d02/tk.png differ diff --git a/test/plot_tests/d02/tv.png b/test/plot_tests/d02/tv.png new file mode 100644 index 0000000..1bc03e7 Binary files /dev/null and b/test/plot_tests/d02/tv.png differ diff --git a/test/plot_tests/d02/twb.png b/test/plot_tests/d02/twb.png new file mode 100644 index 0000000..10378ae Binary files /dev/null and b/test/plot_tests/d02/twb.png differ diff --git a/test/plot_tests/d02/ua.png b/test/plot_tests/d02/ua.png new file mode 100644 index 0000000..38cd0ca Binary files /dev/null and b/test/plot_tests/d02/ua.png differ diff --git a/test/plot_tests/d02/updraft_helicity.png b/test/plot_tests/d02/updraft_helicity.png new file mode 100644 index 0000000..0d17880 Binary files /dev/null and b/test/plot_tests/d02/updraft_helicity.png differ diff --git a/test/plot_tests/d02/uvmet.png b/test/plot_tests/d02/uvmet.png new file mode 100644 index 0000000..3a4179d Binary files /dev/null and b/test/plot_tests/d02/uvmet.png differ diff --git a/test/plot_tests/d02/uvmet10.png b/test/plot_tests/d02/uvmet10.png new file mode 100644 index 0000000..3265962 Binary files /dev/null and b/test/plot_tests/d02/uvmet10.png differ diff --git a/test/plot_tests/d02/uvmet10_wspd_wdir.png b/test/plot_tests/d02/uvmet10_wspd_wdir.png new file mode 100644 index 0000000..c296931 Binary files /dev/null and b/test/plot_tests/d02/uvmet10_wspd_wdir.png differ diff --git a/test/plot_tests/d02/uvmet_wspd_wdir.png b/test/plot_tests/d02/uvmet_wspd_wdir.png new file mode 100644 index 0000000..b09b76f Binary files /dev/null and b/test/plot_tests/d02/uvmet_wspd_wdir.png differ diff --git a/test/plot_tests/d02/va.png b/test/plot_tests/d02/va.png new file mode 100644 index 0000000..672e18e Binary files /dev/null and b/test/plot_tests/d02/va.png differ diff --git a/test/plot_tests/d02/wa.png b/test/plot_tests/d02/wa.png new file mode 100644 index 0000000..1f8a72f Binary files /dev/null and b/test/plot_tests/d02/wa.png differ diff --git a/test/plot_tests/d02/wspd_wdir.png b/test/plot_tests/d02/wspd_wdir.png new file mode 100644 index 0000000..64311f6 Binary files /dev/null and b/test/plot_tests/d02/wspd_wdir.png differ diff --git a/test/plot_tests/d02/wspd_wdir10.png b/test/plot_tests/d02/wspd_wdir10.png new file mode 100644 index 0000000..027e5b6 Binary files /dev/null and b/test/plot_tests/d02/wspd_wdir10.png differ diff --git a/test/plot_tests/d02/z.png b/test/plot_tests/d02/z.png new file mode 100644 index 0000000..bd97ce3 Binary files /dev/null and b/test/plot_tests/d02/z.png differ diff --git a/test/plot_tests/plot_all.ipynb b/test/plot_tests/plot_all.ipynb index 7b7c720..a47f1e5 100644 --- a/test/plot_tests/plot_all.ipynb +++ b/test/plot_tests/plot_all.ipynb @@ -15,9 +15,9 @@ "# Modify these to point to your own files\n", "WRF_DIRECTORY = \"/Users/ladwig/Documents/wrf_files/wrf_vortex_multi/moving_nest\"\n", "\n", - "WRF_FILES = [\"wrfout_d01_2005-08-28_00:00:00\",\n", - " \"wrfout_d01_2005-08-28_12:00:00\",\n", - " \"wrfout_d01_2005-08-29_00:00:00\"]\n", + "WRF_FILES = [\"wrfout_d02_2005-08-28_00:00:00\",\n", + " \"wrfout_d02_2005-08-28_12:00:00\",\n", + " \"wrfout_d02_2005-08-29_00:00:00\"]\n", "\n", "\n", "# Do not modify the code below this line\n", @@ -67,6 +67,16 @@ " global _WRF_FILES\n", " return _WRF_FILES\n", "\n", + "def save_fig(diagname):\n", + " f = single_wrf_file()\n", + " if f.find(\"_d01_\") > 0:\n", + " fout = \"{}.png\".format(os.path.join(os.path.abspath(\".\"), \"d01\", diagname))\n", + " else:\n", + " fout = \"{}.png\".format(os.path.join(os.path.abspath(\".\"), \"d02\", diagname))\n", + " \n", + " matplotlib.pyplot.savefig(fout)\n", + " \n", + "\n", "print(\"All tests passed!\")" ] }, @@ -243,6 +253,7 @@ " # Get the cartopy object and the lat,lon coords\n", " cart_proj = get_cartopy(diag)\n", " lats, lons = latlon_coords(diag)\n", + " \n", "\n", " # Create a figure and get the GetAxes object\n", " fig = pyplot.figure(figsize=(10, 7.5))\n", @@ -280,6 +291,10 @@ " cb = pyplot.colorbar(ax=ax, shrink=.99)\n", " \n", " pyplot.title(diagname)\n", + " \n", + " # Uncomment this to build the sample images\n", + " #save_fig(diagname)\n", + " \n", " pyplot.show()\n", "\n", "\n"