-
Notifications
You must be signed in to change notification settings - Fork 203
Update checks for MOM6 restarts when performing a re-run on failure #4179
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
Update checks for MOM6 restarts when performing a re-run on failure #4179
Conversation
ush/forecast_det.sh
Outdated
| else | ||
| # Also check for MOM6 history file availability | ||
| # TODO: Need to adapt for SFS where averaging period may be different, need to generalize | ||
| hdate=$(date -u -d "${rdate:0:8} ${rdate:8:2}:00:00 + 3 hours" +"%Y_%m_%d_%H") # MOM6 history is averaged 6 hrs |
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.
Should this be generalized now with FHOUT_OCN ?
Also - This should have some sort of if not gdas/enkfgdas because the output is different for those runs. Should those runs have different checks here?
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.
Generalized to use FHOUT_OCN. I had committed what I had on Friday before leaving work, and a TODO to remind me about it when I pick it up on Monday.
2f1650f addresses the first part of this comment.
RERUN is not available for RUN = gdas|enkfgdas as their forecast lengths are less than 12 hours (15 if you count IAU).
https://github.com/aerorahul/global-workflow/blob/2f1650f2eb7237ab95373e50cb081097545781d0/ush/forecast_det.sh#L38-L42
enkfgfs does not have a forecast segment.
I'll test this for a RUN=gefs with segments to ensure this change does not break that.
|
GEFS test passed. |
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.
This resolves the open issue.
|
C96mx100_S2S FAILED on Gaeac6 (pipeline ID: 5409) In directory: Error Log Files: View Error Logs: (sfs_fcst_mem000_seg1.log) (sfs_fcst_mem001_seg1.log) (sfs_fcst_mem002_seg1.log) This failure was detected automatically by global-workflow's CI/CD Pipeline |
|
I did not test the SFS case in my testing. I will do that and report back. SFS has a |
…s AND ocean output averaged files. Deal with this another time
86d40bb
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.
Looks good. Just a nitpick on variable name.
|
Launching tests on C6. |
|
All tests passed on C6. Merging. |
Description
This PR:
FHOUT_OCN > 6such as in theSFSruns whereFHOUT_OCN=24. This causes problems noted in the issue comment hereThis PR also:
ush/preamble.shthat prints theBegindate time in human readable format similar toEnddate time message.Type of change
Change characteristics
How has this been tested?
Tests 1, 2, 3 below have FHMAX_GFS=384 and restart_interval_gfs=48
a. kill forecast job at fhr=126. Restarts are available at hrs 48, 96
b. re-submit forecast job. The job picks the restarts at hr 96 and completes
a. kill forecast job at fhr = 102. Restarts are available at hrs 48, 96
b. re-submit forecast job. The job picks restarts at hr 48 (ocean forecast history file at 105 is not available, rendering restart at hr 96 invalid) and completes.
Checklist