-
Notifications
You must be signed in to change notification settings - Fork 56
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
13 - coupler_intermediate restart #128
Conversation
coupler_update_atmos_model_radiation coupler_update_atmos_model_down coupler_flux_down_from_atmos
update_ice_model_fast coupler_flux_up_to_atmos coupler_update_atmos_model_up coupler_flux_atmos_to_ocean
… atmos_model-flux_down
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the change to the coupler_restart routine part of the rewrite plan? Is this outside of the project scope?
full/coupler_main.F90
Outdated
@@ -446,7 +442,8 @@ program coupler_main | |||
if (check_stocks >= 0) call coupler_flux_init_finish_stocks(Time, Atm, Land, Ice, Ocean_state, & | |||
coupler_clocks, init_stocks=.True.) | |||
|
|||
do nc = 1, num_cpld_calls | |||
!> ocean/slow-ice integration loop | |||
slow_integration_loop : do nc = 1, num_cpld_calls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be named something like coupled_timestep_loop
because it’s the coupled timestep
full/full_coupler_mod.F90
Outdated
@@ -1343,7 +1354,7 @@ subroutine coupler_restart(Atm, Ice, Ocean, Ocn_bc_restart, Ice_bc_restart, & | |||
type(FmsNetcdfDomainFile_t), dimension(:), pointer, intent(inout) :: Ocn_bc_restart | |||
type(FmsNetcdfDomainFile_t), dimension(:), pointer, intent(inout) :: Ice_bc_restart | |||
|
|||
type(FmsTime_type), intent(in) :: Time_run, Time_res, Time_start, Time_end | |||
type(FmsTime_type), intent(in) :: Time_current, Time_restart_current, Time_start |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These variables need to be documented
@thomas-robinson if you do not want to include the restart changes, then this PR does not need to be merged. Refactorization is done for now. |
In this PR, the subroutine
coupler_intermediate_restart
andcoupler_summarize_timestep
hve been defined and is used in coupler_main.AM4, CM4, SPEAR, and OM4 experiments pass.