Skip to content

Correct variable units in comments in 4 modules#894

Merged
Hallberg-NOAA merged 1 commit into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:corrected_comments
May 3, 2025
Merged

Correct variable units in comments in 4 modules#894
Hallberg-NOAA merged 1 commit into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:corrected_comments

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Corrected the descriptions of the units of two I_rho variables in find_ustar_fluxes() and find_ustar_mech_forcing() and of the lensponge internal variable in RGC_initialize_sponges(). Also corrected the comments describing the locations of grid%geolatT and grid%geolonT. Also refactored dumbbell_initialize_thickness() to use geoLonT or geoLatT directly rather than setting a temporary variable with ill-defined units that is only used once. Only changes in comments or very simple code logic changes are included in this commit, and all answers are bitwise identical.

@Hallberg-NOAA Hallberg-NOAA added the refactor Code cleanup with no changes in functionality or results label Apr 30, 2025
Copy link
Copy Markdown

@MJHarrison-GFDL MJHarrison-GFDL left a comment

Choose a reason for hiding this comment

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

Approved.

  Corrected the descriptions of the units of two I_rho variables in
find_ustar_fluxes() and find_ustar_mech_forcing() and of the lensponge internal
variable in RGC_initialize_sponges().  Also corrected the comments describing
the locations of grid%geolatT and grid%geolonT.  Also refactored
dumbbell_initialize_thickness() to use geoLonT or geoLatT directly rather than
setting a temporary variable with ill-defined units that is only used once. Only
changes in comments or very simple code logic changes are included in this
commit and all answers are bitwise identical.
@Hallberg-NOAA
Copy link
Copy Markdown
Member Author

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

@Hallberg-NOAA Hallberg-NOAA merged commit 3ace0d5 into NOAA-GFDL:dev/gfdl May 3, 2025
51 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the corrected_comments branch June 17, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code cleanup with no changes in functionality or results

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants