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 ALE_sponge tendency diagnostic units #788

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Corrected the units and conversion factor in init_ALE_sponge_diags() for the various sp_tendency_... diagnostics. Previously they had only been correct for the tendencies of nondimensional quantities. The code also now stores the scaling factor that is set in set_up_ALE_sponge_field_fixed() for later use in registering the sponge tendency diagnostics. Several instances of unusual spacing around semicolons in MOM_ALE_sponge.F90 were also standardized. The documented units and conversion factors for some diagnostics were corrected, but all solutions are bitwise identical.

@Hallberg-NOAA Hallberg-NOAA added the documentation Improvements or additions to documentation label Dec 30, 2024
@Hallberg-NOAA Hallberg-NOAA force-pushed the fix_ALE_sponge_diagnostic branch from b9e296e to 2ffd656 Compare December 30, 2024 01:54
@Hallberg-NOAA Hallberg-NOAA force-pushed the fix_ALE_sponge_diagnostic branch from 2ffd656 to 838d52f Compare January 2, 2025 18:27
  Corrected the units and conversion factor in init_ALE_sponge_diags for the
various sp_tendency_... diagnostics.  Previously they had only been correct for
the tendencies of nondimensional quantities.  The code also now stores the
scaling factor that is set in set_up_ALE_sponge_field_fixed for later use in
registering the sponge tendency diagnostics.  Several instances of unusual
spacing around semicolons in MOM_ALE_sponge were also standardized.  The
documented units and conversion factors for some diagnostics were corrected,
but all solutions are bitwise identical.
@Hallberg-NOAA
Copy link
Member Author

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

@Hallberg-NOAA Hallberg-NOAA merged commit 3a623f0 into NOAA-GFDL:dev/gfdl Jan 7, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants