Skip to content
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

Fixing issue #539 #540

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/parameterizations/lateral/MOM_mixed_layer_restrat.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1767,8 +1767,10 @@ subroutine mixedlayer_restrat_register_restarts(HI, GV, US, param_file, CS, rest
units="s", default=0., scale=US%s_to_T, do_not_log=.true.)
call get_param(param_file, mdl, "MLE_MLD_DECAY_TIME2", CS%MLE_MLD_decay_time2, &
units="s", default=0., scale=US%s_to_T, do_not_log=.true.)
call get_param(param_file, mdl, "MLE%USE_BODNER23", use_Bodner, &
call openParameterBlock(param_file,'MLE') ! Prepend MLE% to all parameters
call get_param(param_file, mdl, "USE_BODNER23", use_Bodner, &
default=.false., do_not_log=.true.)
call closeParameterBlock(param_file) ! The remaining parameters do not have MLE% prepended
if (CS%MLE_MLD_decay_time>0. .or. CS%MLE_MLD_decay_time2>0. .or. use_Bodner) then
! CS%MLD_filtered is used to keep a running mean of the PBL's actively mixed MLD.
allocate(CS%MLD_filtered(HI%isd:HI%ied,HI%jsd:HI%jed), source=0.)
Expand Down