Skip to content

Commit

Permalink
Per #1891, add a new test in unit_gen_vx_mask.xml that fails prior to #…
Browse files Browse the repository at this point in the history
…1891 and succeeds with these changes.
  • Loading branch information
JohnHalleyGotway committed Aug 30, 2021
1 parent 4c612e9 commit c7df595
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/xml/unit_gen_vx_mask.xml
Original file line number Diff line number Diff line change
Expand Up @@ -438,4 +438,26 @@
</output>
</test>

<!-- -->
<!-- DATA: For MET issue #1891, use GRIB1 and GRIB2 inputs to replace -->
<!-- 2-m temperature over water with bad data. -->
<!-- -->

<test name="gen_vx_mask_DATA_TWO_FILE_TYPES">
<exec>&MET_BIN;/gen_vx_mask</exec>
<param> \
&DATA_DIR_MODEL;/grib1/gfs/gfs_2012040900_F012.grib \
&DATA_DIR_MODEL;/grib2/gfs/gfs_2012040900_F012.grib2 \
&OUTPUT_DIR;/gen_vx_mask/DATA_TWO_FILE_TYPES.nc \
-type data \
-input_field 'name="TMP"; level="Z2"; file_type=GRIB1;' \
-mask_field 'name="LAND"; level="L0";' \
-name TMP_2M_LAND \
-thresh lt0.5 -value -9999 -v 3
</param>
<output>
<grid_nc>&OUTPUT_DIR;/gen_vx_mask/DATA_TWO_FILE_TYPE.nc</grid_nc>
</output>
</test>

</met_test>

0 comments on commit c7df595

Please sign in to comment.