Fix v17 group b warm restart archiving#4502
Fix v17 group b warm restart archiving#4502JessicaMeixner-NOAA merged 3 commits intoNOAA-EMC:dev/gfs.v17from
Conversation
|
@DavidHuber-NOAA - one quick question --- so the enkfgdas restartb's were find but the gdas restartb's were not. I don't quite understand how this was different for each of these. It makes sense to not account for a particular SDATE, but what would be a good way to test this otherwise to make sure things are working as expected... versus getting 7 days out and noticing things aren't as expected? |
|
@JessicaMeixner-NOAA I will test this (after applying an additional fix to the |
|
I've launched a SDATE=2021122012
EDATE=2021122406
ARCH_CYC=00
ARCH_WARMICFREQ=2This should create full warm restarts on cycles 2021122218 (group b) and 2021122300 (group a). I will post again when the test completes. |
|
After running the test, which I ended up extending to global-workflow/ush/python/pygfs/task/archive.py Lines 661 to 664 in c85c292 and global-workflow/ush/python/pygfs/task/archive.py Lines 693 to 696 in c85c292 Since we are only looking for @JessicaMeixner-NOAA @CatherineThomas-NOAA @RuiyuSun @LydiaStefanova-NOAA Here is the listing of the restarts written for the |
|
Opening for review, though I will complete a full suite of tests on Cactus (when it comes back up) and on Gaea C6. |
|
Thanks for the fix, explanations and the testing! |
Noting for posterity that users may set |
|
@TerrenceMcGuinness-NOAA I think PRs going into the |
|
@DavidHuber-NOAA Oh yes I was just noticing it did not have the requisite hash for gdas. Makes sense now: |
|
All tests completed successfully on C6. Cactus has started running. |
|
All GFS tests also passed on WCOSS2: |
|
FYI @LydiaStefanova-NOAA this PR will fix the restart archiving issue you noted in the dev/gfs.v17 branch. |
CatherineThomas-NOAA
left a comment
There was a problem hiding this comment.
Thanks so much @DavidHuber-NOAA!
@DavidHuber-NOAA After comparing your filelist here and the one we used in the script to retrieve the restart files, I confirm that your list contains all the necessary pieces. |
# Description This fixes the GDAS-cycle warm restart archiving for group b (previous cycle) by adding `assim_freq` to the current cycle when checking the number of days since `SDATE`. This is a companion PR to #4502, which fixes the same issue in the dev/gfs.v17 branch. Resolves #4501 for develop # Type of change - [x] Bug fix (fixes something broken) - [ ] New feature (adds functionality) - [ ] Maintenance (code refactor, clean-up, new CI test, etc.) # Change characteristics - Is this change expected to change outputs YES - [x] GFS (warm restarts) - [ ] GEFS - [ ] SFS - [ ] GCAFS - Is this a breaking change (a change in existing functionality)? NO - Does this change require a documentation update? NO - Does this change require an update to any of the following submodules? NO # How has this been tested? Will test warm restart capability # Checklist - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] My changes generate no new warnings - [ ] New and existing tests pass with my changes - [x] This change is covered by an existing CI test or a new one has been added
Description
This fixes warm restart archiving for the v17 branch. For group b, the number of days between SDATE and the archive cycle is now correct.
Resolves #4501
Type of change
Change characteristics
How has this been tested?
To be tested in a C96C48 case and in retros
Checklist