Update checks for MOM6 restarts when performing a re-run on failure#4179
Conversation
| 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.
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.
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. |
JessicaMeixner-NOAA
left a comment
There was a problem hiding this comment.
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
DavidHuber-NOAA
left a comment
There was a problem hiding this comment.
Looks good. Just a nitpick on variable name.
|
Launching tests on C6. |
|
All tests passed on C6. Merging. |
…NOAA-EPIC/global-workflow-cloud into feature/use_container_spack-stack-1.9.2 * 'feature/use_container_spack-stack-1.9.2' of github.com:NOAA-EPIC/global-workflow-cloud: reverse few changes re-sync with EMC repo Add master grib files to GFS HPSS archive for AIGFS (NOAA-EMC#4203) Update Snow filenames to comply with EE2 (NOAA-EMC#4195) Rename files for JEDI atm EE2 (NOAA-EMC#4193) Generate `pres_b` files for `RUN=gdas` and update `APCP` to `598`. (NOAA-EMC#4196) Update checks for MOM6 restarts when performing a re-run on failure (NOAA-EMC#4179) Decrease HPSS storage for GFS retros and address hpss bugs (NOAA-EMC#4184) Add noaacloud to ufsda case in dev/ush/load_modules (NOAA-EMC#4198) Remove replay from global workflow (NOAA-EMC#4182) Add IODA stats text file to COM (NOAA-EMC#4176) Update UFS_UTILS submodule (NOAA-EMC#4178) Atm COM File Rename to Standardized Form (NOAA-EMC#4117) Replace cp with cpfs/cpreq for atomic copies to COM directories (NOAA-EMC#4130) Create a UPP module for the global workflow (NOAA-EMC#4174) Refactor marine DA tasks (NOAA-EMC#4160) Delay ocean post-processing trigger to next-next forecast (NOAA-EMC#4167) Make options hashes Remove multiple option from static data template Fix static_data yaml (descriptions and labels) Fix static_data yaml (remove colon) Add Ursa to and remove C5 from list of HPCs in the bug report template (NOAA-EMC#4164) Rename marine (ocean/ice) files following EE2 conventions (NOAA-EMC#4162) Add attributes to Gaussian grid sfcanl file (NOAA-EMC#4149) Remove the snow analysis from archive (NOAA-EMC#4157) Update verif-global to fix pcp failures on special cases (NOAA-EMC#4154) Add CRTM fix directory paths to global-workflow (NOAA-EMC#4143) Update UFS Model (NOAA-EMC#4138) Add functionality to assimilate the new snow observations (NOAA-EMC#4132)
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