Skip to content

Conversation

Hallberg-NOAA
Copy link
Member

This PR merges the MOM-ocean main into dev/gfdl. It is only here to facilitate proper testing, but it should not actually be merged in.

Hallberg-NOAA and others added 6 commits August 5, 2025 10:30
  Updated the default values of 15 runtime parameters, as agreed upon in a MOM6
consortium wide conversations on July 29, 2024 and December 16, 2024.  The most
prominent of these is that 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 and LOTW_BBL_ANSWER_DATE all now take
their default values from DEFAULT_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 and
IDL_HURR_SCM_EDGE_TAPER_BUG are now false by default.

  The MOM_input files for the test cases in the `.testing/tc[01234]` directories
were updated to explicitly set all of these parameters to their previous default
values if they are used in the relevant cases, as well as parameters that will
be change following discussions from June 2, 2205.

  Bitwise identical answers are recovered if all 15 of these parameters are set
explicitly, but answers can change if any of these parameters take default
values.  All of these default changes are the consensus decision of
consortium-wise MOM6 dev calls.
  Updated the default values of 6 runtime parameters, as agreed upon in a MOM6
consortium wide conversations on June 2, 2025. VISC_REM_BUG and FRICTWORK_BUG
are now false by default. MASS_WEIGHT_IN_PRESSURE_GRADIENT_TOP now takes its
default value from the setting for MASS_WEIGHT_IN_PRESSURE_GRADIENT.  Similarly,
the default for DRAG_DIFFUSIVITY_ANSWER_DATE is now set to follow
SET_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.
  Obsoleted 7 runtime parameters that always take the same value, as agreed upon
in a MOM6 consortium wide conversations on June 2, 2025, and added tests to
catch these parameters in MOM_obsolete_params.  The parameters that were
obsoleted include BETTER_BOUND_KH, BETTER_BOUND_AH, USE_DIABATIC_TIME_BUG,
FIX_UNSPLIT_DT_VISC_BUG, CFL_BASED_TRUNCATIONS and KD_BACKGROUND_VIA_KDML_BUG.
The runtime parameter MAXVEL still exists, but it is logged in a different order
than before, changing the contents of the MOM_parameter_doc files. All answers
are bitwise identical in cases that run, but cases that use these parameters
will experience a fatal error.
  Added code to set all intent(out) arguments in the stub version of the
MOM_generic_tracer routines MOM_generic_tracer_stock(),
MOM_generic_tracer_min_max() and MOM_generic_tracer_get() to avoid compile-time
warnings.  These stub routines are never supposed to be used, and there would be
a fatal error during the registration phase if they are used.  The values that
are set in these stub routines are extremely large or otherwise nonsensical so
that it would make it easier to debug them if they were used accidentally.  All
answers are bitwise identical in any cases that run successfully.
…aults_2025

+*Update parameter defaults for 2024 and 2025, including EQN_OF_STATE
@Hallberg-NOAA
Copy link
Member Author

This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/28598 with the expected warnings about updated parameter defaults and some reordering of where parameters appear in the MOM_parameter_doc files.

The main branch of MOM6 will be merged into dev/gfdl directly to avoid creating new commit hashes. Once this is done, this PR can be closed.

@marshallward
Copy link
Member

I repeated the merge which ended up generating a new hash (90d426f) but otherwise the changes are identical and main has been merged into dev/gfdl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants