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

Restore computation of vorticity for ZB20 #715

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

Pperezhogin
Copy link

Changes within the last 9 months turned off the computation of vorticity in MOM_hor_visc.F90 which is required as an input to MOM_Zanna_Bolton.F90 module, and so the ZB20 parameterization was working incorrectly. Here I resolved it with another one if statement.

Copy link
Member

@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 change is correct and necessary.

The change that restricted the conditions when vort_xy is calculated occurred at NCAR#268, on a parallel branch with the addition of the dependency of ZB20 on vort_xy at #484. The source of this problem was a semi-automated reconciliation of these two branches that failed to detect that there was in fact a subtle conflict between these two valuable new contributions.

@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Aug 20, 2024
@marshallward
Copy link
Member

@marshallward marshallward merged commit d234bce into NOAA-GFDL:dev/gfdl Aug 21, 2024
10 checks passed
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.

3 participants