Added back in abiotic mods#360
Merged
Merged
Conversation
Mods from 3b8ecaa were dropped in the latest updates to MOM_generic_tracer.F90
iangrooms
added a commit
to iangrooms/MOM6
that referenced
this pull request
Aug 28, 2025
Updates the NUOPC cap to write the stochastic physics package's restart file in the run directory whenever using the Stochastic GM+E parameterization. When restarting, enables the stochastic physics package to read a restart file from a name/location other than the default. If the new MOM6 namelist parameter CESM_RESTFILE is True then it uses the mom6 restart filename but with .r_stoch. in place of .r.. If CESM_RESTFILE is False (default) it simply uses whatever the default restart file name is in the stochastic physics package. (Edit: This PR no longer uses the CESM_RESTFILE parameter. It just reads the restart file directly from the run directory.) A separate PR to ESCOMP/stochastic_physics updates that package to allow the restart file name to change from its default value, which was originally hard-coded. This partially addresses mom-ocean#360. Changes will be needed in MOM_interface to make the whole thing work; specifically, we should always set CESM_RESTFILE = True in user_nl_mom, and when CONTINUE_RUN is true we need to modify the stochini parameter in the &nam_stochy section of input.nml to take the value .true.. This PR takes an alternate approach to mom-ocean#373, which required the restart file name to be set in the stochastic physics namelist. I've closed mom-ocean#373 in preference to this approach.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a follow up to #353 where the generic abiotic interfaces changes were lost. It would be nice to have a dev/master/2016.09.22a tag.
Mods from 3b8ecaa were dropped in the latest
updates to MOM_generic_tracer.F90