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 default for USE_NET_FW_ADJUSTMENT_SIGN_BUG in drivers #1227

Merged
merged 1 commit into from
Oct 21, 2020
Merged

Change default for USE_NET_FW_ADJUSTMENT_SIGN_BUG in drivers #1227

merged 1 commit into from
Oct 21, 2020

Conversation

adcroft
Copy link
Collaborator

@adcroft adcroft commented Oct 19, 2020

This commit has already been added to main-candidate-2020-09-18 #1211 but needs merging into dev/gfdl

  • The default for USE_NET_FW_ADJUSTMENT_SIGN_BUG had been changed to
    False but during the merge of main onto dev/gfdl the default was
    inadvertently flipped. @gustavo-marques pointed this out when reviewing
    NOAA-GFDL/MOM6#1211.
  • This affects EMC and NCAR versions of drivers and is not tested at GFDL.

- The default for USE_NET_FW_ADJUSTMENT_SIGN_BUG had been changed to
  False but during the merge of main onto dev/gfdl the default was
  inadvertently flipped. @gustavo-marques pointed this out when reviewing
  NOAA-GFDL/MOM6#1211.
- This affects EMC and NCAR versions of drivers and is not tested at GFDL.
Copy link
Collaborator

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this fixes a problem that I inadvertently introduced, and that this should be pulled into dev/gfdl at the earliest opportunity. There is no need to run the MOM6-examples regression tests on this case because it will not be exercised.

@marshallward
Copy link
Collaborator

marshallward commented Oct 21, 2020

@marshallward marshallward merged commit e4e3443 into mom-ocean:dev/gfdl Oct 21, 2020
@adcroft adcroft deleted the patch-main-pr-net-fw-sign-bug branch November 9, 2020 23:21
Hallberg-NOAA added a commit to Hallberg-NOAA/MOM6 that referenced this pull request Feb 24, 2023
  Restored an else that was inadvertently deleted as a part of code clean up in
MOM-ocean/MOM6 PR mom-ocean#1227 on June 5, 2020.  This bug causes bulkmixedlayer to be
called twice (with cumulative effects) when 0. < ML_MIX_FIRST < 1., and not to
be called at all when ML_MIX_FIRST = 1.  This bug only applies to cases where
the bulk mixed layer is enabled by setting BULKMIXEDLAYER=True and
USE_REGRIDDING=False (i.e., in layered mode configurations with active
thermodynamics), however because the default value of ML_MIX_FIRST = 0, this bug
does not appear to be used in any active test cases, and it went undetected when
it was introduced.  All answers in the MOM6-examples test suite are bitwise
identical, but this could change answers in some cases.
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.

3 participants