Consider adding flag for skipping processing for each LOOP_BY if part of the chain fails #2601
Labels
alert: NEED ACCOUNT KEY
Need to assign an account key to this issue
METplus: Configuration
requestor: NCAR/RAL
NCAR Research Applications Laboratory
type: new feature
Make it do something new
Milestone
Describe the New Feature
When @JohnHalleyGotway was testing dtcenter/MET#2897, he encountered a failure in one but not all of the processes in the
PROCESS_LIST
. In this case, the process list was:PROCESS_LIST = PyEmbedIngest,PointStat,PlotPointObs
John's question was whether
PointStat
andPlotPointObs
should attempt to run ifPyEmbedIngest
failed. Currently, the behavior is to run all processes in thePROCESS_LIST
regardless of failures of upstream processes.This issue is to suggest adding a configuration item for users to
REQUIRE_ALL_SUCCEED
or something to that effect, which keeps track of the error or success of each process in thePROCESS_LIST
. If an error is recorded, then thePROCESS_LIST
is halted for the current iteration of METplus Wrappers (e.g. current iteration ofLOOP_BY
), and the Wrappers will proceed to the next time.This is may only apply to instances where the user is calling
PyEmbedIngest
, since presumably the result of that process is required downstream. So perhaps the work is something like addingPY_EMBED_INGEST_STOP_ON FAIL
, for example.Acceptance Testing
Try the new config item and ensure METplus Wrappers is advancing to the next iteration based on the failure state.
Time Estimate
1 Day
Relevant Deadlines
NONE.
Funding Source
NONE.
Define the Metadata
Assignee
Labels
Milestone and Projects
Define Related Issue(s)
Consider the impact to the other METplus components.
New Feature Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Development issue
Select: Milestone as the next official version
Select: METplus-Wrappers-X.Y.Z Development project for development toward the next official release
The text was updated successfully, but these errors were encountered: