Skip to content

Commit

Permalink
Feature #2540 Point2Grid config file (#2580)
Browse files Browse the repository at this point in the history
* per #2540, add support for setting values in a config file for Point2Grid wrapper -- removed -qc flag argument in favor of setting obs_quality_inc in the config file

* Added support for setting time_offset_warning now that the changes for other wrappers was merged into develop. Also added support for MET_CONFIG_OVERRIDES for Point2Grid

* per #2540, set -goes_qc command line argument from POINT2GRID_GOES_QC_FLAGS and continue to support legacy POINT2GRID_QC_FLAGS. Other fixes to resolve incorrectly resolved conflicts from previous commit merging develop into branch

* per #2540, remove quality_mark_thresh from config file because it has been removed from MET point2grid

* Per discussion in PR #2580, remove time_offset_warning support from tools that don't actually use the value -- to add support for a new wrapper, update metplus/util/constants.py TIME_OFFSET_WARNING_WRAPPERS to include the wrapper's name

* removed env vars for time_offset_warning for wrappers that no longer set it
  • Loading branch information
georgemccabe authored Oct 10, 2024
1 parent 7ec53f0 commit 7925403
Show file tree
Hide file tree
Showing 56 changed files with 396 additions and 485 deletions.
139 changes: 59 additions & 80 deletions docs/Users_Guide/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,12 @@ METplus Configuration Glossary
| *Used by:* Point2Grid
POINT2GRID_QC_FLAGS
Specify the qc flags name that is read by Point2Grid.
.. warning:: **DEPRECATED:** Please use :term:`POINT2GRID_GOES_QC_FLAGS`.

| *Used by:* Point2Grid
POINT2GRID_GOES_QC_FLAGS
Sets the value for the -goes_qc command line argument for Point2Grid.

| *Used by:* Point2Grid
Expand Down Expand Up @@ -11624,6 +11629,46 @@ METplus Configuration Glossary

| *Used by:* PointStat
POINT2GRID_VALID_TIME
Specify the value for 'valid_time' in the MET configuration file for Point2Grid.

| *Used by:* Point2Grid
POINT2GRID_OBS_WINDOW_BEG
Specify the value for 'obs_window.beg' in the MET configuration file for Point2Grid.

| *Used by:* Point2Grid
POINT2GRID_OBS_WINDOW_END
Specify the value for 'obs_window.end' in the MET configuration file for Point2Grid.

| *Used by:* Point2Grid
POINT2GRID_MESSAGE_TYPE
Specify the value for 'message_type' in the MET configuration file for Point2Grid.

| *Used by:* Point2Grid
POINT2GRID_VAR_NAME_MAP<n>_KEY
Specify the value for the nth 'var_name_map.key' in the MET configuration file for Point2Grid.

| *Used by:* Point2Grid
POINT2GRID_VAR_NAME_MAP<n>_VAL
Specify the value for the nth 'var_name_map.val' in the MET configuration file for Point2Grid.

| *Used by:* Point2Grid
POINT2GRID_OBS_QUALITY_INC
Specify the value for 'obs_quality_inc' in the MET configuration file for Point2Grid.

| *Used by:* Point2Grid
POINT2GRID_OBS_QUALITY_EXC
Specify the value for 'obs_quality_exc' in the MET configuration file for Point2Grid.

| *Used by:* Point2Grid
MADIS2NC_CUSTOM_LOOP_LIST
Sets custom string loop list for a specific wrapper. See :term:`CUSTOM_LOOP_LIST`.

Expand Down Expand Up @@ -11812,105 +11857,39 @@ METplus Configuration Glossary

| *Used by:* MADIS2NC
MADIS2NC_TIME_OFFSET_WARNING
Specify the value for 'time_offset_warning' in the MET configuration file for MADIS2NC.

| *Used by:* MADIS2NC
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.
WAVELET_STAT_TIME_OFFSET_WARNING
Specify the value for 'time_offset_warning' in the MET configuration file for WaveletStat.

| *Used by:* TCRMW
| *Used by:* WaveletStat
TC_STAT_TIME_OFFSET_WARNING
Specify the value for 'time_offset_warning' in the MET configuration file for TCStat.
POINT2GRID_MET_CONFIG_OVERRIDES
Override any variables in the MET configuration file that are not
supported by the wrapper. This should be set to the full variable name
and value that you want to override, including the equal sign and the
ending semi-colon. The value is directly appended to the end of the
wrapped MET config file.

| *Used by:* TCStat
Example:
POINT2GRID_MET_CONFIG_OVERRIDES = desc = "override_desc"; model = "override_model";

WAVELET_STAT_TIME_OFFSET_WARNING
Specify the value for 'time_offset_warning' in the MET configuration file for WaveletStat.
See :ref:`Overriding Unsupported MET config file settings<met-config-overrides>` for more information

| *Used by:* WaveletStat
| *Used by:* Point2Grid
ASCII2NC_VALID_BEG
Specify the value for the command line argument '-valid_beg' for ASCII2NC.
Expand Down
Loading

0 comments on commit 7925403

Please sign in to comment.