Skip to content

Commit

Permalink
Per #1733, add tc_stat and stat_analysis jobs to exercise the string …
Browse files Browse the repository at this point in the history
…filtering options.
  • Loading branch information
JohnHalleyGotway committed Mar 27, 2021
1 parent 8286b73 commit cd97a54
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/xml/unit_stat_analysis.xml
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@
<param> \
-lookin &OUTPUT_DIR;/point_stat/point_stat_GRIB1_NAM_GDAS_120000L_20120409_120000V.stat \
-job filter -line_type MPR -fcst_var TMP -fcst_lev Z2 -vx_mask DTC165 \
-column_str OBS_SID KDLN,KDHT,KDEN,KDLS,KDMA,KDMN,KDVT,KDEW \
-column_exc OBS_SID KDLN,KDHT \
-column_str OBS_SID KDLN,KDHT,KDEN,KDLS,KDMA,KDMN,KDVT,KDEW \
-column_str_exc OBS_SID KDLN,KDHT \
-dump_row &OUTPUT_DIR;/stat_analysis/POINT_STAT_FILTER_OBS_SID.stat \
-v 1
</param>
Expand Down
15 changes: 14 additions & 1 deletion test/xml/unit_tc_stat.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<test_dir>&TEST_DIR;</test_dir>
<exit_on_fail>true</exit_on_fail>


<test name="tc_stat_ALAL2010">
<exec>&MET_BIN;/tc_stat</exec>
<param> \
Expand All @@ -33,6 +32,20 @@
</output>
</test>

<test name="tc_stat_FILTER_STRINGS">
<exec>&MET_BIN;/tc_stat</exec>
<param> \
-lookin &OUTPUT_DIR;/tc_pairs/alal2010.tcst \
-job filter -dump_row &OUTPUT_DIR;/tc_stat/ALAL2010_FILTER_STRINGS.tcst \
-init_str LEVEL TS,HU -init_str_exc WATCH_WARN HUWARN \
-column_str LEVEL HU -column_str_exc WATCH_WARN TSWATCH \
-v 2
</param>
<output>
<exist>&OUTPUT_DIR;/tc_stat/ALAL2010_FILTER_STRINGS.tcst</exist>
</output>
</test>

<test name="tc_stat_PROBRIRW">
<exec>&MET_BIN;/tc_stat</exec>
<param> \
Expand Down

0 comments on commit cd97a54

Please sign in to comment.