-
Notifications
You must be signed in to change notification settings - Fork 38
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 #2460 allow missing input #2493
Merged
Merged
Changes from all commits
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
294b770
changed template to use datetime format that works on MacOS
georgemccabe f1c4bf5
update logic to only write a file list file if there are more than 1 …
georgemccabe bec330e
use getraw instead of getstr to prevent crash if providing a filename…
georgemccabe 5fb7984
Add optional argument to subset file function to always write a file …
georgemccabe 895702c
enhanced function to support different output variable types
georgemccabe 059e523
removed the need for overriding clear function in specific wrappers a…
georgemccabe 8bc5895
clean up formatting
georgemccabe b4fad5a
per #2460, start to implement logic to prevent errors when some input…
georgemccabe 45bd7fe
isolate logic to find input files into find_input_files functions. cl…
georgemccabe 13bf32a
Merge branch 'develop' into feature_2460_allow_missing_input
georgemccabe de3b4b0
remove python embedding checks because MET is now smart enough to det…
georgemccabe bb82cb0
turn on use cases to test error handling
georgemccabe 3348536
merge artifacts
georgemccabe 6152f38
run only failed cases
georgemccabe 5668b17
always run merge step
georgemccabe 1f99ba9
run on a case that will succeed to test error log merge step
georgemccabe 5f11aff
only run error log merge step if there were 'Save error logs' jobs th…
georgemccabe 307a3cb
run cases that will fail
georgemccabe 449f79d
fix condition to merge error logs
georgemccabe 9219402
run group that will succeed but have diffs - check error logs doesn't…
georgemccabe 041f853
testing - add use case group that will succeed but will cause diffs b…
georgemccabe f99cf5e
run 3 jobs, 2 should error, to confirm that error_logs is created pro…
georgemccabe b16b4f3
repeat diff no error test but with ci-run-diff
georgemccabe 1e05c12
per dtcenter/MET#2796, fix error log artifact creation by merging err…
georgemccabe ff2d1ca
run test to confirm diff does not cause merge error logs to fail, ci-…
georgemccabe 5ff86b1
Revert "run test to confirm diff does not cause merge error logs to f…
georgemccabe 8106666
run test to confirm error logs are merged properly when 2 use case gr…
georgemccabe 93e0415
try checking output variable as string instead of boolean
georgemccabe ec4904e
Revert "run test to confirm error logs are merged properly when 2 use…
georgemccabe 7a0a99c
run test again
georgemccabe 5e0971e
test again ci-run-diff
georgemccabe 01a50de
move check for error logs for shell script and use github env vars, c…
georgemccabe 2fa17ac
Revert "run test again"
georgemccabe cb6d0b4
break 2 use cases to test that error logs are still created properly
georgemccabe 950d06a
checkout repo to get script used to merge error logs
georgemccabe c6c865f
Revert "break 2 use cases to test that error logs are still created p…
georgemccabe e52321a
test merge error log again on no error diff run ci-run-diff
georgemccabe bdc0877
fix script, ci-run-diff
georgemccabe bb75588
move merge error logic back to workflow , ci-run-diff
georgemccabe 82aa0e1
break 2 use cases to test that error logs are still created properly
georgemccabe 1897da0
Revert "break 2 use cases to test that error logs are still created p…
georgemccabe 501b6c9
remove testing use case group
georgemccabe 520fce8
merge changes to fix artifacts in GHA
georgemccabe 7c013cc
Revert "remove python embedding checks because MET is now smart enoug…
georgemccabe 6bdd0c0
clean up lines
georgemccabe bd5f528
update logic to check that python embedding is set up properly to onl…
georgemccabe 88cfb4d
remove run_count increment before run_at_time_once - set closer to fi…
georgemccabe 2ca78eb
merge develop and resolve conflicts
georgemccabe ef95afc
return boolean from find_input_files function to be consistent with o…
georgemccabe 91e4935
per #2460, warn instead of error if missing inputs are allowed, track…
georgemccabe daac6c9
per #2460, added check to report error if allowed missing input thres…
georgemccabe 9518732
run clear before running plot_data_plane, ci-run-all-cases
georgemccabe 378e7bd
removed test group
georgemccabe 42485d5
report warning instead of error if ALLOW_MISSING_INPUTS is True
georgemccabe c42869b
cleanup
georgemccabe 7e88b34
change function to pytest fixture so it can be used by other test scr…
georgemccabe 8f2cc13
update ascii2nc test to process more than 1 time to ensure commands a…
georgemccabe 98751d3
add unit tests to ensure missing input file logic works properly for …
georgemccabe 314b343
set variable to skip RuntimeFreq logic to find input files to prevent…
georgemccabe 6a0e710
remove unneccesary error checking
georgemccabe e0e5359
cleanup
georgemccabe 7d48a62
call function to handle input templates that need to be handled separ…
georgemccabe a861f8d
add time_info to ALL_FILES dictionaries to be consistent with other w…
georgemccabe 2c0360a
clean up logging for reporting error when missing inputs exceeds thre…
georgemccabe 621d24e
added function to get files for a single run time to be consistent wi…
georgemccabe 5605fd5
skip increment of run_count when FIND_FILES=True and RuntimeFreq inpu…
georgemccabe d54c0e6
added empty test files
georgemccabe 23a7c04
remove redundant variables
georgemccabe aa5ac23
view warnings on a failed test run
georgemccabe ebfb559
add more empty test files
georgemccabe 7051710
added unit tests for missing input logic
georgemccabe 50e27b0
remove MANDATORY setting for EnsembleStat and GenEnsProd and instead …
georgemccabe 0c075db
cleanup
georgemccabe 6b1626c
remove allow missing input logic from ExtractTiles wrapper
georgemccabe 2c639dd
added functions to parse template/dir variables from config, removed …
georgemccabe e3896c9
remove error if more labels than inputs are provided (for UserScript …
georgemccabe e98f8f9
added required boolean for input templates, ci-run-all-diff
georgemccabe 44c828e
per #2460, change warning messages to debug when checking a list of D…
georgemccabe 8b1049e
added tests for missing input logic for many wrappers
georgemccabe f50c344
cleanup
georgemccabe 6e90fd0
fix increment of number of runs
georgemccabe fe7aebd
skip missing input logic
georgemccabe 56d5196
change how required is handled for input templates
georgemccabe 024d9d7
warn instead of error if missing input is allowed
georgemccabe 3664f8a
remove increment of missing input counters because it is handled in R…
georgemccabe 89feada
check status of input files and increment counters in overridden run_…
georgemccabe bb0e1d7
added unit tests for missing input logic
georgemccabe 0daac67
skip missing input logic
georgemccabe 5c0de3f
cleanup, ci-run-all-diff
georgemccabe 8f9c72b
cleanup, use fixture for tests, add unit tests for missing input, byp…
georgemccabe 2345f60
removed file that is not needed
georgemccabe caa46a4
added unit tests for pb2nc to test -valid_beg/end arguments and chang…
georgemccabe 7cad798
warn instead of error if allowing missing inputs
georgemccabe 3968d9b
cleanup
georgemccabe d893308
implement changes to properly support all runtime frequencies for pb2…
georgemccabe 414b3df
added unit tests that will fail until wrapper is updated
georgemccabe 52d96cd
replace functions in RuntimeFreq wrapper used to find input files so …
georgemccabe 22d9d55
ci-run-all-diff
georgemccabe 3d5858f
Merge branch 'develop' into feature_2460_allow_missing_input
georgemccabe d1b5485
Merge branch 'develop' into feature_2460_allow_missing_input
georgemccabe c58e7de
cleanup
georgemccabe d3c193b
Merge branch 'develop' into feature_2460_allow_missing_input
georgemccabe 79461ba
removed mtd version of get_input_templates and added logic to Runtime…
georgemccabe 0df1a0e
added unit tests for MTD missing input checks
georgemccabe 40af11f
per #2491, add release notes for beta3
georgemccabe 0cd99cd
Merge branch 'develop' into feature_2460_allow_missing_input
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 | ||||
---|---|---|---|---|---|---|
|
@@ -30,6 +30,49 @@ When applicable, release notes are followed by the | |||||
`GitHub issue <https://github.com/dtcenter/METplus/issues>`__ number which | ||||||
describes the bugfix, enhancement, or new feature. | ||||||
|
||||||
METplus Version 6.0.0 Beta 3 Release Notes (2024-02-07) | ||||||
------------------------------------------------------- | ||||||
|
||||||
.. dropdown:: Enhancements | ||||||
|
||||||
* Add suport for MET land-mask settings in Point-Stat | ||||||
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.
Suggested change
|
||||||
(`#2334 <https://github.com/dtcenter/METplus/issues/2334>`_) | ||||||
* Enhance the TC-Pairs wrapper to support the new diag_required and diag_min_req configuration options | ||||||
(`#2430 <https://github.com/dtcenter/METplus/issues/2430>`_) | ||||||
* Enhance the TC-Diag wrapper to support new configuration options added in MET-12.0.0-beta2 | ||||||
(`#2432 <https://github.com/dtcenter/METplus/issues/2432>`_) | ||||||
* Prevent error if some input files are missing | ||||||
(`#2460 <https://github.com/dtcenter/METplus/issues/2460>`_) | ||||||
|
||||||
.. dropdown:: Bugfix | ||||||
|
||||||
NONE | ||||||
|
||||||
.. dropdown:: New Wrappers | ||||||
|
||||||
* WaveletStat | ||||||
(`#2252 <https://github.com/dtcenter/METplus/issues/2252>`_) | ||||||
|
||||||
.. dropdown:: New Use Cases | ||||||
|
||||||
* Verify Total Column Ozone against NASA's OMI dataset | ||||||
(`#1989 <https://github.com/dtcenter/METplus/issues/1989>`_) | ||||||
* RRFS reformatting, aggregating, and plotting use case | ||||||
(`#2406 <https://github.com/dtcenter/METplus/issues/2406>`_) | ||||||
* Satellite Altimetry data | ||||||
(`#2383 <https://github.com/dtcenter/METplus/issues/2383>`_) | ||||||
|
||||||
.. dropdown:: Documentation | ||||||
|
||||||
* Create video to demonstrate how to update use cases that use deprecated environment variables | ||||||
(`#2371 <https://github.com/dtcenter/METplus/issues/2371>`_) | ||||||
|
||||||
.. dropdown:: Internal | ||||||
|
||||||
* Update Documentation Overview and Conventions | ||||||
(`#2454 <https://github.com/dtcenter/METplus/issues/2454>`_) | ||||||
|
||||||
|
||||||
METplus Version 6.0.0 Beta 2 Release Notes (2023-11-14) | ||||||
------------------------------------------------------- | ||||||
|
||||||
|
File renamed without changes.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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 |
---|---|---|
|
@@ -48,6 +48,8 @@ | |
'METPLUS_BASE', | ||
'PARM_BASE', | ||
'METPLUS_VERSION', | ||
'ALLOW_MISSING_INPUTS', | ||
'INPUT_THRESH', | ||
] | ||
|
||
|
||
|
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
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
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.