-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature #2540 Point2Grid config file #2580
Merged
Merged
Changes from 7 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f35b6a5
per #2540, add support for setting values in a config file for Point2…
georgemccabe 50e5a32
merged develop and resolved conflicts
georgemccabe 1fdff32
Added support for setting time_offset_warning now that the changes fo…
georgemccabe 8e8f29b
merged develop and resolved conflicts
georgemccabe 0676c86
per #2540, set -goes_qc command line argument from POINT2GRID_GOES_QC…
georgemccabe e545402
per #2540, remove quality_mark_thresh from config file because it has…
georgemccabe 2ca893f
Merge branch 'develop' into feature_2540_point2grid_config
georgemccabe 9a2afba
Per discussion in PR #2580, remove time_offset_warning support from t…
georgemccabe 4455f3c
removed env vars for time_offset_warning for wrappers that no longer …
georgemccabe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6862,7 +6862,7 @@ METplus Configuration | |
| :term:`POINT2GRID_REGRID_TO_GRID` | ||
| :term:`POINT2GRID_INPUT_FIELD` | ||
| :term:`POINT2GRID_INPUT_LEVEL` | ||
| :term:`POINT2GRID_QC_FLAGS` | ||
| :term:`POINT2GRID_GOES_QC_FLAGS` | ||
| :term:`POINT2GRID_ADP` | ||
| :term:`POINT2GRID_REGRID_METHOD` | ||
| :term:`POINT2GRID_GAUSSIAN_DX` | ||
|
@@ -6875,8 +6875,147 @@ METplus Configuration | |
| :term:`POINT2GRID_INC_VALID_TIMES` | ||
| :term:`POINT2GRID_SKIP_INIT_TIMES` | ||
| :term:`POINT2GRID_INC_INIT_TIMES` | ||
| :term:`POINT2GRID_VALID_TIME` | ||
| :term:`POINT2GRID_OBS_WINDOW_BEG` | ||
| :term:`POINT2GRID_OBS_WINDOW_END` | ||
| :term:`POINT2GRID_MESSAGE_TYPE` | ||
| :term:`POINT2GRID_VAR_NAME_MAP<n>_KEY` | ||
| :term:`POINT2GRID_VAR_NAME_MAP<n>_VAL` | ||
| :term:`POINT2GRID_OBS_QUALITY_INC` | ||
| :term:`POINT2GRID_OBS_QUALITY_EXC` | ||
| :term:`POINT2GRID_TIME_OFFSET_WARNING` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure if we should add |
||
| :term:`POINT2GRID_MET_CONFIG_OVERRIDES` | ||
| | ||
|
||
.. warning:: **DEPRECATED:** | ||
|
||
| :term:`POINT2GRID_QC_FLAGS` | ||
|
||
.. _point2grid-met-conf: | ||
|
||
MET Configuration | ||
----------------- | ||
|
||
Below is the wrapped MET configuration file used for this wrapper. | ||
Environment variables are used to control entries in this configuration file. | ||
The default value for each environment variable is obtained from | ||
(except where noted below): | ||
|
||
`MET_INSTALL_DIR/share/met/config/Point2GridConfig_default <https://github.com/dtcenter/MET/blob/HEAD/data/config/Point2GridConfig_default>`_ | ||
|
||
Below the file contents are descriptions of each environment variable | ||
referenced in this file and the corresponding METplus configuration item used | ||
to set the value of the environment variable. For detailed examples showing | ||
how METplus sets the values of these environment variables, | ||
see :ref:`How METplus controls MET config file settings<metplus-control-met>`. | ||
|
||
.. dropdown:: Click to view parm/met_config/Point2GridConfig_wrapped | ||
|
||
.. literalinclude:: ../../parm/met_config/Point2GridConfig_wrapped | ||
|
||
Environment variables in wrapped MET config | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
${METPLUS_VALID_TIME} | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. list-table:: | ||
:widths: 5 5 | ||
:header-rows: 1 | ||
|
||
* - METplus Config(s) | ||
- MET Config File | ||
* - :term:`POINT2GRID_VALID_TIME` | ||
- valid_time | ||
|
||
${METPLUS_OBS_WINDOW_DICT} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. list-table:: | ||
:widths: 5 5 | ||
:header-rows: 1 | ||
|
||
* - METplus Config(s) | ||
- MET Config File | ||
* - :term:`POINT2GRID_OBS_WINDOW_BEG` | ||
- obs_window.beg | ||
* - :term:`POINT2GRID_OBS_WINDOW_END` | ||
- obs_window.end | ||
|
||
${METPLUS_MESSAGE_TYPE} | ||
^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. list-table:: | ||
:widths: 5 5 | ||
:header-rows: 1 | ||
|
||
* - METplus Config(s) | ||
- MET Config File | ||
* - :term:`POINT2GRID_MESSAGE_TYPE` | ||
- message_type | ||
|
||
${METPLUS_VAR_NAME_MAP_LIST} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. list-table:: | ||
:widths: 5 5 | ||
:header-rows: 1 | ||
|
||
* - METplus Config(s) | ||
- MET Config File | ||
* - :term:`POINT2GRID_VAR_NAME_MAP<n>_KEY` | ||
- var_name_map.key | ||
* - :term:`POINT2GRID_VAR_NAME_MAP<n>_VAL` | ||
- var_name_map.val | ||
|
||
${METPLUS_OBS_QUALITY_INC} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. list-table:: | ||
:widths: 5 5 | ||
:header-rows: 1 | ||
|
||
* - METplus Config(s) | ||
- MET Config File | ||
* - :term:`POINT2GRID_OBS_QUALITY_INC` | ||
- obs_quality_inc | ||
|
||
${METPLUS_OBS_QUALITY_EXC} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. list-table:: | ||
:widths: 5 5 | ||
:header-rows: 1 | ||
|
||
* - METplus Config(s) | ||
- MET Config File | ||
* - :term:`POINT2GRID_OBS_QUALITY_EXC` | ||
- obs_quality_exc | ||
|
||
${METPLUS_TIME_OFFSET_WARNING} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. list-table:: | ||
:widths: 5 5 | ||
:header-rows: 1 | ||
|
||
* - METplus Config(s) | ||
- MET Config File | ||
* - :term:`POINT2GRID_TIME_OFFSET_WARNING` | ||
- time_offset_warning | ||
|
||
${METPLUS_MET_CONFIG_OVERRIDES} | ||
""""""""""""""""""""""""""""""" | ||
|
||
.. list-table:: | ||
:widths: 5 5 | ||
:header-rows: 1 | ||
|
||
* - METplus Config(s) | ||
- MET Config File | ||
* - :term:`POINT2GRID_MET_CONFIG_OVERRIDES` | ||
- n/a | ||
|
||
.. _point_stat_wrapper: | ||
|
||
PointStat | ||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@georgemccabe the
time_offset_warning
config option only applies to MET tools that do a grid-to-grid comparison. Doing some grepping, I only see calls to this time_offset_warning(...) function from wavelet_stat, mode, series_analysis, pcp_combine, grid_stat, and wwmca.So it definitely doesn't impact point2grid. Not sure how to handle this.