Skip to content

Corrected the rescaling of 5 KPP diagnostics#792

Merged
marshallward merged 2 commits intoNOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:fix_KPP_diagnostic_scaling
Jan 2, 2025
Merged

Corrected the rescaling of 5 KPP diagnostics#792
marshallward merged 2 commits intoNOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:fix_KPP_diagnostic_scaling

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Added missing factors to the conversion arguments in the register_diag_field() calls for the diagnostics of the KPP non-local transport tendency and the net surface tracer fluxes, and corrected the dimensional scaling that is being applied to the KPP_Vt2 diagnostic as calculated in KPP_compute_BLD(). All solutions are bitwise identical, but now output files with these 3 sets of KPP diagnostics are invariant to dimensional rescaling. This can be verified with the visc.nc file generated by the ocean_only/single_column/KPP test case in MOM6-examples. Whereas previously the diagnostics KPP_Vt2, KPP_QminusSW, KPP_netSalt, KPP_NLT_dTdt and KPP_NLT_dSdt in that file would change when dimensional rescaling was applied, now they do not. No output is changed unless dimensional rescaling is used.

  Added missing factors to the conversion arguments in the register_diag_field
calls for the diagnostics of the KPP non-local transport tendency and the net
surface tracer fluxes, and corrected the dimensional scaling that is being
applied to the KPP_Vt2 diagnostic as calculated in KPP_compute_BLD.  All
solutions are bitwise identical, but now output files with these 3 sets of KPP
diagnostics are invariant to dimensional rescaling.  This can be verified with
the visc.nc file generated by the single_column/KPP test case in MOM6-examples.
Whereas previously the diagnostics KPP_Vt2, KPP_QminusSW, KPP_netSalt,
KPP_NLT_dTdt and KPP_NLT_dSdt in that file would change when dimensional
rescaling was applied, now they do not.  No output is changed unless dimensional
rescaling is used.
@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Jan 1, 2025
@marshallward
Copy link
Copy Markdown
Member

@marshallward marshallward merged commit 81ea4b6 into NOAA-GFDL:dev/gfdl Jan 2, 2025
@Hallberg-NOAA Hallberg-NOAA deleted the fix_KPP_diagnostic_scaling branch January 14, 2025 18:41
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