Skip to content

Fix bugs in VBF diagnostics for tidal Kd terms#886

Merged
Hallberg-NOAA merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
breichl:VBF_Kd_itides_bugfix
Apr 24, 2025
Merged

Fix bugs in VBF diagnostics for tidal Kd terms#886
Hallberg-NOAA merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
breichl:VBF_Kd_itides_bugfix

Conversation

@breichl
Copy link
Copy Markdown

@breichl breichl commented Apr 23, 2025

  • Kd_itides was not set for the VBF diagnostic because it mistakenly checked if Kd_itidal was associated. The check is updated. The note in the code to not confuse Kd_itides with Kd_itidal is confirmed.
  • Code added to work with Polzin option in MOM_tidal_mixing

@breichl breichl requested a review from Hallberg-NOAA April 23, 2025 18:10
Copy link
Copy Markdown
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.

These changes only impact diagnostics, and upon visual inspection I agree that they are correct.

@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Apr 24, 2025
@Hallberg-NOAA
Copy link
Copy Markdown
Member

This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/27231.

@Hallberg-NOAA Hallberg-NOAA merged commit e63a822 into NOAA-GFDL:dev/gfdl Apr 24, 2025
51 checks passed
marshallward pushed a commit that referenced this pull request Apr 28, 2025
* Fix bug in Kd_itides allocation check for VBF itides diagnostic

* Set VBF tidal mixing outputs to work with Polzin option in addition to Simmons option

---------

Co-authored-by: brandon.reichl <brandon.reichl@noaa.gov>
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.

2 participants