This PR enables writing forecast hour defined restarts ("restart_fh") in the same way as space-delimited floating point forecast hours in model_configure attributes, like restart_fh: 0.25 2.5 6 17 24. The implementation builds on current restart_fh in MOM6 for CMEPS, MOM6, and CICE to have option of forecast hour restarts in addition to existing functionality. Restart writes are triggered when input restart_fh forecast hours are evenly divisible by a component's timestep (internally compared in units of integer seconds) and skipped otherwise.
Specific notes
Contributors other than yourself, if any: Denise Worthen, Jun Wang
Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial) bfb
Any User Interface Changes (namelist or namelist defaults changes)? Optional enabling in UFS configure component attribute
Testing performed
Please describe the tests along with the target model and machine(s)
If possible, please also added hashes that were used in the testing
Testing with cpld_control_gfsv17 confirms that restarts are b4b when (1) sharing common times with RESTART_N and (2) instead of RESTART_N. This feature is not exercised in regression testing. See https://github.com/ufs-community/ufs-weather-model/pull/2419
Description of changes
This PR enables writing forecast hour defined restarts ("restart_fh") in the same way as space-delimited floating point forecast hours in model_configure attributes, like
restart_fh: 0.25 2.5 6 17 24
. The implementation builds on current restart_fh in MOM6 for CMEPS, MOM6, and CICE to have option of forecast hour restarts in addition to existing functionality. Restart writes are triggered when input restart_fh forecast hours are evenly divisible by a component's timestep (internally compared in units of integer seconds) and skipped otherwise.Specific notes
Contributors other than yourself, if any: Denise Worthen, Jun Wang
CMEPS Issues Fixed (include github issue #): https://github.com/ufs-community/ufs-weather-model/issues/2348
Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial) bfb
Any User Interface Changes (namelist or namelist defaults changes)? Optional enabling in UFS configure component attribute
Testing performed
Please describe the tests along with the target model and machine(s) If possible, please also added hashes that were used in the testing
Testing with cpld_control_gfsv17 confirms that restarts are b4b when (1) sharing common times with RESTART_N and (2) instead of RESTART_N. This feature is not exercised in regression testing. See https://github.com/ufs-community/ufs-weather-model/pull/2419