diff --git a/internal/test_unit/config/TCPairsConfig_DIAGNOSTICS_CONSENSUS b/internal/test_unit/config/TCPairsConfig_DIAGNOSTICS_CONSENSUS new file mode 100644 index 0000000000..49d3963dd1 --- /dev/null +++ b/internal/test_unit/config/TCPairsConfig_DIAGNOSTICS_CONSENSUS @@ -0,0 +1,175 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// TC-Pairs configuration file. +// +// For additional information, please see the MET User's Guide. +// +//////////////////////////////////////////////////////////////////////////////// + +// +// ATCF file format reference: +// http://www.nrlmry.navy.mil/atcf_web/docs/database/new/abrdeck.html +// + +// +// Models +// +model = [ "GFSI", "EMXI" ]; + +// +// Description +// +desc = "NA"; + +// +// Storm identifiers +// +storm_id = [ ${STORM_ID} ]; + +// +// Basins +// +basin = []; + +// +// Cyclone numbers +// +cyclone = []; + +// +// Storm names +// +storm_name = []; + +// +// Model initialization time windows to include or exclude +// +init_beg = ""; +init_end = ""; +init_inc = [ ${INIT_INC} ]; +init_exc = []; + +// +// Valid model time windows to include or exclude +// +valid_beg = ""; +valid_end = ""; +valid_inc = []; +valid_exc = []; + +// +// Valid times for which output should be written +// +write_valid = []; + +// +// Model initialization hours +// +init_hour = []; + +// +// Required lead time in hours +// +lead_req = []; + +// +// lat/lon polylines defining masking regions +// +init_mask = ""; +valid_mask = ""; + +// +// Specify if the code should check for duplicate ATCF lines +// +check_dup = TRUE; + +// +// Specify special processing to be performed for interpolated models. +// Set to NONE, FILL, or REPLACE. +// +interp12 = NONE; + +// +// Specify how consensus forecasts should be defined +// See NHC Consensus Definitions in Table 2: +// https://www.nhc.noaa.gov/modelsummary.shtml +// +consensus = [ + { + name = "GFEX_CONS"; + members = [ "GFSI", "EMXI" ]; + required = []; + min_req = 2; + write_members = TRUE; + } +]; + +// +// Forecast lag times +// +lag_time = []; + +// +// CLIPER/SHIFOR baseline forecasts to be derived from the BEST +// and operational (CARQ) tracks. +// +best_baseline = []; +oper_baseline = []; + +// +// Specify if only those track points common to both the ADECK and BDECK +// tracks be written out. +// +match_points = TRUE; + +// +// Specify the NetCDF output of the gen_dland tool containing a gridded +// representation of the minimum distance to land. +// +dland_file = "${MET_TEST_OUTPUT}/tc_dland/tc_dland_half_deg.nc"; + +// +// Specify watch/warning information: +// - Input watch/warning filename +// - Watch/warning time offset in seconds +// +watch_warn = { + file_name = "MET_BASE/tc_data/wwpts_us.txt"; + time_offset = -14400; +} + +// +// Diagnostics to be extracted +// +diag_info_map = [ + { + diag_source = "CIRA_DIAG_RT"; + track_source = "TRACK_MODEL"; + field_source = "0p50RES"; + match_to_track = [ ]; + diag_name = [ ${CIRA_RT_DIAG_NAME} ]; + } +]; + +// +// Unit conversions to be applied based on diagnostic names and units +// Commented out to use settings from the default config file +// +// diag_convert_map = []; + +// +// Modify basin names to make them consistent across ATCF input files. +// +basin_map = [ + { key = "SI"; val = "SH"; }, + { key = "SP"; val = "SH"; }, + { key = "AU"; val = "SH"; }, + { key = "AB"; val = "IO"; }, + { key = "BB"; val = "IO"; } +]; + +// +// Indicate a version number for the contents of this configuration file. +// The value should generally not be modified. +// +version = "V12.0.0"; diff --git a/internal/test_unit/xml/unit_tc_pairs.xml b/internal/test_unit/xml/unit_tc_pairs.xml index 24bec42c00..fde2193181 100644 --- a/internal/test_unit/xml/unit_tc_pairs.xml +++ b/internal/test_unit/xml/unit_tc_pairs.xml @@ -206,4 +206,27 @@ + + &MET_BIN;/tc_pairs + + STORM_ID "AL092022" + INIT_INC "20220926_06", "20220926_18" + CIRA_RT_DIAG_NAME "TPW", "LAND", "SHR_MAG", "STM_SPD" + + \ + -adeck &DATA_DIR;/adeck/aal092022.dat \ + -bdeck &DATA_DIR;/bdeck/bal092022.dat \ + -diag CIRA_DIAG_RT &DATA_DIR;/diag/cira_diag_rt/2022/GFSI/sal092022_avni_doper_20220926*_diag.dat \ + -diag CIRA_DIAG_RT &DATA_DIR;/diag/cira_diag_rt/2022/EMXI/sal092022_emxi_doper_20220926*_diag.dat \ + -config &CONFIG_DIR;/TCPairsConfig_DIAGNOSTICS_CONSENSUS \ + -out &OUTPUT_DIR;/tc_pairs/al092022_20220926_DIAGNOSTICS_CONSENSUS \ + -log &OUTPUT_DIR;/tc_pairs/tc_pairs_DIAGNOSTICS_CONSENSUS.log \ + -v 4 + + + &OUTPUT_DIR;/tc_pairs/al092022_20220926_DIAGNOSTICS_CONSENSUS.tcst + + + +