From 7504f4f04bd45913f681f42854c8bab9c7ca3d24 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Thu, 16 May 2024 09:14:34 -0600 Subject: [PATCH] Feature #2479 time_offset_warning (#2587) * Per #2479, add support for setting time_offset_warning in all wrapped MET config files * Per #2479, add documentation and examples to basic use case param files for time_offset_warning --- docs/Users_Guide/glossary.rst | 95 +++++++ docs/Users_Guide/wrappers.rst | 249 +++++++++++++++++- .../ascii2nc/test_ascii2nc_wrapper.py | 22 +- .../test_ensemble_stat_wrapper.py | 7 + .../gen_ens_prod/test_gen_ens_prod_wrapper.py | 10 +- .../wrappers/grid_diag/test_grid_diag.py | 7 + .../grid_stat/test_grid_stat_wrapper.py | 6 + .../wrappers/ioda2nc/test_ioda2nc_wrapper.py | 9 + .../wrappers/mode/test_mode_wrapper.py | 6 + .../pytests/wrappers/mtd/test_mtd_wrapper.py | 7 + .../wrappers/pb2nc/test_pb2nc_wrapper.py | 6 + .../test_plot_point_obs_wrapper.py | 6 + .../point_stat/test_point_stat_wrapper.py | 6 + .../stat_analysis/test_stat_analysis.py | 9 + .../wrappers/tc_diag/test_tc_diag_wrapper.py | 7 + .../wrappers/tc_gen/test_tc_gen_wrapper.py | 6 + .../tc_pairs/test_tc_pairs_wrapper.py | 7 + .../wrappers/tc_stat/test_tc_stat_wrapper.py | 6 + .../wrappers/tcrmw/test_tcrmw_wrapper.py | 6 + .../wavelet_stat/test_wavelet_stat.py | 6 + metplus/wrappers/command_builder.py | 10 + parm/met_config/Ascii2NcConfig_wrapped | 1 + parm/met_config/EnsembleStatConfig_wrapped | 1 + parm/met_config/GenEnsProdConfig_wrapped | 1 + parm/met_config/GridDiagConfig_wrapped | 1 + parm/met_config/GridStatConfig_wrapped | 1 + parm/met_config/IODA2NCConfig_wrapped | 1 + parm/met_config/MODEConfig_wrapped | 1 + parm/met_config/MTDConfig_wrapped | 1 + parm/met_config/PB2NCConfig_wrapped | 1 + parm/met_config/PlotPointObsConfig_wrapped | 1 + parm/met_config/PointStatConfig_wrapped | 1 + parm/met_config/STATAnalysisConfig_wrapped | 1 + parm/met_config/SeriesAnalysisConfig_wrapped | 1 + parm/met_config/TCDiagConfig_wrapped | 1 + parm/met_config/TCGenConfig_wrapped | 1 + parm/met_config/TCPairsConfig_wrapped | 1 + parm/met_config/TCRMWConfig_wrapped | 1 + parm/met_config/TCStatConfig_wrapped | 1 + parm/met_config/WaveletStatConfig_wrapped | 1 + .../met_tool_wrapper/ASCII2NC/ASCII2NC.conf | 2 + .../EnsembleStat/EnsembleStat.conf | 2 + .../GenEnsProd/GenEnsProd.conf | 2 + .../met_tool_wrapper/GridDiag/GridDiag.conf | 2 + .../met_tool_wrapper/GridStat/GridStat.conf | 2 + .../met_tool_wrapper/IODA2NC/IODA2NC.conf | 2 + .../use_cases/met_tool_wrapper/MODE/MODE.conf | 2 + parm/use_cases/met_tool_wrapper/MTD/MTD.conf | 2 + .../met_tool_wrapper/PB2NC/PB2NC.conf | 2 + .../PlotPointObs/PlotPointObs.conf | 2 + .../met_tool_wrapper/PointStat/PointStat.conf | 2 + .../SeriesAnalysis/SeriesAnalysis.conf | 2 + .../StatAnalysis/StatAnalysis.conf | 2 + .../met_tool_wrapper/TCDiag/TCDiag.conf | 2 +- .../met_tool_wrapper/TCGen/TCGen.conf | 2 + .../TCPairs/TCPairs_extra_tropical.conf | 2 + .../TCPairs/TCPairs_tropical.conf | 2 + .../met_tool_wrapper/TCRMW/TCRMW.conf | 2 + .../met_tool_wrapper/TCStat/TCStat.conf | 2 + .../WaveletStat/WaveletStat.conf | 2 + 60 files changed, 547 insertions(+), 5 deletions(-) diff --git a/docs/Users_Guide/glossary.rst b/docs/Users_Guide/glossary.rst index ea755c5680..215ab39a8b 100644 --- a/docs/Users_Guide/glossary.rst +++ b/docs/Users_Guide/glossary.rst @@ -11633,3 +11633,98 @@ METplus Configuration Glossary Specify the value for 'obs_perc_value' in the MET configuration file for PointStat. | *Used by:* PointStat + + ASCII2NC_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for ASCII2NC. + + | *Used by:* ASCII2NC + + ENSEMBLE_STAT_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for EnsembleStat. + + | *Used by:* EnsembleStat + + GEN_ENS_PROD_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for GenEnsProd. + + | *Used by:* GenEnsProd + + GRID_DIAG_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for GridDiag. + + | *Used by:* GridDiag + + GRID_STAT_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for GridStat. + + | *Used by:* GridStat + + IODA2NC_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for IODA2NC. + + | *Used by:* IODA2NC + + MODE_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for MODE. + + | *Used by:* MODE + + MTD_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for MTD. + + | *Used by:* MTD + + PB2NC_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for PB2NC. + + | *Used by:* PB2NC + + PLOT_POINT_OBS_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for PlotPointObs. + + | *Used by:* PlotPointObs + + POINT_STAT_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for PointStat. + + | *Used by:* PointStat + + STAT_ANALYSIS_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for StatAnalysis. + + | *Used by:* StatAnalysis + + SERIES_ANALYSIS_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for SeriesAnalysis. + + | *Used by:* SeriesAnalysis + + TC_DIAG_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for TCDiag. + + | *Used by:* TCDiag + + TC_GEN_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for TCGen. + + | *Used by:* TCGen + + TC_PAIRS_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for TCPairs. + + | *Used by:* TCPairs + + TC_RMW_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for TCRMW. + + | *Used by:* TCRMW + + TC_STAT_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for TCStat. + + | *Used by:* TCStat + + WAVELET_STAT_TIME_OFFSET_WARNING + Specify the value for 'time_offset_warning' in the MET configuration file for WaveletStat. + + | *Used by:* WaveletStat diff --git a/docs/Users_Guide/wrappers.rst b/docs/Users_Guide/wrappers.rst index baf1b095af..d35b8f031c 100644 --- a/docs/Users_Guide/wrappers.rst +++ b/docs/Users_Guide/wrappers.rst @@ -64,6 +64,7 @@ METplus Configuration | :term:`ASCII2NC_INC_VALID_TIMES` | :term:`ASCII2NC_SKIP_INIT_TIMES` | :term:`ASCII2NC_INC_INIT_TIMES` +| :term:`ASCII2NC_TIME_OFFSET_WARNING` | .. _ascii2nc-met-conf: @@ -123,6 +124,18 @@ ${METPLUS_TIME_SUMMARY_DICT} * - :term:`ASCII2NC_TIME_SUMMARY_VALID_THRESH` - time_summary.vld_thresh +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`ASCII2NC_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -330,6 +343,7 @@ METplus Configuration | :term:`ENSEMBLE_STAT_INC_VALID_TIMES` | :term:`ENSEMBLE_STAT_SKIP_INIT_TIMES` | :term:`ENSEMBLE_STAT_INC_INIT_TIMES` +| :term:`ENSEMBLE_STAT_TIME_OFFSET_WARNING` | .. warning:: **DEPRECATED:** @@ -942,6 +956,18 @@ ${METPLUS_OUTPUT_PREFIX} * - :term:`ENSEMBLE_STAT_OUTPUT_PREFIX` - output_prefix +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`ENSEMBLE_STAT_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -1165,6 +1191,8 @@ METplus Configuration | :term:`GEN_ENS_PROD_INC_VALID_TIMES` | :term:`GEN_ENS_PROD_SKIP_INIT_TIMES` | :term:`GEN_ENS_PROD_INC_INIT_TIMES` +| :term:`GEN_ENS_PROD_TIME_OFFSET_WARNING` + .. _gen-ens-prod-met-conf: @@ -1517,6 +1545,18 @@ ${METPLUS_ENSEMBLE_FLAG_DICT} * - :term:`GEN_ENS_PROD_ENSEMBLE_FLAG_CLIMO_CDP` - ensemble_flag.climo_cdp +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`GEN_ENS_PROD_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -2866,6 +2906,7 @@ METplus Configuration | :term:`GRID_DIAG_INC_VALID_TIMES` | :term:`GRID_DIAG_SKIP_INIT_TIMES` | :term:`GRID_DIAG_INC_INIT_TIMES` +| :term:`GRID_DIAG_TIME_OFFSET_WARNING` | .. _grid-diag-met-conf: @@ -2990,6 +3031,18 @@ ${METPLUS_MASK_DICT} .. note:: Since the default value in the MET config file for 'grid' is grid = [ "FULL" ];, setting GRID_DIAG_MASK_GRID to an empty string will result in a value of grid = []; in the MET config file. +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`GRID_DIAG_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -3162,6 +3215,7 @@ METplus Configuration | :term:`GRID_STAT_UGRID_MAX_DISTANCE_KM` | :term:`GRID_STAT_UGRID_COORDINATES_FILE` | :term:`GRID_STAT_UGRID_CONFIG_FILE` +| :term:`GRID_STAT_TIME_OFFSET_WARNING` | .. warning:: **DEPRECATED** @@ -3735,6 +3789,18 @@ ${METPLUS_OUTPUT_PREFIX} * - :term:`GRID_STAT_OUTPUT_PREFIX` - output_prefix +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`GRID_STAT_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -3807,6 +3873,7 @@ METplus Configuration | :term:`IODA2NC_INC_VALID_TIMES` | :term:`IODA2NC_SKIP_INIT_TIMES` | :term:`IODA2NC_INC_INIT_TIMES` +| :term:`IODA2NC_TIME_OFFSET_WARNING` .. _ioda2nc-met-conf: @@ -4029,6 +4096,18 @@ ${METPLUS_TIME_SUMMARY_DICT} * - :term:`IODA2NC_TIME_SUMMARY_VLD_THRESH` - time_summary.vld_thresh +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`IODA2NC_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -4395,6 +4474,7 @@ METplus Configuration | :term:`MODE_INC_VALID_TIMES` | :term:`MODE_SKIP_INIT_TIMES` | :term:`MODE_INC_INIT_TIMES` +| :term:`MODE_TIME_OFFSET_WARNING` | .. warning:: **DEPRECATED:** @@ -4954,7 +5034,6 @@ ${METPLUS_WEIGHT_DICT} * - :term:`MODE_WEIGHT_INTEN_PERC_VALUE` - weight.inten_perc_value - ${METPLUS_INTEREST_FUNCTION_CENTROID_DIST} """""""""""""""""""""""""""""""""""""""""" @@ -5061,6 +5140,18 @@ ${METPLUS_OUTPUT_PREFIX} * - :term:`MODE_OUTPUT_PREFIX` - output_prefix +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`MODE_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -5132,6 +5223,7 @@ METplus Configuration | :term:`MTD_INC_VALID_TIMES` | :term:`MTD_SKIP_INIT_TIMES` | :term:`MTD_INC_INIT_TIMES` +| :term:`MTD_TIME_OFFSET_WARNING` | .. warning:: **DEPRECATED:** @@ -5364,6 +5456,18 @@ ${METPLUS_OUTPUT_PREFIX} * - :term:`MTD_OUTPUT_PREFIX` - output_prefix +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`MTD_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -5424,6 +5528,7 @@ METplus Configuration | :term:`PB2NC_INC_VALID_TIMES` | :term:`PB2NC_SKIP_INIT_TIMES` | :term:`PB2NC_INC_INIT_TIMES` +| :term:`PB2NC_TIME_OFFSET_WARNING` .. warning:: **DEPRECATED:** @@ -5628,6 +5733,18 @@ ${METPLUS_TIME_SUMMARY_DICT} * - :term:`PB2NC_TIME_SUMMARY_VALID_THRESH` - time_summary.vld_thresh +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`PB2NC_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -5896,6 +6013,7 @@ Configuration | :term:`PLOT_POINT_OBS_INC_VALID_TIMES` | :term:`PLOT_POINT_OBS_SKIP_INIT_TIMES` | :term:`PLOT_POINT_OBS_INC_INIT_TIMES` +| :term:`PLOT_POINT_OBS_TIME_OFFSET_WARNING` .. _plot-point-obs-met-conf: @@ -6225,6 +6343,18 @@ ${METPLUS_POINT_DATA} * - :term:`PLOT_POINT_OBS_POINT_DATA` - point_data +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`PLOT_POINT_OBS_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -6439,6 +6569,7 @@ Configuration | :term:`POINT_STAT_UGRID_MAX_DISTANCE_KM` | :term:`POINT_STAT_UGRID_COORDINATES_FILE` | :term:`POINT_STAT_UGRID_CONFIG_FILE` +| :term:`POINT_STAT_TIME_OFFSET_WARNING` | .. warning:: **DEPRECATED:** @@ -7015,6 +7146,18 @@ ${METPLUS_OUTPUT_PREFIX} * - :term:`POINT_STAT_OUTPUT_PREFIX` - output_prefix +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`POINT_STAT_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -7232,6 +7375,7 @@ METplus Configuration | :term:`SERIES_ANALYSIS_INC_VALID_TIMES` | :term:`SERIES_ANALYSIS_SKIP_INIT_TIMES` | :term:`SERIES_ANALYSIS_INC_INIT_TIMES` +| :term:`SERIES_ANALYSIS_TIME_OFFSET_WARNING` | .. warning:: **DEPRECATED:** @@ -7594,6 +7738,18 @@ ${METPLUS_HSS_EC_VALUE} * - :term:`SERIES_ANALYSIS_HSS_EC_VALUE` - hss_ec_value +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`SERIES_ANALYSIS_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -7899,6 +8055,7 @@ The following values are optional in the METplus configuration file: | :term:`STAT_ANALYSIS_INC_VALID_TIMES` | :term:`STAT_ANALYSIS_SKIP_INIT_TIMES` | :term:`STAT_ANALYSIS_INC_INIT_TIMES` +| :term:`STAT_ANALYSIS_TIME_OFFSET_WARNING` .. warning:: **DEPRECATED:** @@ -8361,6 +8518,18 @@ ${METPLUS_HSS_EC_VALUE} * - :term:`STAT_ANALYSIS_HSS_EC_VALUE` - hss_ec_value +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`STAT_ANALYSIS_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -8441,6 +8610,7 @@ METplus Configuration | :term:`TC_DIAG_INC_VALID_TIMES` | :term:`TC_DIAG_SKIP_INIT_TIMES` | :term:`TC_DIAG_INC_INIT_TIMES` +| :term:`TC_DIAG_TIME_OFFSET_WARNING` | .. _tc-diag-met-conf: @@ -8868,6 +9038,18 @@ ${METPLUS_OUTPUT_PREFIX} * - :term:`TC_DIAG_OUTPUT_BASE_FORMAT` - output_base_format +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`TC_DIAG_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -8973,6 +9155,7 @@ METplus Configuration | :term:`TC_GEN_DLAND_FILE` | :term:`TC_GEN_BASIN_FILE` | :term:`TC_GEN_NC_PAIRS_GRID` +| :term:`TC_GEN_TIME_OFFSET_WARNING` .. warning:: **DEPRECATED:** @@ -9539,6 +9722,18 @@ ${METPLUS_NC_PAIRS_GRID} * - :term:`TC_GEN_NC_PAIRS_GRID` - nc_pairs_grid +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`TC_GEN_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -9634,6 +9829,7 @@ METplus Configuration | :term:`TC_PAIRS_INC_VALID_TIMES` | :term:`TC_PAIRS_SKIP_INIT_TIMES` | :term:`TC_PAIRS_INC_INIT_TIMES` +| :term:`TC_PAIRS_TIME_OFFSET_WARNING` | .. warning:: **DEPRECATED:** @@ -9972,6 +10168,18 @@ ${METPLUS_DIAG_CONVERT_MAP_LIST} * - :term:`TC_PAIRS_DIAG_CONVERT_MAP_CONVERT` - diag_convert_map.convert +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`TC_PAIRS_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -10038,6 +10246,7 @@ METplus Configuration | :term:`TC_RMW_INC_VALID_TIMES` | :term:`TC_RMW_SKIP_INIT_TIMES` | :term:`TC_RMW_INC_INIT_TIMES` +| :term:`TC_RMW_TIME_OFFSET_WARNING` | .. _tc-rmw-met-conf: @@ -10311,6 +10520,18 @@ ${METPLUS_RMW_SCALE} * - :term:`TC_RMW_SCALE` - rmw_scale +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`TC_RMW_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -10395,6 +10616,7 @@ METplus Configuration | :term:`TC_STAT_INC_VALID_TIMES` | :term:`TC_STAT_SKIP_INIT_TIMES` | :term:`TC_STAT_INC_INIT_TIMES` +| :term:`TC_STAT_TIME_OFFSET_WARNING` | .. warning:: **DEPRECATED:** @@ -11018,6 +11240,18 @@ ${METPLUS_JOBS} * - :term:`TC_STAT_JOBS_LIST` - jobs +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`TC_STAT_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" @@ -11158,6 +11392,7 @@ METplus Configuration | :term:`WAVELET_STAT_WVLT_PLOT_PLOT_MIN` | :term:`WAVELET_STAT_WVLT_PLOT_PLOT_MAX` | :term:`WAVELET_STAT_OUTPUT_PREFIX` +| :term:`WAVELET_STAT_TIME_OFFSET_WARNING` .. _wavelet-stat-met-conf: @@ -11416,6 +11651,18 @@ ${METPLUS_OUTPUT_PREFIX} * - :term:`WAVELET_STAT_OUTPUT_PREFIX` - output_prefix +${METPLUS_TIME_OFFSET_WARNING} +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. list-table:: + :widths: 5 5 + :header-rows: 1 + + * - METplus Config(s) + - MET Config File + * - :term:`WAVELET_STAT_TIME_OFFSET_WARNING` + - time_offset_warning + ${METPLUS_MET_CONFIG_OVERRIDES} """"""""""""""""""""""""""""""" diff --git a/internal/tests/pytests/wrappers/ascii2nc/test_ascii2nc_wrapper.py b/internal/tests/pytests/wrappers/ascii2nc/test_ascii2nc_wrapper.py index 341f93112c..045195a87c 100644 --- a/internal/tests/pytests/wrappers/ascii2nc/test_ascii2nc_wrapper.py +++ b/internal/tests/pytests/wrappers/ascii2nc/test_ascii2nc_wrapper.py @@ -183,11 +183,29 @@ def test_ascii2nc_missing_inputs(metplus_config, get_test_data_dir, 'type = ["min", "max", "range", "mean", "stdev", "median", "p80"];' 'vld_freq = 0;vld_thresh = 0.5;}')}), + ({'TIME_OFFSET_WARNING': '3'}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;', + 'METPLUS_TIME_SUMMARY_DICT': + ('time_summary = {flag = FALSE;raw_data = FALSE;beg = "000000";' + 'end = "235959";step = 300;width = 600;' + 'grib_code = [11, 204, 211];obs_var = [];' + 'type = ["min", "max", "range", "mean", "stdev", "median", "p80"];' + 'vld_freq = 0;vld_thresh = 0.0;}') + }), + + ({'TIME_OFFSET_WARNING': '3', 'ASCII2NC_TIME_OFFSET_WARNING': '4'}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;', + 'METPLUS_TIME_SUMMARY_DICT': + ('time_summary = {flag = FALSE;raw_data = FALSE;beg = "000000";' + 'end = "235959";step = 300;width = 600;' + 'grib_code = [11, 204, 211];obs_var = [];' + 'type = ["min", "max", "range", "mean", "stdev", "median", "p80"];' + 'vld_freq = 0;vld_thresh = 0.0;}') + }), ] ) @pytest.mark.wrapper -def test_ascii2nc_wrapper(metplus_config, config_overrides, - env_var_values): +def test_ascii2nc_wrapper(metplus_config, config_overrides, env_var_values): wrapper = ascii2nc_wrapper(metplus_config, config_overrides) assert wrapper.isOK diff --git a/internal/tests/pytests/wrappers/ensemble_stat/test_ensemble_stat_wrapper.py b/internal/tests/pytests/wrappers/ensemble_stat/test_ensemble_stat_wrapper.py index d767391ba0..d4d1db5858 100644 --- a/internal/tests/pytests/wrappers/ensemble_stat/test_ensemble_stat_wrapper.py +++ b/internal/tests/pytests/wrappers/ensemble_stat/test_ensemble_stat_wrapper.py @@ -637,6 +637,13 @@ def test_ensemble_stat_field_info(metplus_config, config_overrides, 'OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE': obs_point_template}, {}), + ({'ENSEMBLE_STAT_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'ENSEMBLE_STAT_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), + ] ) @pytest.mark.wrapper_c diff --git a/internal/tests/pytests/wrappers/gen_ens_prod/test_gen_ens_prod_wrapper.py b/internal/tests/pytests/wrappers/gen_ens_prod/test_gen_ens_prod_wrapper.py index 3c771f499f..4d3ca9100d 100644 --- a/internal/tests/pytests/wrappers/gen_ens_prod/test_gen_ens_prod_wrapper.py +++ b/internal/tests/pytests/wrappers/gen_ens_prod/test_gen_ens_prod_wrapper.py @@ -446,7 +446,15 @@ def test_gen_ens_prod_missing_inputs(metplus_config, get_test_data_dir, allow_mi # 68 ({'GEN_ENS_PROD_NORMALIZE': 'CLIMO_STD_ANOM', }, {'METPLUS_NORMALIZE': 'normalize = CLIMO_STD_ANOM;'}), - + # 69 + ({'GEN_ENS_PROD_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + # 70 + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + # 71 + ({'TIME_OFFSET_WARNING': 2, 'GEN_ENS_PROD_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/grid_diag/test_grid_diag.py b/internal/tests/pytests/wrappers/grid_diag/test_grid_diag.py index 9971071229..b8816ef403 100644 --- a/internal/tests/pytests/wrappers/grid_diag/test_grid_diag.py +++ b/internal/tests/pytests/wrappers/grid_diag/test_grid_diag.py @@ -344,6 +344,13 @@ def test_get_config_file(metplus_config): 'censor_thresh = [>12000, <5000];' 'censor_val = [12000, 5000];}' )}), + + ({'GRID_DIAG_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'GRID_DIAG_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/grid_stat/test_grid_stat_wrapper.py b/internal/tests/pytests/wrappers/grid_stat/test_grid_stat_wrapper.py index 7557304340..b97ad440e2 100644 --- a/internal/tests/pytests/wrappers/grid_stat/test_grid_stat_wrapper.py +++ b/internal/tests/pytests/wrappers/grid_stat/test_grid_stat_wrapper.py @@ -718,6 +718,12 @@ def test_grid_stat_is_prob(metplus_config, config_overrides, expected_values): {'METPLUS_UGRID_COORDINATES_FILE': 'ugrid_coordinates_file = "/met/test/input/ugrid_data/mpas/static.40962_reduced.nc";'}), ({'GRID_STAT_UGRID_CONFIG_FILE': ugrid_config_file, }, {}), + ({'GRID_STAT_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'GRID_STAT_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper_b diff --git a/internal/tests/pytests/wrappers/ioda2nc/test_ioda2nc_wrapper.py b/internal/tests/pytests/wrappers/ioda2nc/test_ioda2nc_wrapper.py index 0a114624af..3845b13ca8 100644 --- a/internal/tests/pytests/wrappers/ioda2nc/test_ioda2nc_wrapper.py +++ b/internal/tests/pytests/wrappers/ioda2nc/test_ioda2nc_wrapper.py @@ -230,6 +230,15 @@ def test_ioda2nc_missing_inputs(metplus_config, get_test_data_dir, missing, 'IODA2NC_NMSG': '10', }, {}, ' -iodafile *INPUT_DIR*/other/file.nc -valid_beg 20200309_12 -valid_end 20200310_12 -nmsg 10'), + # 40 + ({'IODA2NC_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}, ''), + # 41 + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}, ''), + # 42 + ({'TIME_OFFSET_WARNING': 2, 'IODA2NC_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}, ''), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/mode/test_mode_wrapper.py b/internal/tests/pytests/wrappers/mode/test_mode_wrapper.py index f510d524f2..696b1921c1 100644 --- a/internal/tests/pytests/wrappers/mode/test_mode_wrapper.py +++ b/internal/tests/pytests/wrappers/mode/test_mode_wrapper.py @@ -381,6 +381,12 @@ def test_mode_missing_inputs(metplus_config, get_test_data_dir, ({'MODE_OBS_MULTIVAR_LEVEL': 'Z10', }, {'METPLUS_OBS_MULTIVAR_LEVEL': 'multivar_level = "Z10";'}), + ({'MODE_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'MODE_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper_a diff --git a/internal/tests/pytests/wrappers/mtd/test_mtd_wrapper.py b/internal/tests/pytests/wrappers/mtd/test_mtd_wrapper.py index c9267afc76..a3057838f8 100644 --- a/internal/tests/pytests/wrappers/mtd/test_mtd_wrapper.py +++ b/internal/tests/pytests/wrappers/mtd/test_mtd_wrapper.py @@ -199,6 +199,13 @@ def test_mtd_missing_inputs(metplus_config, get_test_data_dir, ({'MTD_OUTPUT_PREFIX': 'my_output_prefix'}, {'METPLUS_OUTPUT_PREFIX': 'output_prefix = "my_output_prefix";'}), + + ({'MTD_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'MTD_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/pb2nc/test_pb2nc_wrapper.py b/internal/tests/pytests/wrappers/pb2nc/test_pb2nc_wrapper.py index 4c596f8761..dc7a617179 100644 --- a/internal/tests/pytests/wrappers/pb2nc/test_pb2nc_wrapper.py +++ b/internal/tests/pytests/wrappers/pb2nc/test_pb2nc_wrapper.py @@ -282,6 +282,12 @@ def test_find_input_files(metplus_config, offsets, offset_to_find): ({'PB2NC_VALID_END': valid_end}, {}), ({'PB2NC_VALID_BEGIN': valid_beg, 'PB2NC_VALID_END': valid_end}, {}), + ({'PB2NC_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'PB2NC_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/plot_point_obs/test_plot_point_obs_wrapper.py b/internal/tests/pytests/wrappers/plot_point_obs/test_plot_point_obs_wrapper.py index e69a324418..337d2d55ed 100644 --- a/internal/tests/pytests/wrappers/plot_point_obs/test_plot_point_obs_wrapper.py +++ b/internal/tests/pytests/wrappers/plot_point_obs/test_plot_point_obs_wrapper.py @@ -248,6 +248,12 @@ def test_plot_point_obs_missing_inputs(metplus_config, get_test_data_dir, ({'PLOT_POINT_OBS_POINT_DATA': point_data_input, }, {'METPLUS_POINT_DATA': f'point_data = {point_data_format}'}), + ({'PLOT_POINT_OBS_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'PLOT_POINT_OBS_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper_c diff --git a/internal/tests/pytests/wrappers/point_stat/test_point_stat_wrapper.py b/internal/tests/pytests/wrappers/point_stat/test_point_stat_wrapper.py index 9780ead0fe..9589448f2f 100755 --- a/internal/tests/pytests/wrappers/point_stat/test_point_stat_wrapper.py +++ b/internal/tests/pytests/wrappers/point_stat/test_point_stat_wrapper.py @@ -668,6 +668,12 @@ def test_met_dictionary_in_var_options(metplus_config): {'METPLUS_OBS_PERC_VALUE': 'obs_perc_value = 50;'}), ({'POINT_STAT_UGRID_CONFIG_FILE': ugrid_config_file, }, {}), + ({'POINT_STAT_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'POINT_STAT_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper_a diff --git a/internal/tests/pytests/wrappers/stat_analysis/test_stat_analysis.py b/internal/tests/pytests/wrappers/stat_analysis/test_stat_analysis.py index 9da87d0faa..d0601dcb4a 100644 --- a/internal/tests/pytests/wrappers/stat_analysis/test_stat_analysis.py +++ b/internal/tests/pytests/wrappers/stat_analysis/test_stat_analysis.py @@ -172,6 +172,15 @@ def set_minimum_config_settings(config): 'MODEL1': '{custom}', 'MODEL_LIST': '{custom}'}, {'METPLUS_MODEL': 'model = ["CUSTOM_MODEL"];'}), + # 17 time_offset_warning app + ({'STAT_ANALYSIS_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + # 18 time_offset_warning generic + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + # 19 time_offset_warning both + ({'TIME_OFFSET_WARNING': 2, 'STAT_ANALYSIS_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper_d diff --git a/internal/tests/pytests/wrappers/tc_diag/test_tc_diag_wrapper.py b/internal/tests/pytests/wrappers/tc_diag/test_tc_diag_wrapper.py index a2c2635aec..19813070cf 100644 --- a/internal/tests/pytests/wrappers/tc_diag/test_tc_diag_wrapper.py +++ b/internal/tests/pytests/wrappers/tc_diag/test_tc_diag_wrapper.py @@ -239,6 +239,13 @@ def test_tc_diag_missing_inputs(metplus_config, get_test_data_dir, ({'TC_DIAG_OUTPUT_BASE_FORMAT': 's{storm_id}_{technique}_doper_{init_ymdh}', }, {'METPLUS_OUTPUT_BASE_FORMAT': 'output_base_format = "s{storm_id}_{technique}_doper_{init_ymdh}";'}), ({'TC_DIAG_ONE_TIME_PER_FILE_FLAG': 'false', }, {'METPLUS_ONE_TIME_PER_FILE_FLAG': 'one_time_per_file_flag = FALSE;'}), + + ({'TC_DIAG_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'TC_DIAG_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/tc_gen/test_tc_gen_wrapper.py b/internal/tests/pytests/wrappers/tc_gen/test_tc_gen_wrapper.py index c6fe70f2a7..9051d682d7 100644 --- a/internal/tests/pytests/wrappers/tc_gen/test_tc_gen_wrapper.py +++ b/internal/tests/pytests/wrappers/tc_gen/test_tc_gen_wrapper.py @@ -339,6 +339,12 @@ def test_tc_gen_missing_inputs(metplus_config, get_test_data_dir, allow_missing, }, {'METPLUS_OPS_HIT_WINDOW_DICT': 'ops_hit_window = {beg = 1;end = 47;}'}), + ({'TC_GEN_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'TC_GEN_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper_a diff --git a/internal/tests/pytests/wrappers/tc_pairs/test_tc_pairs_wrapper.py b/internal/tests/pytests/wrappers/tc_pairs/test_tc_pairs_wrapper.py index 354394da65..543fce479b 100644 --- a/internal/tests/pytests/wrappers/tc_pairs/test_tc_pairs_wrapper.py +++ b/internal/tests/pytests/wrappers/tc_pairs/test_tc_pairs_wrapper.py @@ -606,6 +606,13 @@ def test_tc_pairs_storm_id_lists(metplus_config, get_test_data_dir, config_overr 'TC_PAIRS_DIAG_SOURCE1': 'TCDIAG', }, {'DIAG_ARG': '-diag TCDIAG /bmlq2014123118.gfso.0104',}), + + ('VALID', {'TC_PAIRS_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ('VALID', {'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ('VALID', {'TIME_OFFSET_WARNING': 2, 'TC_PAIRS_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/tc_stat/test_tc_stat_wrapper.py b/internal/tests/pytests/wrappers/tc_stat/test_tc_stat_wrapper.py index 12bcc44db5..b027050510 100644 --- a/internal/tests/pytests/wrappers/tc_stat/test_tc_stat_wrapper.py +++ b/internal/tests/pytests/wrappers/tc_stat/test_tc_stat_wrapper.py @@ -242,6 +242,12 @@ def test_tc_stat_handle_jobs(metplus_config, config_overrides, expected_dirs, ({'TC_STAT_OUTPUT_TEMPLATE': 'tc_stat.out.nc', }, {}), + ({'TC_STAT_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'TC_STAT_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/tcrmw/test_tcrmw_wrapper.py b/internal/tests/pytests/wrappers/tcrmw/test_tcrmw_wrapper.py index 3556a709ed..e6981ddcd1 100644 --- a/internal/tests/pytests/wrappers/tcrmw/test_tcrmw_wrapper.py +++ b/internal/tests/pytests/wrappers/tcrmw/test_tcrmw_wrapper.py @@ -125,6 +125,12 @@ def set_minimum_config_settings(config): ({'TC_RMW_RMW_SCALE': '15', }, {'METPLUS_RMW_SCALE': 'rmw_scale = 15.0;'}), + ({'TC_RMW_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'TC_RMW_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper diff --git a/internal/tests/pytests/wrappers/wavelet_stat/test_wavelet_stat.py b/internal/tests/pytests/wrappers/wavelet_stat/test_wavelet_stat.py index 5b98680136..97b364c7a0 100644 --- a/internal/tests/pytests/wrappers/wavelet_stat/test_wavelet_stat.py +++ b/internal/tests/pytests/wrappers/wavelet_stat/test_wavelet_stat.py @@ -313,6 +313,12 @@ def test_wavelet_stat_is_prob(metplus_config, config_overrides, expected_values) ({'OBS_WAVELET_STAT_FILE_TYPE': 'NETCDF_NCCF', }, {'METPLUS_OBS_FILE_TYPE': 'file_type = NETCDF_NCCF;'}), + ({'WAVELET_STAT_TIME_OFFSET_WARNING': 3}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 3;'}), + ({'TIME_OFFSET_WARNING': 2}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 2;'}), + ({'TIME_OFFSET_WARNING': 2, 'WAVELET_STAT_TIME_OFFSET_WARNING': 4}, + {'METPLUS_TIME_OFFSET_WARNING': 'time_offset_warning = 4;'}), ] ) @pytest.mark.wrapper_b diff --git a/metplus/wrappers/command_builder.py b/metplus/wrappers/command_builder.py index 8886408857..7cde480858 100755 --- a/metplus/wrappers/command_builder.py +++ b/metplus/wrappers/command_builder.py @@ -103,6 +103,16 @@ def __init__(self, config, instance=None): # add key to list of env vars to set self.env_var_keys.append(self.MET_OVERRIDES_KEY) + # add time_offset_warning env var + self.env_var_keys.append('METPLUS_TIME_OFFSET_WARNING') + time_offset_warning = self.get_wrapper_or_generic_config( + 'TIME_OFFSET_WARNING', var_type='int' + ) + if time_offset_warning != '': + self.env_var_dict['METPLUS_TIME_OFFSET_WARNING'] = ( + f'time_offset_warning = {time_offset_warning};' + ) + # warn if any environment variables set by the wrapper are not # being utilized in the user's config file self.check_for_unused_env_vars() diff --git a/parm/met_config/Ascii2NcConfig_wrapped b/parm/met_config/Ascii2NcConfig_wrapped index 4233450615..e86116277b 100644 --- a/parm/met_config/Ascii2NcConfig_wrapped +++ b/parm/met_config/Ascii2NcConfig_wrapped @@ -38,4 +38,5 @@ message_type_map = [ tmp_dir = "${MET_TMP_DIR}"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/EnsembleStatConfig_wrapped b/parm/met_config/EnsembleStatConfig_wrapped index cbbbce57dd..c01f807c6b 100644 --- a/parm/met_config/EnsembleStatConfig_wrapped +++ b/parm/met_config/EnsembleStatConfig_wrapped @@ -237,4 +237,5 @@ ${METPLUS_OUTPUT_PREFIX} tmp_dir = "${MET_TMP_DIR}"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/GenEnsProdConfig_wrapped b/parm/met_config/GenEnsProdConfig_wrapped index 9e8d21275c..223920e7c8 100644 --- a/parm/met_config/GenEnsProdConfig_wrapped +++ b/parm/met_config/GenEnsProdConfig_wrapped @@ -115,4 +115,5 @@ ${METPLUS_ENSEMBLE_FLAG_DICT} tmp_dir = "${MET_TMP_DIR}"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/GridDiagConfig_wrapped b/parm/met_config/GridDiagConfig_wrapped index 691338acf2..8c5117ddbe 100644 --- a/parm/met_config/GridDiagConfig_wrapped +++ b/parm/met_config/GridDiagConfig_wrapped @@ -41,4 +41,5 @@ ${METPLUS_MASK_DICT} tmp_dir = "${MET_TMP_DIR}"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/GridStatConfig_wrapped b/parm/met_config/GridStatConfig_wrapped index 788b863721..11259f108d 100644 --- a/parm/met_config/GridStatConfig_wrapped +++ b/parm/met_config/GridStatConfig_wrapped @@ -205,4 +205,5 @@ ${METPLUS_OUTPUT_PREFIX} //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/IODA2NCConfig_wrapped b/parm/met_config/IODA2NCConfig_wrapped index ba1faa1695..7f25fb8cf1 100644 --- a/parm/met_config/IODA2NCConfig_wrapped +++ b/parm/met_config/IODA2NCConfig_wrapped @@ -114,4 +114,5 @@ tmp_dir = "${MET_TMP_DIR}"; //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/MODEConfig_wrapped b/parm/met_config/MODEConfig_wrapped index ff1ac480f9..54af9bcf4b 100644 --- a/parm/met_config/MODEConfig_wrapped +++ b/parm/met_config/MODEConfig_wrapped @@ -277,4 +277,5 @@ tmp_dir = "${MET_TMP_DIR}"; //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/MTDConfig_wrapped b/parm/met_config/MTDConfig_wrapped index d521670eac..f010982346 100644 --- a/parm/met_config/MTDConfig_wrapped +++ b/parm/met_config/MTDConfig_wrapped @@ -257,4 +257,5 @@ tmp_dir = "${MET_TMP_DIR}"; //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/PB2NCConfig_wrapped b/parm/met_config/PB2NCConfig_wrapped index 8b9057923b..6174608bb9 100644 --- a/parm/met_config/PB2NCConfig_wrapped +++ b/parm/met_config/PB2NCConfig_wrapped @@ -129,4 +129,5 @@ tmp_dir = "${MET_TMP_DIR}"; //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/PlotPointObsConfig_wrapped b/parm/met_config/PlotPointObsConfig_wrapped index 2194f01fee..8fd113b86d 100644 --- a/parm/met_config/PlotPointObsConfig_wrapped +++ b/parm/met_config/PlotPointObsConfig_wrapped @@ -96,4 +96,5 @@ tmp_dir = "${MET_TMP_DIR}"; //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/PointStatConfig_wrapped b/parm/met_config/PointStatConfig_wrapped index 48666e2d87..b7f1dc9334 100644 --- a/parm/met_config/PointStatConfig_wrapped +++ b/parm/met_config/PointStatConfig_wrapped @@ -212,4 +212,5 @@ ${METPLUS_OUTPUT_PREFIX} //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/STATAnalysisConfig_wrapped b/parm/met_config/STATAnalysisConfig_wrapped index d38c8def2d..e3e32deba4 100644 --- a/parm/met_config/STATAnalysisConfig_wrapped +++ b/parm/met_config/STATAnalysisConfig_wrapped @@ -164,4 +164,5 @@ tmp_dir = "${MET_TMP_DIR}"; //version = "V10.0"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/SeriesAnalysisConfig_wrapped b/parm/met_config/SeriesAnalysisConfig_wrapped index a7ccba88b0..4836623043 100644 --- a/parm/met_config/SeriesAnalysisConfig_wrapped +++ b/parm/met_config/SeriesAnalysisConfig_wrapped @@ -129,4 +129,5 @@ tmp_dir = "${MET_TMP_DIR}"; //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/TCDiagConfig_wrapped b/parm/met_config/TCDiagConfig_wrapped index 8dacb81b26..0407e982c5 100644 --- a/parm/met_config/TCDiagConfig_wrapped +++ b/parm/met_config/TCDiagConfig_wrapped @@ -180,4 +180,5 @@ tmp_dir = "${MET_TMP_DIR}"; //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/TCGenConfig_wrapped b/parm/met_config/TCGenConfig_wrapped index c18f895f8b..7d813aa105 100644 --- a/parm/met_config/TCGenConfig_wrapped +++ b/parm/met_config/TCGenConfig_wrapped @@ -294,4 +294,5 @@ ${METPLUS_NC_PAIRS_GRID} tmp_dir = "${MET_TMP_DIR}"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/TCPairsConfig_wrapped b/parm/met_config/TCPairsConfig_wrapped index 93947c0c18..7b9aa04651 100644 --- a/parm/met_config/TCPairsConfig_wrapped +++ b/parm/met_config/TCPairsConfig_wrapped @@ -168,4 +168,5 @@ ${METPLUS_DIAG_CONVERT_MAP_LIST} tmp_dir = "${MET_TMP_DIR}"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/TCRMWConfig_wrapped b/parm/met_config/TCRMWConfig_wrapped index 49a8b0bdab..0cd32cee3a 100644 --- a/parm/met_config/TCRMWConfig_wrapped +++ b/parm/met_config/TCRMWConfig_wrapped @@ -91,4 +91,5 @@ ${METPLUS_RMW_SCALE} tmp_dir = "${MET_TMP_DIR}"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/TCStatConfig_wrapped b/parm/met_config/TCStatConfig_wrapped index dc4d5ec780..a6bd4afb23 100644 --- a/parm/met_config/TCStatConfig_wrapped +++ b/parm/met_config/TCStatConfig_wrapped @@ -233,4 +233,5 @@ ${METPLUS_JOBS} tmp_dir = "${MET_TMP_DIR}"; +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/met_config/WaveletStatConfig_wrapped b/parm/met_config/WaveletStatConfig_wrapped index 9f3f0e17f8..9114b6b810 100644 --- a/parm/met_config/WaveletStatConfig_wrapped +++ b/parm/met_config/WaveletStatConfig_wrapped @@ -125,4 +125,5 @@ ${METPLUS_OUTPUT_PREFIX} //////////////////////////////////////////////////////////////////////////////// +${METPLUS_TIME_OFFSET_WARNING} ${METPLUS_MET_CONFIG_OVERRIDES} diff --git a/parm/use_cases/met_tool_wrapper/ASCII2NC/ASCII2NC.conf b/parm/use_cases/met_tool_wrapper/ASCII2NC/ASCII2NC.conf index bf7481144b..778ea8ae76 100644 --- a/parm/use_cases/met_tool_wrapper/ASCII2NC/ASCII2NC.conf +++ b/parm/use_cases/met_tool_wrapper/ASCII2NC/ASCII2NC.conf @@ -76,3 +76,5 @@ ASCII2NC_TIME_SUMMARY_VAR_NAMES = ASCII2NC_TIME_SUMMARY_TYPES = min, max, range, mean, stdev, median, p80 ASCII2NC_TIME_SUMMARY_VALID_FREQ = 0 ASCII2NC_TIME_SUMMARY_VALID_THRESH = 0.0 + +#ASCII2NC_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/EnsembleStat/EnsembleStat.conf b/parm/use_cases/met_tool_wrapper/EnsembleStat/EnsembleStat.conf index da1c9d5e6d..92c9ef6a18 100644 --- a/parm/use_cases/met_tool_wrapper/EnsembleStat/EnsembleStat.conf +++ b/parm/use_cases/met_tool_wrapper/EnsembleStat/EnsembleStat.conf @@ -205,3 +205,5 @@ ENSEMBLE_STAT_NC_ORANK_FLAG_WEIGHT = FALSE #ENSEMBLE_STAT_CONTROL_ID = #ENSEMBLE_STAT_GRID_WEIGHT_FLAG = + +#ENSEMBLE_STAT_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/GenEnsProd/GenEnsProd.conf b/parm/use_cases/met_tool_wrapper/GenEnsProd/GenEnsProd.conf index 55ff515571..2d2394d374 100644 --- a/parm/use_cases/met_tool_wrapper/GenEnsProd/GenEnsProd.conf +++ b/parm/use_cases/met_tool_wrapper/GenEnsProd/GenEnsProd.conf @@ -165,3 +165,5 @@ GEN_ENS_PROD_ENS_THRESH = 0.8 #GEN_ENS_PROD_ENS_MEMBER_IDS = #GEN_ENS_PROD_CONTROL_ID = + +#GEN_ENS_PROD_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/GridDiag/GridDiag.conf b/parm/use_cases/met_tool_wrapper/GridDiag/GridDiag.conf index 4104ee6016..23813198fa 100644 --- a/parm/use_cases/met_tool_wrapper/GridDiag/GridDiag.conf +++ b/parm/use_cases/met_tool_wrapper/GridDiag/GridDiag.conf @@ -83,3 +83,5 @@ GRID_DIAG_CONFIG_FILE = {PARM_BASE}/met_config/GridDiagConfig_wrapped #GRID_DIAG_REGRID_CENSOR_VAL = GRID_DIAG_MASK_POLY = MET_BASE/poly/SAO.poly + +#GRID_DIAG_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/GridStat/GridStat.conf b/parm/use_cases/met_tool_wrapper/GridStat/GridStat.conf index 135e4bde93..0780e9d0bb 100644 --- a/parm/use_cases/met_tool_wrapper/GridStat/GridStat.conf +++ b/parm/use_cases/met_tool_wrapper/GridStat/GridStat.conf @@ -214,3 +214,5 @@ GRID_STAT_NC_PAIRS_FLAG_APPLY_MASK = FALSE #GRID_STAT_UGRID_MAX_DISTANCE_KM = #GRID_STAT_UGRID_COORDINATES_FILE = #GRID_STAT_UGRID_CONFIG_FILE = + +#GRID_STAT_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf b/parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf index 0948944a55..a036901873 100644 --- a/parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf +++ b/parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf @@ -96,3 +96,5 @@ IODA2NC_TIME_SUMMARY_OBS_VAR = "WIND" IODA2NC_TIME_SUMMARY_TYPE = "min", "max", "range", "mean", "stdev", "median", "p80" IODA2NC_TIME_SUMMARY_VLD_FREQ = 0 IODA2NC_TIME_SUMMARY_VLD_THRESH = 0.0 + +#IODA2NC_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/MODE/MODE.conf b/parm/use_cases/met_tool_wrapper/MODE/MODE.conf index 0d1add4b8b..55fbba5a5f 100644 --- a/parm/use_cases/met_tool_wrapper/MODE/MODE.conf +++ b/parm/use_cases/met_tool_wrapper/MODE/MODE.conf @@ -169,3 +169,5 @@ MODE_QUILT = True #MODE_PS_PLOT_FLAG = #MODE_CT_STATS_FLAG = + +#MODE_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/MTD/MTD.conf b/parm/use_cases/met_tool_wrapper/MTD/MTD.conf index 6f615537e0..30d3c1403c 100644 --- a/parm/use_cases/met_tool_wrapper/MTD/MTD.conf +++ b/parm/use_cases/met_tool_wrapper/MTD/MTD.conf @@ -99,3 +99,5 @@ MTD_REGRID_TO_GRID = OBS MTD_MIN_VOLUME = 2000 MTD_OUTPUT_PREFIX = {MODEL}_{CURRENT_FCST_NAME}_vs_{OBTYPE}_{CURRENT_OBS_NAME}_{CURRENT_FCST_LEVEL} + +#MTD_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/PB2NC/PB2NC.conf b/parm/use_cases/met_tool_wrapper/PB2NC/PB2NC.conf index 93651289ea..9acd346c18 100644 --- a/parm/use_cases/met_tool_wrapper/PB2NC/PB2NC.conf +++ b/parm/use_cases/met_tool_wrapper/PB2NC/PB2NC.conf @@ -94,3 +94,5 @@ PB2NC_TIME_SUMMARY_VALID_FREQ = 0 PB2NC_TIME_SUMMARY_VALID_THRESH = 0.0 #PB2NC_OBS_BUFR_MAP = + +#PB2NC_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/PlotPointObs/PlotPointObs.conf b/parm/use_cases/met_tool_wrapper/PlotPointObs/PlotPointObs.conf index 304e1c5253..6289088f02 100644 --- a/parm/use_cases/met_tool_wrapper/PlotPointObs/PlotPointObs.conf +++ b/parm/use_cases/met_tool_wrapper/PlotPointObs/PlotPointObs.conf @@ -131,3 +131,5 @@ PLOT_POINT_OBS_POINT_DATA = colorbar_flag = FALSE; } } + +#PLOT_POINT_OBS_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/PointStat/PointStat.conf b/parm/use_cases/met_tool_wrapper/PointStat/PointStat.conf index 11723fcda3..599d65620b 100644 --- a/parm/use_cases/met_tool_wrapper/PointStat/PointStat.conf +++ b/parm/use_cases/met_tool_wrapper/PointStat/PointStat.conf @@ -203,3 +203,5 @@ POINT_STAT_MESSAGE_TYPE = ADPUPA, ADPSFC #POINT_STAT_UGRID_MAX_DISTANCE_KM = #POINT_STAT_UGRID_COORDINATES_FILE = #POINT_STAT_UGRID_CONFIG_FILE = + +#POINT_STAT_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.conf b/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.conf index 7b5fdb8edf..5dc6de3be6 100644 --- a/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.conf +++ b/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.conf @@ -172,3 +172,5 @@ SERIES_ANALYSIS_GENERATE_PLOTS = no PLOT_DATA_PLANE_TITLE = SERIES_ANALYSIS_GENERATE_ANIMATIONS = no + +#SERIES_ANALYSIS_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis.conf b/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis.conf index 14eb180192..59378482fe 100644 --- a/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis.conf +++ b/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis.conf @@ -84,3 +84,5 @@ LINE_TYPE_LIST = GROUP_LIST_ITEMS = FCST_INIT_HOUR_LIST LOOP_LIST_ITEMS = FCST_VALID_HOUR_LIST, MODEL_LIST + +#STAT_ANALYSIS_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/TCDiag/TCDiag.conf b/parm/use_cases/met_tool_wrapper/TCDiag/TCDiag.conf index fc4d27a554..078e9c04ae 100644 --- a/parm/use_cases/met_tool_wrapper/TCDiag/TCDiag.conf +++ b/parm/use_cases/met_tool_wrapper/TCDiag/TCDiag.conf @@ -118,4 +118,4 @@ TC_DIAG_DOMAIN_INFO1_OVERRIDE_DIAGS = #TC_DIAG_CIRA_DIAG_FLAG = #TC_DIAG_OUTPUT_BASE_FORMAT = -#LOG_LEVEL=DEBUG \ No newline at end of file +#TC_DIAG_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/TCGen/TCGen.conf b/parm/use_cases/met_tool_wrapper/TCGen/TCGen.conf index ace36034eb..424c3376bb 100644 --- a/parm/use_cases/met_tool_wrapper/TCGen/TCGen.conf +++ b/parm/use_cases/met_tool_wrapper/TCGen/TCGen.conf @@ -177,3 +177,5 @@ TC_GEN_DLAND_FILE = MET_BASE/tc_data/dland_global_tenth_degree.nc TC_GEN_BASIN_FILE = MET_BASE/tc_data/basin_global_tenth_degree.nc TC_GEN_NC_PAIRS_GRID = G003 + +#TC_GEN_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.conf b/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.conf index e5a0bcf1eb..231138ef23 100644 --- a/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.conf +++ b/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.conf @@ -122,3 +122,5 @@ TC_PAIRS_MISSING_VAL = -9999 #TC_PAIRS_DIAG_CONVERT_MAP1_DIAG_SOURCE = #TC_PAIRS_DIAG_CONVERT_MAP1_KEY = #TC_PAIRS_DIAG_CONVERT_MAP1_CONVERT = + +#TC_PAIRS_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_tropical.conf b/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_tropical.conf index e68b5d45f3..9c3415b5ee 100644 --- a/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_tropical.conf +++ b/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_tropical.conf @@ -115,3 +115,5 @@ TC_PAIRS_DLAND_FILE = MET_BASE/tc_data/dland_global_tenth_degree.nc #TC_PAIRS_DIAG_CONVERT_MAP1_DIAG_SOURCE = #TC_PAIRS_DIAG_CONVERT_MAP1_KEY = #TC_PAIRS_DIAG_CONVERT_MAP1_CONVERT = + +#TC_PAIRS_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/TCRMW/TCRMW.conf b/parm/use_cases/met_tool_wrapper/TCRMW/TCRMW.conf index 91c4791912..252dca5dfd 100644 --- a/parm/use_cases/met_tool_wrapper/TCRMW/TCRMW.conf +++ b/parm/use_cases/met_tool_wrapper/TCRMW/TCRMW.conf @@ -96,3 +96,5 @@ TC_RMW_CYCLONE = 14 #TC_RMW_VALID_INCLUDE_LIST = #TC_RMW_VALID_EXCLUDE_LIST = #TC_RMW_VALID_HOUR_LIST = + +#TC_RMW_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/TCStat/TCStat.conf b/parm/use_cases/met_tool_wrapper/TCStat/TCStat.conf index ec1705915b..7f4be36833 100644 --- a/parm/use_cases/met_tool_wrapper/TCStat/TCStat.conf +++ b/parm/use_cases/met_tool_wrapper/TCStat/TCStat.conf @@ -117,3 +117,5 @@ TC_STAT_MATCH_POINTS = false #TC_STAT_EVENT_EQUAL_LEAD = #TC_STAT_OUT_INIT_MASK = #TC_STAT_OUT_VALID_MASK = + +#TC_STAT_TIME_OFFSET_WARNING = diff --git a/parm/use_cases/met_tool_wrapper/WaveletStat/WaveletStat.conf b/parm/use_cases/met_tool_wrapper/WaveletStat/WaveletStat.conf index 40bbd5cac0..1cf908fd50 100644 --- a/parm/use_cases/met_tool_wrapper/WaveletStat/WaveletStat.conf +++ b/parm/use_cases/met_tool_wrapper/WaveletStat/WaveletStat.conf @@ -131,3 +131,5 @@ WAVELET_STAT_OUTPUT_FLAG_ISC = STAT #WAVELET_STAT_WVLT_PLOT_PLOT_MAX = #WAVELET_STAT_OUTPUT_PREFIX = + +#WAVELET_STAT_TIME_OFFSET_WARNING =