forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add restart output for aerosol cycling
Updates the restart_interval setting to make sure it always includes the STEP_GFS time if GOCART is on. This is done using the advanced functionality of restart_interval, which allows for an explicit list of restart times instead of a single interval. If STEP_GFS is a multiple of restart_interval, it is left unchanged. If STEP_GFS is not a multiple of restart_interval, restart_interval is converted to an explicit sequence of restart times, then STEP_GFS is added. If restart_interval is already an explicit list, STEP_GFS is just added to it. This may add a redundant restart time, but that is ignored by FV3. In order to complete this update, the CROW type for restart_interval had to be changed from int to string to accomodate lists of numbers. This has the added benefit of allowing explicit definition of restart times in other applications as well. As part of this update, the values for restart_interval in the forecast config were updated to use the appropriate settings rather than hardcoded values. The default value for the gfs restart_interval was also changed from 6 to 0 to maintain the previous behavior when the setting was ignored. Refs: NOAA-EMC#314
- Loading branch information
1 parent
c196176
commit 9a16dec
Showing
5 changed files
with
25 additions
and
7 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