+*Update parameter defaults for 2024 and 2025, including EQN_OF_STATE #942
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 series of 3 commits updates the defaults for a total of 21 runtime parameters, and obsoletes another 7 runtime parameters, as agreed to in MOM6 consortium-wide meetings on July 29, 2024, December 16, 2024 and June 2, 2025.
The default equation of state is now
EQN_OF_STATE = "WRIGHT_FULL"
, in place of the buggy previous default of"WRIGHT"
.The 8 answer date parameters
REGRIDDING_ANSWER_DATE
,TIDES_ANSWER_DATE
,WAVE_INTERFACE_ANSWER_DATE
,MEKE_GM_SRC_ANSWER_DATE
,NDIFF_ANSWER_DATE
,KPP%ANSWER_DATE
,HOR_DIFF_ANSWER_DATE
andLOTW_BBL_ANSWER_DATE
all now take their default values fromDEFAULT_ANSWER_DATE
.The bug-retention parameters
MEKE_GM_SRC_ALT_SLOPE_BUG
,HOR_DIFF_LIMIT_BUG
,BACKSCATTER_UNDERBOUND
,DETERMINE_TEMP_CONVERGENCE_BUG
,LA_MISALIGNMENT_BUG
,IDL_HURR_SCM_EDGE_TAPER_BUG
,VISC_REM_BUG
andFRICTWORK_BUG
are now false bydefault.
With these changes,
MASS_WEIGHT_IN_PRESSURE_GRADIENT_TOP
now takes its default value from the setting forMASS_WEIGHT_IN_PRESSURE_GRADIENT
. Similarly, the default forDRAG_DIFFUSIVITY_ANSWER_DATE
is now set to followSET_DIFF_ANSWER_DATE
.KELVIN_WAVE_VEL_NUDGING_TIMESCALE
is now set to a negative value by default, forcing the user to provide a valid value at runtime.SHELFWAVE_CORRECT_AMPLITUDE
now defaults to True.The parameters
BETTER_BOUND_KH
,BETTER_BOUND_AH
,USE_DIABATIC_TIME_BUG
,FIX_UNSPLIT_DT_VISC_BUG
,CFL_BASED_TRUNCATIONS
andKD_BACKGROUND_VIA_KDML_BUG
have all been obsoleted and are no longer valid MOM6 runtime parameters.These changes can change answers if any of the impacted parameters are taking their default values, but answers will not change if they are set explicitly. The easiest way to determine what parameters must now be set explicitly to
retain existing answers is to run a configuration twice with versions of the model from before and after this PR, and to compare the MOM_parameter_doc.all files to determine which parameters have been changed by the changing defaults.
The specific commits in this PR include: