Skip to content

Add KE_visc_gl90 diagnostic#305

Merged
marshallward merged 3 commits into
NOAA-GFDL:dev/gfdlfrom
NoraLoose:gl90-diag2
Jan 22, 2023
Merged

Add KE_visc_gl90 diagnostic#305
marshallward merged 3 commits into
NOAA-GFDL:dev/gfdlfrom
NoraLoose:gl90-diag2

Conversation

@NoraLoose
Copy link
Copy Markdown

Follow-up from PR #293.

KE_visc_gl90 is an alternative to the diagnostic GLwork. Both diagnostics describe the energetics of the GL90 parameterization, as part of the kinetic energy budget.

  • KE_visc_gl90 is consistent with KE_visc, and the remaining KE diagnostics. In particular, it is true that KE_visc_gl90 is exactly contained in KE_visc, i.e., we have that KE_visc - KE_visc_gl90 represents exactly the energetics of all viscosity contributions except the GL90 viscosity.

  • GLwork is not directly compatible with KE_visc, but is guaranteed to be sign-definite if summed in the vertical.

The figures below show snapshots of the vertically summed diagnostics KE_visc_gl90 and GLwork.

KE_visc_gl90 is an alternative to the diagnostic GLwork. Both diagnostics describe
the energetics of the GL90 parameterization, as part of the kinetic energy budget.

* KE_visc_gl90 is consistent with KE_visc, and the remaining KE diagnostics. In particular,
  it is true that KE_visc_gl90 is exactly contained in KE_visc, i.e., we have that
  KE_visc - KE_visc_gl90 represents exactly the energetics of all viscosity contributions
  except the GL90 viscosity.

* GLwork is not directly compatible with KE_visc, but is guaranteed to be sign-definite if
  summed in the vertical.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 9, 2023

Codecov Report

Merging #305 (e5179bf) into dev/gfdl (b9daf2f) will increase coverage by 0.00%.
The diff coverage is 75.00%.

@@            Coverage Diff            @@
##           dev/gfdl     #305   +/-   ##
=========================================
  Coverage     37.10%   37.11%           
=========================================
  Files           263      263           
  Lines         73799    73814   +15     
  Branches      13754    13757    +3     
=========================================
+ Hits          27384    27396   +12     
  Misses        41354    41354           
- Partials       5061     5064    +3     
Impacted Files Coverage Δ
...c/parameterizations/vertical/MOM_vert_friction.F90 58.62% <ø> (ø)
src/diagnostics/MOM_diagnostics.F90 71.61% <75.00%> (+0.02%) ⬆️
src/framework/MOM_document.F90 73.36% <0.00%> (+0.21%) ⬆️

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

@marshallward marshallward removed the request for review from Hallberg-NOAA January 19, 2023 16:46
Comment thread src/diagnostics/MOM_diagnostics.F90 Outdated
Comment thread src/diagnostics/MOM_diagnostics.F90 Outdated
@marshallward marshallward self-requested a review January 19, 2023 16:54
Copy link
Copy Markdown
Member

@marshallward marshallward left a comment

Choose a reason for hiding this comment

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

Thanks for making those changes. Since the dv_dt_visc_gl90 calculation was already reviewed, there should be no problem adding this and it looks ready to merge.

@marshallward
Copy link
Copy Markdown
Member

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

@marshallward marshallward merged commit c60aff1 into NOAA-GFDL:dev/gfdl Jan 22, 2023
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