Skip to content

Commit

Permalink
For issue #1746, added new unit test that uses a config file that has…
Browse files Browse the repository at this point in the history
… empty lists for the forecast and observation thresholds. SL
  • Loading branch information
Seth Linden committed Jul 8, 2021
1 parent 653a3fe commit 1578a4e
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion test/xml/unit_wavelet_stat.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
<test_dir>&TEST_DIR;</test_dir>
<exit_on_fail>true</exit_on_fail>


<!-- -->
<!-- Uses standard config file thats has forecast and observations thresholds -->
<!-- -->

<test name="wavelet_stat_GRIB1_NAM_STAGE4">
<exec>&MET_BIN;/wavelet_stat</exec>
<env>
Expand All @@ -35,5 +38,27 @@
</output>
</test>

<!-- -->
<!-- Uses config file thats has empty list for forecast and observations thresholds -->
<!-- -->

<test name="wavelet_stat_GRIB1_NAM_STAGE4_NO_THRESH">
<exec>&MET_BIN;/wavelet_stat</exec>
<env>
<pair><name>OUTPUT_PREFIX</name> <value>GRIB1_NAM_STAGE4_NO_THRESH</value></pair>
</env>
<param> \
&DATA_DIR_MODEL;/grib1/nam_st4/nam_2012040900_F012_gSt4.grib \
&OUTPUT_DIR;/pcp_combine/stage4_2012040912_F012_APCP12.nc \
&CONFIG_DIR;/WaveletStatConfig_no_thresholds \
-outdir &OUTPUT_DIR;/wavelet_stat -v 1
</param>
<output>
<stat>&OUTPUT_DIR;/wavelet_stat/wavelet_stat_GRIB1_NAM_STAGE4_NO_THRESH_120000L_20120409_120000V.stat</stat>
<stat>&OUTPUT_DIR;/wavelet_stat/wavelet_stat_GRIB1_NAM_STAGE4_NO_THRESH_120000L_20120409_120000V_isc.txt</stat>
<grid_nc>&OUTPUT_DIR;/wavelet_stat/wavelet_stat_GRIB1_NAM_STAGE4_NO_THRESH_120000L_20120409_120000V.nc</grid_nc>
<ps>&OUTPUT_DIR;/wavelet_stat/wavelet_stat_GRIB1_NAM_STAGE4_NO_THRESH_120000L_20120409_120000V.ps</ps>
</output>
</test>

</met_test>

0 comments on commit 1578a4e

Please sign in to comment.