-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per #1546, split output independent pb2nc test into unit_pb2nc_indy.xml.
- Loading branch information
1 parent
0fc5bd5
commit 46d8785
Showing
3 changed files
with
160 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE met_test [ | ||
<!ENTITY MET_BASE "${MET_BASE}"> | ||
<!ENTITY MET_BIN "${MET_BASE}/../../bin"> | ||
<!ENTITY MET_DATA "${MET_BUILD_BASE}/data"> | ||
<!ENTITY TEST_DIR "${MET_TEST_BASE}"> | ||
<!ENTITY INPUT_DIR "${MET_TEST_INPUT}"> | ||
<!ENTITY OUTPUT_DIR "${MET_TEST_OUTPUT}"> | ||
|
||
<!ENTITY CONFIG_DIR "&TEST_DIR;/config"> | ||
<!ENTITY DATA_DIR_MODEL "&INPUT_DIR;/model_data"> | ||
<!ENTITY DATA_DIR_OBS "&INPUT_DIR;/obs_data"> | ||
]> | ||
|
||
<!-- Requires: None --> | ||
|
||
<!-- Independent: No other unit tests depend on the output of any of these tests. --> | ||
|
||
<met_test> | ||
|
||
<test_dir>&TEST_DIR;</test_dir> | ||
<exit_on_fail>true</exit_on_fail> | ||
|
||
<test name="pb2nc_NDAS_mask_sid_list"> | ||
<exec>&MET_BIN;/pb2nc</exec> | ||
<env> | ||
<pair><name>STATION_ID</name> <value>"72265","72274","72364","72426"</value></pair> | ||
<pair><name>MASK_GRID</name> <value></value></pair> | ||
<pair><name>MASK_POLY</name> <value></value></pair> | ||
<pair><name>QUALITY_MARK_THRESH</name> <value>2</value></pair> | ||
</env> | ||
<param> \ | ||
&DATA_DIR_OBS;/prepbufr/ndas/nam.20120409.t12z.prepbufr.tm00.nr \ | ||
&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.mask_sid.nc \ | ||
&CONFIG_DIR;/PB2NCConfig \ | ||
-v 1 | ||
</param> | ||
<output> | ||
<point_nc>&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.mask_sid.nc</point_nc> | ||
</output> | ||
</test> | ||
|
||
<test name="pb2nc_NDAS_mask_sid_file"> | ||
<exec>&MET_BIN;/pb2nc</exec> | ||
<env> | ||
<pair><name>STATION_ID</name> <value>"&CONFIG_DIR;/SID_CO.txt"</value></pair> | ||
<pair><name>MASK_GRID</name> <value></value></pair> | ||
<pair><name>MASK_POLY</name> <value></value></pair> | ||
<pair><name>QUALITY_MARK_THRESH</name> <value>2</value></pair> | ||
</env> | ||
<param> \ | ||
&DATA_DIR_OBS;/prepbufr/ndas/nam.20120409.t12z.prepbufr.tm00.nr \ | ||
&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.mask_sid_file.nc \ | ||
&CONFIG_DIR;/PB2NCConfig \ | ||
-v 1 | ||
</param> | ||
<output> | ||
<point_nc>&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.mask_sid_file.nc</point_nc> | ||
</output> | ||
</test> | ||
|
||
<test name="pb2nc_NDAS_mask_grid_data_cfg"> | ||
<exec>&MET_BIN;/pb2nc</exec> | ||
<env> | ||
<pair><name>STATION_ID</name> <value></value></pair> | ||
<pair><name>MASK_GRID</name> <value>&MET_DATA;/sample_fcst/2005080700/wrfprs_ruc13_00.tm00_G212</value></pair> | ||
<pair><name>MASK_POLY</name> <value></value></pair> | ||
<pair><name>QUALITY_MARK_THRESH</name> <value>2</value></pair> | ||
</env> | ||
<param> \ | ||
&DATA_DIR_OBS;/prepbufr/ndas/nam.20120409.t12z.prepbufr.tm00.nr \ | ||
&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.mask_grid_data.nc \ | ||
&CONFIG_DIR;/PB2NCConfig \ | ||
-v 1 | ||
</param> | ||
<output> | ||
<point_nc>&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.mask_grid_data.nc</point_nc> | ||
</output> | ||
</test> | ||
|
||
<test name="pb2nc_compute_pbl_cape"> | ||
<exec>&MET_BIN;/pb2nc</exec> | ||
<env> | ||
<pair><name>STATION_ID</name> <value></value></pair> | ||
<pair><name>MASK_GRID</name> <value></value></pair> | ||
<pair><name>MASK_POLY</name> <value></value></pair> | ||
<pair><name>QUALITY_MARK_THRESH</name> <value>2</value></pair> | ||
</env> | ||
<param> \ | ||
&DATA_DIR_OBS;/prepbufr/nam.20210311.t00z.prepbufr.tm00 \ | ||
&OUTPUT_DIR;/pb2nc_indy/nam.20210311.t00z.prepbufr.tm00.pbl.nc \ | ||
&CONFIG_DIR;/PB2NCConfig_pbl \ | ||
-v 1 | ||
</param> | ||
<output> | ||
<point_nc>&OUTPUT_DIR;/pb2nc_indy/nam.20210311.t00z.prepbufr.tm00.pbl.nc</point_nc> | ||
</output> | ||
</test> | ||
|
||
<test name="pb2nc_NDAS_var_all"> | ||
<exec>&MET_BIN;/pb2nc</exec> | ||
<env> | ||
<pair><name>STATION_ID</name> <value>"72364","72265","72274","72426","72489","14008"</value></pair> | ||
<pair><name>MASK_GRID</name> <value></value></pair> | ||
<pair><name>MASK_POLY</name> <value></value></pair> | ||
<pair><name>QUALITY_MARK_THRESH</name> <value>2</value></pair> | ||
</env> | ||
<param> \ | ||
&DATA_DIR_OBS;/prepbufr/ndas/nam.20120409.t12z.prepbufr.tm00.nr \ | ||
&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.var_all.nc \ | ||
&CONFIG_DIR;/PB2NCConfig_all \ | ||
-v 1 | ||
</param> | ||
<output> | ||
<point_nc>&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.var_all.nc</point_nc> | ||
</output> | ||
</test> | ||
|
||
<test name="pb2nc_vertical_level_500"> | ||
<exec>&MET_BIN;/pb2nc</exec> | ||
<env> | ||
<pair><name>STATION_ID</name> <value>"SC-GSP","TX-HGX","KY-HPX"</value></pair> | ||
<pair><name>MASK_GRID</name> <value></value></pair> | ||
<pair><name>MASK_POLY</name> <value></value></pair> | ||
<pair><name>QUALITY_MARK_THRESH</name> <value>9</value></pair> | ||
</env> | ||
<param> \ | ||
&DATA_DIR_OBS;/bufr/nam_20170502.t00z.radwnd.tm02.bufr_d \ | ||
&OUTPUT_DIR;/pb2nc_indy/nam_20170502.t00z.radwnd.tm02.bufr_d.vlevel_500.nc \ | ||
&CONFIG_DIR;/PB2NCConfig_vlevel -valid_end 20170501_22 \ | ||
-v 1 | ||
</param> | ||
<output> | ||
<point_nc>&OUTPUT_DIR;/pb2nc_indy/nam_20170502.t00z.radwnd.tm02.bufr_d.vlevel_500.nc</point_nc> | ||
</output> | ||
</test> | ||
|
||
<test name="pb2nc_NDAS_summary"> | ||
<exec>&MET_BIN;/pb2nc</exec> | ||
<env> | ||
<pair><name>STATION_ID</name> <value></value></pair> | ||
<pair><name>MASK_GRID</name> <value></value></pair> | ||
<pair><name>MASK_POLY</name> <value>MET_BASE/poly/CONUS.poly</value></pair> | ||
<pair><name>QUALITY_MARK_THRESH</name> <value>2</value></pair> | ||
</env> | ||
<param> \ | ||
&DATA_DIR_OBS;/prepbufr/ndas/nam.20120409.t12z.prepbufr.tm00.nr \ | ||
&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.summary.nc \ | ||
&CONFIG_DIR;/PB2NCConfig_summary \ | ||
-v 1 | ||
</param> | ||
<output> | ||
<point_nc>&OUTPUT_DIR;/pb2nc_indy/ndas.20120409.t12z.prepbufr.tm00.summary.nc</point_nc> | ||
</output> | ||
</test> | ||
|
||
</met_test> |