-
Notifications
You must be signed in to change notification settings - Fork 544
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
Flexible restart write times (restart_fh) #1320
base: dev/ufs-weather-model
Are you sure you want to change the base?
Flexible restart write times (restart_fh) #1320
Conversation
Maybe I don't have permissions to suggest you as reviewers, @MatthewMasarik-NOAA @JessicaMeixner-NOAA |
@NickSzapiro-NOAA I just added myself as a reviewer for the time being. @JessicaMeixner-NOAA, @sbanihash and I will talk offline to decide on who will take the lead reviewing. |
Hi, can I ask if there is any feedback? fwiw, I imagine the "is_restart_fh?" module could be duplicated and added to WW3 source as well (it only depends on ESMF) if the linking is the issue |
@NickSzapiro-NOAA Nick, I have your reviewed the changes in this PR and I don't have any concerns over your particular changes, but what is holding us up at this point is the build issue that has been caused by the last PR that was merged into dev/ufs-weather-model branch. We are working on a fix for that issue and as soon as that is final, I could do a final check on this PR and we should be good to go. Thanks for your patience. |
Thanks for letting me know, @sbanihash ! |
Pull Request Summary
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 current restart_fh in MOM6 is for integer forecast hours. This will allow CMEPS, MOM6, CICE, and WW3 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.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 exercised in ufs-weather-model regression testing (see ufs-community/ufs-weather-model#2419)
Description
Building on recent netcdf restart capability, enhancement allows for arbitrary restart times. This is useful for IAU methods, for example.
Issue(s) addressed
Closes ufs-community/ufs-weather-model#2348
Commit Message
Flexible restart write times (restart_fh)
Check list
Testing