Skip to content

MOM6: +Additional code cleanup#1078

Merged
marshallward merged 2 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:more_cleanup
Mar 20, 2020
Merged

MOM6: +Additional code cleanup#1078
marshallward merged 2 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:more_cleanup

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Collaborator

This PR includes another batch of minor changes to clean up the MOM6 code,
including corrections to comments, removing unused variables from subroutines
and the ocean_grid_type, noting a probable dimensional inconsistency in comments
in MOM_open_boundary.F90, and rescaling a variable used to set area_shelf_h.
There are no changes to solutions, diagnostics, or output files. The commits in
this PR include:

  Rescaled the units of the area_shelf_h variable used to initialize
frac_shelf_h, and eleminated the unused g_Earth element in the ocean_grid_type.
All answers are bitwise identical, but an element was removed from a
transparent public type.
  Corrected additional documented units in comments, corrected spelling errors
in comments and removed unused variables.  Also noted some probable dimensional
consistency errors in MOM_open_boundary.F90.  All answers are bitwise identical.
@Hallberg-NOAA
Copy link
Copy Markdown
Collaborator Author

This PR is being tested with https://gitlab.gfdl.noaa.gov/ogrp/MOM6/pipelines/10045.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Mar 20, 2020

Codecov Report

Merging #1078 into dev/gfdl will decrease coverage by <.01%.
The diff coverage is 29.41%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1078      +/-   ##
============================================
- Coverage     45.96%   45.96%   -0.01%     
============================================
  Files           212      212              
  Lines         67351    67350       -1     
============================================
- Hits          30961    30959       -2     
- Misses        36390    36391       +1
Impacted Files Coverage Δ
src/user/Idealized_Hurricane.F90 0% <ø> (ø) ⬆️
src/core/MOM_grid.F90 78.22% <ø> (ø) ⬆️
...c/parameterizations/lateral/MOM_internal_tides.F90 0% <ø> (ø) ⬆️
src/core/MOM_barotropic.F90 70.79% <ø> (-0.03%) ⬇️
...arameterizations/lateral/MOM_thickness_diffuse.F90 62.08% <ø> (ø) ⬆️
src/initialization/MOM_state_initialization.F90 32.37% <0%> (-0.04%) ⬇️
src/ALE/MOM_regridding.F90 31.53% <0%> (ø) ⬆️
...rameterizations/vertical/MOM_diapyc_energy_req.F90 0% <0%> (ø) ⬆️
src/user/baroclinic_zone_initialization.F90 0% <0%> (ø) ⬆️
...rc/parameterizations/vertical/MOM_tidal_mixing.F90 10.49% <0%> (ø) ⬆️
... and 70 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8afb90...a99e444. Read the comment docs.

@marshallward marshallward merged commit 02f257b into mom-ocean:dev/gfdl Mar 20, 2020
@Hallberg-NOAA Hallberg-NOAA deleted the more_cleanup branch July 30, 2021 18:50
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.

3 participants