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

*Change defaults for KV_ML_INVZ2 and 3 bug flags #205

Merged
merged 2 commits into from
Sep 20, 2022

Conversation

Hallberg-NOAA
Copy link
Member

Updated the default values for KV_ML_INVZ2, BAROTROPIC_TIDAL_SAL_BUG,
LAYER_Z_INIT_IC_EXTRAP_BUG, and KAPPA_SHEAR_VERTEX_PSURF_BUG. Also completed obsoleting of HENYEY_IGW_BACKGROUND_NEW. This PR will change answers in some cases, unless the MOM_input files already included lines with the following settings, or otherwise explicitly set these parameters:

KV_ML_INVZ2 = 0.0
BAROTROPIC_TIDAL_SAL_BUG = False
LAYER_Z_INIT_IC_EXTRAP_BUG = False
KAPPA_SHEAR_VERTEX_PSURF_BUG = False

For each of these parameters, there is another parameter (such as BULKMIXEDLAYER or TIDES) whose value determines whether they might be used in a particular case. To determine whether or why answers for a particular configuration might change with this PR, compare the MOM_parameter_doc.all files from equivalent runs before and after these code changes to determine whether any of these parameters are taking the default value. This commit could change answers in some cases that use default values for these parameters, and the entries in some MOM_parameter_doc files will change. The answers in the MOM6-examples test suite are bitwise identical, due to some entries that were recently added to the MOM_input files for these cases.

  Updated the default values for KV_ML_INVZ2, BAROTROPIC_TIDAL_SAL_BUG,
LAYER_Z_INIT_IC_EXTRAP_BUG, and KAPPA_SHEAR_VERTEX_PSURF_BUG. Also completed
obsoleting of HENYEY_IGW_BACKGROUND_NEW.  This PR will change answers in some
cases, unless the MOM_input files already included lines with the following
settings, or otherwise explicitly set these parameters:

  KV_ML_INVZ2 = 0.0
  BAROTROPIC_TIDAL_SAL_BUG = False
  LAYER_Z_INIT_IC_EXTRAP_BUG = False
  KAPPA_SHEAR_VERTEX_PSURF_BUG = False

For each of these parameters, there is another parameter (such as BULKMIXEDLAYER
or TIDES) whose value determines whether they might be used in a particular
case.  To determine whether or why answers for a particular configuration might
change with this PR, compare the MOM_parameter_doc.all files from equivalent
runs before and after these code changes to determine whether any of these
parameters are taking the default value.  This commit could change answers in
some cases that use default values for these parameters, and the entries in some
MOM_parameter_doc files will change.  The answers in the MOM6-examples test
suite are bitwise identical, due to some entries that were recently added to the
MOM_input files for these cases.
@Hallberg-NOAA
Copy link
Member Author

This PR changes answers in some cases, and some of the C.I. regression tests fall into this category.

@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Merging #205 (c8a8710) into dev/gfdl (f0d6680) will increase coverage by 0.03%.
The diff coverage is 62.50%.

@@             Coverage Diff              @@
##           dev/gfdl     #205      +/-   ##
============================================
+ Coverage     37.14%   37.18%   +0.03%     
============================================
  Files           262      261       -1     
  Lines         72746    72418     -328     
  Branches      13598    13571      -27     
============================================
- Hits          27023    26930      -93     
+ Misses        40707    40486     -221     
+ Partials       5016     5002      -14     
Impacted Files Coverage Δ
src/initialization/MOM_state_initialization.F90 21.65% <0.00%> (ø)
...rc/parameterizations/vertical/MOM_bkgnd_mixing.F90 31.78% <0.00%> (-0.24%) ⬇️
...c/parameterizations/vertical/MOM_vert_friction.F90 59.01% <75.00%> (ø)
src/core/MOM_barotropic.F90 58.72% <100.00%> (ø)
src/parameterizations/vertical/MOM_kappa_shear.F90 74.07% <100.00%> (+1.32%) ⬆️
src/framework/MOM_string_functions.F90 68.78% <0.00%> (-18.54%) ⬇️
src/initialization/MOM_shared_initialization.F90 24.73% <0.00%> (-4.57%) ⬇️
src/ALE/MOM_hybgen_unmix.F90 0.00% <0.00%> (ø)
src/equation_of_state/MOM_EOS_NEMO.F90
... and 1 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/16811 ✔️ 🟡

@marshallward marshallward merged commit fae71c4 into NOAA-GFDL:dev/gfdl Sep 20, 2022
chzhangudel pushed a commit to chzhangudel/MOM6 that referenced this pull request Sep 29, 2022
Add the Stokes Forces Implementation for the Surface Bands wave coupling method
@Hallberg-NOAA Hallberg-NOAA deleted the update_KVML_defaults branch February 2, 2023 14:10
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