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

Fix dimensional rescaling in predict_MEKE #802

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Refactored predict_MEKE() to include two missing dimensional rescaling factors and correct a third and to clearly indicate the units and the nature of the variables where they are being used, in coordination with Andrew Shao. Some white spacing around semicolons in the same MOM_MEKE file was also modified to follow the patterns used elsewhere in the MOM6 code. All answers are bitwise identical in cases that do not use dimensional rescaling.

  Refactored predict_MEKE() to include two missing dimensional rescaling factors
and correct a third and to clearly indicate the units and the nature of the
variables where they are being used, in coordination with Andrew Shao.  Some
white spacing around semicolons in the same MOM_MEKE file was also modified to
follow the patterns used elsewhere in the MOM6 code.  All answers are bitwise
identical in cases that do not use dimensional rescaling.
@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Jan 13, 2025
@ashao
Copy link

ashao commented Jan 20, 2025

@Hallberg-NOAA and I discussed this last week and I agree that the changes are correct given the implementation of the MEKE prediction

@theresa-morrison theresa-morrison merged commit bf35f31 into NOAA-GFDL:dev/gfdl Jan 21, 2025
10 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the rescale_predict_MEKE branch January 25, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants