Skip to content
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 1062 pcp combine level template #1118

Merged
merged 62 commits into from
Aug 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
4de955f
removed logic that is no longer needed and variables that go with it
georgemccabe Aug 5, 2021
ed326ee
run all use cases that can PCPCombine for testing
georgemccabe Aug 5, 2021
bcb9601
clean up formatting
georgemccabe Aug 5, 2021
4e7b726
removed initialization of variable and instead use get function to pr…
georgemccabe Aug 5, 2021
cb12e23
more formatting clean up to meet pep8 standards and make file easier …
georgemccabe Aug 5, 2021
15d8dc5
removed unused variable, more cleanup
georgemccabe Aug 5, 2021
b6efa4a
Merge branch 'develop' into feature_1062_pcp_combine_level_template
georgemccabe Aug 19, 2021
4fb986a
changed key for use case groups from 'new' to 'run' for clarity becau…
georgemccabe Aug 19, 2021
0b417dc
changed ci-run-diff commit message keyword to only run diff for use c…
georgemccabe Aug 19, 2021
4a88671
fixed echo statement
georgemccabe Aug 19, 2021
62d5484
removed new use case groups that were added and instead force run ful…
georgemccabe Aug 19, 2021
74ad27a
reorder config variables for ease of readability
georgemccabe Aug 19, 2021
b22dbe9
handle if SKIP_TIMES is not set at all in function , adjusted call to…
georgemccabe Aug 19, 2021
79a67d2
per #1062 sub-issue, fixed setting of NetCDF field name/level in subt…
georgemccabe Aug 19, 2021
bcc767f
fixed formatting, ci-run-diff
georgemccabe Aug 19, 2021
f582912
added level value to test config file because if processing NetCDF da…
georgemccabe Aug 19, 2021
4bbf26e
Merge branch 'develop' into feature_1062_pcp_combine_level_template
georgemccabe Aug 20, 2021
8555007
update doc strings
georgemccabe Aug 20, 2021
28fdfa3
simplified logic for sum method, removed extra unnecessary variables,…
georgemccabe Aug 20, 2021
45a927b
removed unused variable
georgemccabe Aug 20, 2021
f45d915
simplified handling of user defined command method, ci-run-diff
georgemccabe Aug 20, 2021
866c940
added [FCST/OBS]_PCP_COMBINE_LOOKBACK to reconcile logic for -add and…
georgemccabe Aug 20, 2021
19a12b0
added missing config var to glossary
georgemccabe Aug 20, 2021
99bd71d
added function to handle reading lookback value from config based on …
georgemccabe Aug 20, 2021
f4c424c
updated test to require setting method because wrapper will no longer…
georgemccabe Aug 20, 2021
07880ae
simplify up logic to set run method as argument, updated tests to use…
georgemccabe Aug 20, 2021
4b9f7df
changed logic in -subtract mode to only force -add mode with 1 file i…
georgemccabe Aug 20, 2021
ed46f39
Merge branch 'develop' into feature_1062_pcp_combine_level_template
georgemccabe Aug 20, 2021
de4d128
changed accum input to get_accumulation to seconds to be able to pull…
georgemccabe Aug 20, 2021
cc26d92
changed split_level function to allow letters at the end of level val…
georgemccabe Aug 23, 2021
20b7415
moved logic to handle output path so it is not handled differently fo…
georgemccabe Aug 23, 2021
6abf08a
renamed function to match pep8 standards
georgemccabe Aug 23, 2021
ae20a31
removed setting level from output accum because it should not be used…
georgemccabe Aug 23, 2021
b82512c
refactored get_field_info (CommandBuilder) function and added support…
georgemccabe Aug 23, 2021
5c8bf2b
changed logic to skip handling if get_field_info fails to format stri…
georgemccabe Aug 23, 2021
78d0e96
updated logic to return list of tuples (path and field info) for each…
georgemccabe Aug 24, 2021
7462863
removed another object variable no longer needed after refactor, ci-r…
georgemccabe Aug 24, 2021
15a06f2
reorder functions for ease of navigation, use -field for -derive mode…
georgemccabe Aug 24, 2021
242c8ea
updated tests to test new functions
georgemccabe Aug 24, 2021
e77a7fe
removed add_input_file function, fixed derive mode logic to properly …
georgemccabe Aug 24, 2021
10ca9b2
clean up logic for subtract mode
georgemccabe Aug 24, 2021
3b456e4
updated tests for changes to subtact mode
georgemccabe Aug 24, 2021
03dbbb5
reorganize conf files
georgemccabe Aug 24, 2021
9d1316a
more refactoring to handle different modes consistently
georgemccabe Aug 24, 2021
c2384f9
update doc strings
georgemccabe Aug 24, 2021
d4fa6e4
return None instead of 0 and ci-run-diff
georgemccabe Aug 24, 2021
9cf0697
set time info level back to lookback/output accum that was changed in…
georgemccabe Aug 24, 2021
f292d50
cleanup test file
georgemccabe Aug 25, 2021
1623dd8
only create staging dir if compressed file is found, if file is not f…
georgemccabe Aug 25, 2021
c11197a
added test to demonstrate behavior needed for issue #1062
georgemccabe Aug 25, 2021
d23c398
do not create output directory if DO_NOT_RUN_EXE is true
georgemccabe Aug 25, 2021
30ceccb
cleaned up function to build command, ci-run-diff
georgemccabe Aug 25, 2021
9dd44da
removed commented line
georgemccabe Aug 25, 2021
3b7fc89
clean up command
georgemccabe Aug 25, 2021
b296987
improved logic in subtract mode for forced add mode when 0 accum is r…
georgemccabe Aug 25, 2021
8b1d931
added test to ensure that expected behavior occurs when 0 accum is re…
georgemccabe Aug 25, 2021
594dac4
merged develop and resolved conflicts
georgemccabe Aug 25, 2021
6ac2180
reordered config variables and removed comments so the files are more…
georgemccabe Aug 26, 2021
83627a9
Merge branch 'develop' into feature_1062_pcp_combine_level_template
georgemccabe Aug 26, 2021
72a5eef
changed all use case groups to not run unless PR or forced
georgemccabe Aug 26, 2021
5b98a72
changed output name to match previous name given to output field to p…
georgemccabe Aug 30, 2021
12a09ac
rearrange config variables
georgemccabe Aug 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/jobs/set_job_controls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,15 @@ else
run_all_use_cases=false
fi

if grep -q "ci-run-diff" <<< "$commit_msg"; then
if grep -q "ci-run-all-diff" <<< "$commit_msg"; then
run_all_use_cases=true
run_diff=true
fi

if grep -q "ci-run-diff" <<< "$commit_msg"; then
run_diff=true
fi

if grep -q "ci-run-all-cases" <<< "$commit_msg"; then
run_use_cases=true
run_all_use_cases=true
Expand Down
5 changes: 4 additions & 1 deletion docs/Contributors_Guide/continuous_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ Here is a list of the currently supported keywords and what they control:
* **ci-skip-all**: Don't run anything - skip all automation jobs
* **ci-skip-use-cases**: Don't run any use cases
* **ci-run-all-cases**: Run all use cases
* **ci-run-diff**: Obtain truth data and run diffing logic
* **ci-run-diff**: Obtain truth data and run diffing logic for
use cases that are marked to run
* **ci-run-all-diff**: Obtain truth data and run diffing logic for
all use cases
* **ci-only-docs**: Only run build documentation job - skip the rest

Force MET Version Used for Tests
Expand Down
76 changes: 42 additions & 34 deletions docs/Users_Guide/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ METplus Configuration Glossary
.. warning:: **DEPRECATED:** Please use :term:`FCST_POINT_STAT_INPUT_TEMPLATE` instead.

FCST_IS_DAILY_FILE
.. warning:: **DEPRECATED:** Please use :term:`FCST_PCP_COMBINE_IS_DAILY_FILE` instead.
.. warning:: **DEPRECATED:**

FCST_IS_PROB
Specify whether the forecast data are probabilistic or not. Acceptable values: true/false
Expand Down Expand Up @@ -1361,12 +1361,31 @@ METplus Configuration Glossary
.. warning:: **DEPRECATED:** Please use :term:`FCST_PCP_COMBINE_INPUT_NAMES` instead.

FCST_PCP_COMBINE_DATA_INTERVAL
Specify the accumulation interval of the forecast dataset used by the MET pcp_combine tool when processing daily input files. A corresponding variable exists for observation data called :term:`OBS_PCP_COMBINE_DATA_INTERVAL`.
.. warning:: **DEPRECATED:**

FCST_PCP_COMBINE_DERIVE_LOOKBACK
.. warning:: **DEPRECATED:** Please use :term:`FCST_PCP_COMBINE_LOOKBACK` instead.

FCST_PCP_COMBINE_LOOKBACK
Specify how far to look back in time to find files for building
commands to run the pcp_combine tool.
If processing precipitation accumulation data, this is equivalent to the
desired output accumulation to compute.
Units are assumed to be hours unless a time identifier such as
Y, m, d, H, M, S is specified at the end of the value, i.e. 30M or 1m.
If unset, :term:`FCST_PCP_COMBINE_OUTPUT_ACCUM` will be used.
If that is unset, then :term:`FCST_PCP_COMBINE_DERIVE_LOOKBACK` will be
used.
If none of the variables are set or set to 0, data will be obtained by
using the input template with the current runtime instead of looking
backwards in time.
A corresponding variable exists for observation data called
:term:`OBS_PCP_COMBINE_LOOKBACK`.

| *Used by:* PCPCombine
FCST_PCP_COMBINE_DERIVE_LOOKBACK
Specify how far to look back in time in hours to find files for running the MET pcp_combine tool in derive mode. If set to 0 or unset, data will be obtained by using the input template with the current runtime instead of looking backwards in time. A corresponding variable exists for observation data called :term:`OBS_PCP_COMBINE_DERIVE_LOOKBACK`.
OBS_PCP_COMBINE_LOOKBACK
See :term:`FCST_PCP_COMBINE_LOOKBACK`.

| *Used by:* PCPCombine
Expand All @@ -1389,9 +1408,7 @@ METplus Configuration Glossary
| *Used by:* PCPCombine
FCST_PCP_COMBINE_IS_DAILY_FILE
Specify whether the forecast file is a daily file or not. A corresponding variable exists for observation data called :term:`OBS_PCP_COMBINE_IS_DAILY_FILE`.Acceptable values: true/false

| *Used by:* PCPCombine
.. warning:: **DEPRECATED:**

FCST_PCP_COMBINE_METHOD
Specify the method to be used with the MET pcp_combine tool processing forecast data.Valid options are ADD, SUM, SUBTRACT, DERIVE, and USER_DEFINED. A corresponding variable exists for observation data called :term:`OBS_PCP_COMBINE_METHOD`.
Expand Down Expand Up @@ -1438,9 +1455,7 @@ METplus Configuration Glossary
| *Used by:* PCPCombine
FCST_PCP_COMBINE_TIMES_PER_FILE
Specify the number of accumulation intervals of the forecast dataset used by the MET pcp_combine tool when processing daily input files. A corresponding variable exists for observation data called :term:`OBS_PCP_COMBINE_TIMES_PER_FILE`.

| *Used by:* PCPCombine
.. warning:: **DEPRECATED:**

FCST_POINT_STAT_FILE_WINDOW_BEGIN
See :term:`OBS_POINT_STAT_FILE_WINDOW_BEGIN`
Expand Down Expand Up @@ -2624,10 +2639,10 @@ METplus Configuration Glossary
.. warning:: **DEPRECATED:** Please use :term:`PB2NC_OBS_BUFR_VAR_LIST` instead.

OBS_DATA_INTERVAL
.. warning:: **DEPRECATED:** Use :term:`OBS_PCP_COMBINE_DATA_INTERVAL` instead.
.. warning:: **DEPRECATED:**

FCST_DATA_INTERVAL
.. warning:: **DEPRECATED:** Use :term:`FCST_PCP_COMBINE_DATA_INTERVAL` instead.
.. warning:: **DEPRECATED:**

FCST_ENSEMBLE_STAT_INPUT_DATATYPE
Specify the data type of the input directory for forecast files used with the MET ensemble_stat tool. Currently valid options are NETCDF, GRIB, and GEMPAK. If set to GEMPAK, data will automatically be converted to NetCDF via GempakToCF. Similar variables exists for observation grid and point data called :term:`OBS_ENSEMBLE_STAT_INPUT_GRID_DATATYPE` and :term:`OBS_ENSEMBLE_STAT_INPUT_POINT_DATATYPE`.
Expand Down Expand Up @@ -2759,7 +2774,7 @@ METplus Configuration Glossary
.. warning:: **DEPRECATED:** Please use :term:`OBS_POINT_STAT_INPUT_TEMPLATE` instead.

OBS_IS_DAILY_FILE
.. warning:: **DEPRECATED:** Please use :term:`OBS_PCP_COMBINE_IS_DAILY_FILE` instead.
.. warning:: **DEPRECATED:**

OBS_IS_PROB
Used when setting OBS_* variables to process forecast data for comparisons with mtd. Specify whether the observation data are probabilistic or not. See :term:`FCST_IS_PROB` .Acceptable values: true/false
Expand Down Expand Up @@ -2861,20 +2876,18 @@ METplus Configuration Glossary
.. warning:: **DEPRECATED:** Please use :term:`OBS_PCP_COMBINE_INPUT_DATATYPE` instead.

OBS_TIMES_PER_FILE
.. warning:: **DEPRECATED:** Please use :term:`OBS_PCP_COMBINE_TIMES_PER_FILE` instead.
.. warning:: **DEPRECATED:**

FCST_TIMES_PER_FILE
.. warning:: **DEPRECATED:** Please use :term:`FCST_PCP_COMBINE_TIMES_PER_FILE` instead.
.. warning:: **DEPRECATED:**

OBS_PCP_COMBINE_<n>_FIELD_NAME
See :term:`FCST_PCP_COMBINE_<n>_FIELD_NAME`.

| *Used by:* PCPCombine
OBS_PCP_COMBINE_DATA_INTERVAL
See :term:`FCST_PCP_COMBINE_DATA_INTERVAL`.

| *Used by:* PCPCombine
.. warning:: **DEPRECATED:**

OBS_PCP_COMBINE_DERIVE_LOOKBACK
See :term:`FCST_PCP_COMBINE_DERIVE_LOOKBACK`.
Expand Down Expand Up @@ -2902,9 +2915,7 @@ METplus Configuration Glossary
| *Used by:* PCPCombine
OBS_PCP_COMBINE_IS_DAILY_FILE
See :term:`FCST_PCP_COMBINE_IS_DAILY_FILE`. Acceptable values: true/false

| *Used by:* PCPCombine
.. warning:: **DEPRECATED:**

OBS_PCP_COMBINE_METHOD
See :term:`FCST_PCP_COMBINE_METHOD`.
Expand Down Expand Up @@ -2942,9 +2953,7 @@ METplus Configuration Glossary
| *Used by:* PCPCombine
OBS_PCP_COMBINE_TIMES_PER_FILE
See :term:`FCST_PCP_COMBINE_TIMES_PER_FILE`.

| *Used by:* PCPCombine
.. warning:: **DEPRECATED:**

OBS_POINT_STAT_FILE_WINDOW_BEGIN
Used to control the lower bound of the window around the valid time to determine if a file should be used for processing by PointStat. See :ref:`Directory_and_Filename_Template_Info` subsection called 'Using Windows to Find Valid Files.' Units are seconds. If :term:`OBS_POINT_STAT_FILE_WINDOW_BEGIN` is not set in the config file, the value of :term:`OBS_FILE_WINDOW_BEGIN` will be used instead. If both file window begin and window end values are set to 0, then METplus will require an input file with an exact time match to process.
Expand Down Expand Up @@ -4357,27 +4366,26 @@ METplus Configuration Glossary
| *Used by:* PCPCombine
FCST_PCP_COMBINE_OUTPUT_ACCUM
Specify desired accumulation to be built from the forecast data. Units are assumed to be hours unless a time identifier such as Y, m, d, H, M, S is specifed at the end of the value, i.e. 30M or 1m. If this variable is not set, then FCST_VAR<n>_LEVELS is used.
Specify desired accumulation to be built from the forecast data.
Synonym for :term:`FCST_PCP_COMBINE_LOOKBACK`.

A corresponding variable exists for observation data called :term:`OBS_PCP_COMBINE_OUTPUT_ACCUM`.

Examples:

15H

This will attempt to build a 15 hour accumulation.

| *Used by:* PCPCombine
FCST_PCP_COMBINE_OUTPUT_NAME
Specify the output field name from processing forecast data. If this variable is not set, then :term:`FCST_VAR<n>_NAME` is used.
Specify the output field name from processing forecast data.
If this variable is not set, then :term:`FCST_VAR<n>_NAME` is used.

A corresponding variable exists for observation data called :term:`OBS_PCP_COMBINE_OUTPUT_NAME`.
A corresponding variable exists for observation data called
:term:`OBS_PCP_COMBINE_OUTPUT_NAME`.

Example: APCP

| *Used by:* PCPCombine
OBS_PCP_COMBINE_OUTPUT_ACCUM
See :term:`FCST_PCP_COMBINE_OUTPUT_NAME`.
See :term:`FCST_PCP_COMBINE_LOOKBACK`.

| *Used by:* PCPCombine
Expand Down
18 changes: 10 additions & 8 deletions docs/Users_Guide/wrappers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4288,18 +4288,12 @@ METplus Configuration
| :term:`OBS_PCP_COMBINE_CONSTANT_INIT`
| :term:`FCST_PCP_COMBINE_STAT_LIST`
| :term:`OBS_PCP_COMBINE_STAT_LIST`
| :term:`FCST_PCP_COMBINE_DERIVE_LOOKBACK`
| :term:`OBS_PCP_COMBINE_DERIVE_LOOKBACK`
| :term:`PCP_COMBINE_SKIP_IF_OUTPUT_EXISTS`
| :term:`FCST_PCP_COMBINE_DATA_INTERVAL`
| :term:`OBS_PCP_COMBINE_DATA_INTERVAL`
| :term:`FCST_PCP_COMBINE_TIMES_PER_FILE`
| :term:`OBS_PCP_COMBINE_TIMES_PER_FILE`
| :term:`FCST_PCP_COMBINE_IS_DAILY_FILE`
| :term:`OBS_PCP_COMBINE_IS_DAILY_FILE`
| :term:`FCST_PCP_COMBINE_COMMAND`
| :term:`OBS_PCP_COMBINE_COMMAND`
| :term:`PCP_COMBINE_CUSTOM_LOOP_LIST`
| :term:`FCST_PCP_COMBINE_LOOKBACK`
| :term:`OBS_PCP_COMBINE_LOOKBACK`
| :term:`FCST_PCP_COMBINE_EXTRA_NAMES` (optional)
| :term:`FCST_PCP_COMBINE_EXTRA_LEVELS` (optional)
| :term:`FCST_PCP_COMBINE_EXTRA_OUTPUT_NAMES` (optional)
Expand Down Expand Up @@ -4331,6 +4325,14 @@ METplus Configuration
| :term:`OBS_PCP_COMBINE_INPUT_LEVEL`
| :term:`FCST_PCP_COMBINE_<n>_FIELD_NAME`
| :term:`OBS_PCP_COMBINE_<n>_FIELD_NAME`
| :term:`FCST_PCP_COMBINE_DATA_INTERVAL`
| :term:`OBS_PCP_COMBINE_DATA_INTERVAL`
| :term:`FCST_PCP_COMBINE_TIMES_PER_FILE`
| :term:`OBS_PCP_COMBINE_TIMES_PER_FILE`
| :term:`FCST_PCP_COMBINE_IS_DAILY_FILE`
| :term:`OBS_PCP_COMBINE_IS_DAILY_FILE`
| :term:`FCST_PCP_COMBINE_DERIVE_LOOKBACK`
| :term:`OBS_PCP_COMBINE_DERIVE_LOOKBACK`
|
.. _plot_data_plane_wrapper:
Expand Down
26 changes: 13 additions & 13 deletions internal_tests/pytests/compare_gridded/test_compare_gridded.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,20 +121,20 @@ def test_get_field_info_no_prob(metplus_config, key, value):
'key, value', [
# forecast grib name level thresh
(['NAME', 'L0', ['gt3', '<=5'], '', 'FCST'],
['{ name=\"PROB\"; level=\"L0\"; prob={ name=\"NAME\"; thresh_lo=3.0; } cat_thresh=[==0.1]; }',
'{ name=\"PROB\"; level=\"L0\"; prob={ name=\"NAME\"; thresh_hi=5.0; } cat_thresh=[==0.1]; }']),
['{ name=\"PROB\"; level=\"L0\"; prob={ name=\"NAME\"; thresh_lo=3.0; } cat_thresh=[ ==0.1 ]; }',
'{ name=\"PROB\"; level=\"L0\"; prob={ name=\"NAME\"; thresh_hi=5.0; } cat_thresh=[ ==0.1 ]; }']),

# obs grib name level thresh
(['NAME', 'L0', ['gt3', '<=5'], '', 'OBS'],
['{ name=\"NAME\"; level=\"L0\"; cat_thresh=[ gt3 ]; }',
'{ name=\"NAME\"; level=\"L0\"; cat_thresh=[ <=5 ]; }']),

(['NAME', 'L0', ['gt3&&lt5'], '', 'FCST'],
['{ name=\"PROB\"; level=\"L0\"; prob={ name=\"NAME\"; thresh_lo=3.0; thresh_hi=5.0; } cat_thresh=[==0.1]; }']),
['{ name=\"PROB\"; level=\"L0\"; prob={ name=\"NAME\"; thresh_lo=3.0; thresh_hi=5.0; } cat_thresh=[ ==0.1 ]; }']),

# fcst grib name py script
(['/some/script/name.py args /path/of/infile.txt', '', [], '', 'FCST'],
['{ name=\"/some/script/name.py args /path/of/infile.txt\"; prob=TRUE; cat_thresh=[==0.1]; }']),
['{ name=\"/some/script/name.py args /path/of/infile.txt\"; prob=TRUE; cat_thresh=[ ==0.1 ]; }']),

# obs name py script
(['/some/script/name.py args /path/of/infile.txt', '', [], '', 'OBS'],
Expand All @@ -150,11 +150,11 @@ def test_get_field_info_fcst_prob_grib_pds(metplus_config, key, value):
w.c_dict['FCST_PROB_IN_GRIB_PDS'] = True
w.c_dict['FCST_PROB_THRESH'] = '==0.1'

field_dict = {'v_name' : key[0],
'v_level' : key[1],
'v_thresh' : key[2],
'v_extra' : key[3],
'd_type' : key[4],
field_dict = {'v_name': key[0],
'v_level': key[1],
'v_thresh': key[2],
'v_extra': key[3],
'd_type': key[4],
}

fields = w.get_field_info(**field_dict)
Expand All @@ -170,20 +170,20 @@ def test_get_field_info_fcst_prob_grib_pds(metplus_config, key, value):
'key, value', [
# forecast grib name level thresh
(['NAME', 'L0', ['gt3', '<=5'], '', 'FCST'],
['{ name=\"NAME\"; level=\"L0\"; prob=TRUE; cat_thresh=[==0.1]; }',
'{ name=\"NAME\"; level=\"L0\"; prob=TRUE; cat_thresh=[==0.1]; }']),
['{ name=\"NAME\"; level=\"L0\"; prob=TRUE; cat_thresh=[ ==0.1 ]; }',
'{ name=\"NAME\"; level=\"L0\"; prob=TRUE; cat_thresh=[ ==0.1 ]; }']),

# obs grib name level thresh
(['NAME', 'L0', ['gt3', '<=5'], '', 'OBS'],
['{ name=\"NAME\"; level=\"L0\"; cat_thresh=[ gt3 ]; }',
'{ name=\"NAME\"; level=\"L0\"; cat_thresh=[ <=5 ]; }']),

(['NAME', 'L0', ['gt3&&lt5'], '', 'FCST'],
['{ name=\"NAME\"; level=\"L0\"; prob=TRUE; cat_thresh=[==0.1]; }']),
['{ name=\"NAME\"; level=\"L0\"; prob=TRUE; cat_thresh=[ ==0.1 ]; }']),

# fcst grib name py script
(['/some/script/name.py args /path/of/infile.txt', '', [], '', 'FCST'],
['{ name=\"/some/script/name.py args /path/of/infile.txt\"; prob=TRUE; cat_thresh=[==0.1]; }']),
['{ name=\"/some/script/name.py args /path/of/infile.txt\"; prob=TRUE; cat_thresh=[ ==0.1 ]; }']),

# obs name py script
(['/some/script/name.py args /path/of/infile.txt', '', [], '', 'OBS'],
Expand Down
1 change: 1 addition & 0 deletions internal_tests/pytests/pcp_combine/test1.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[config]
FCST_PCP_COMBINE_INPUT_ACCUMS = 6
FCST_PCP_COMBINE_INPUT_NAMES = P06M_NONE
FCST_PCP_COMBINE_INPUT_LEVELS = "(*,*)"

OBS_PCP_COMBINE_INPUT_ACCUMS = 1
OBS_PCP_COMBINE_INPUT_NAMES = P01M_NONE
Expand Down
Loading