-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add TaskValidDependency The TaskValidDependency is used to check whether a task is valid for given cycle. This comes in handy when setting up complex ndencies for workflows in which the completion of a cycle depends on a task may or may not have needed to run in that cycle. An example: You declare two cycledefs, prep and fcst, in which fcst runs a deterministic forecast once daily, and requires a background ensemble to run 6 hours prior to the forecast. The prep cycles run a task named 'bkg_ens_stats', while the the fcst cycles run a task 'forecast'. Successful completion of a cycle depends (among other things) on both of these tasks having completed, but not for every cycle. A dependency then, for any valid cycle to be complete could be: <and> <or> <not><taskvalid task="bkg_ens_stats"/></not> <taskdep task="bkg_ens_stats"/> </or> <or> <not><taskvalid task="forecast"/></not> <taskdep task="forecast"/> </or> </and> This dependency would check whether a task should run and if it should, that it completed successfully. * Remove unnecessary lines.
- Loading branch information
1 parent
04c01d8
commit 942bf79
Showing
8 changed files
with
112 additions
and
9 deletions.
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
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
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