Skip to content

+Rescale tides and ramp-up times#42

Merged
marshallward merged 3 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:rescale_tides
Dec 21, 2021
Merged

+Rescale tides and ramp-up times#42
marshallward merged 3 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:rescale_tides

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

This PR rescaled the dimensions of the tidal amplitudes and frequencies used
internally in calc_tidal_forcing() and ramp-up times used by update_OBC_ramp()
and updateCFLtruncationValue() for nearly complete dimensional consistency
testing. New unit_scale_type arguments were added to 5 routines, in the case of
calc_tidal_forcing() replacing a previous optional argument that was always
being used. One overly short internal variable, "N", was renamed "nodelon" to
make its purpose clearer and easier to search for. The comments documenting an
additional 31 variables or their units were also corrected. All answers are
bitwise identical, but there are changes to the argument lists of 5 routines.

The commits in this PR include:

  • 7b81cf227 +Rescale tides and ramp-up times
  • dab2eb5bd Corrected the unit documentation for 31 variables

Hallberg-NOAA and others added 3 commits December 14, 2021 16:46
  Corrected the documentation of the units for 31 variables in various modules.
All answers and output are bitwise identical.
  Rescaled the dimensions of the tidal amplitudes and frequencies used
internally in calc_tidal_forcing() and ramp-up times used by update_OBC_ramp()
and updateCFLtruncationValue() for nearly complete dimensional consistency
testing.  New unit_scale_type arguments were added to 5 routines, in the case of
calc_tidal_forcing() replacing a previous optional argument that was always
being used.  One overly short internal variable, "N", was renamed "nodelon" to
make its purpose clearer and easier to search for.  All answers are bitwise
identical, but there are changes to the argument lists of 5 routines.
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 19, 2021

Codecov Report

Merging #42 (05d5499) into dev/gfdl (a902e75) will increase coverage by 0.00%.
The diff coverage is 29.67%.

Impacted file tree graph

@@            Coverage Diff            @@
##           dev/gfdl      #42   +/-   ##
=========================================
  Coverage     28.95%   28.96%           
=========================================
  Files           240      240           
  Lines         71217    71222    +5     
=========================================
+ Hits          20623    20627    +4     
- Misses        50594    50595    +1     
Impacted Files Coverage Δ
src/core/MOM_PressureForce_Montgomery.F90 6.51% <0.00%> (ø)
src/core/MOM_dynamics_unsplit.F90 64.42% <0.00%> (ø)
src/core/MOM_dynamics_unsplit_RK2.F90 63.13% <0.00%> (ø)
src/diagnostics/MOM_wave_structure.F90 0.00% <0.00%> (ø)
src/initialization/MOM_shared_initialization.F90 24.95% <0.00%> (ø)
...arameterizations/vertical/MOM_bulk_mixed_layer.F90 32.07% <ø> (ø)
...rc/parameterizations/vertical/MOM_diabatic_aux.F90 34.67% <ø> (ø)
...c/parameterizations/vertical/MOM_set_viscosity.F90 47.41% <0.00%> (ø)
src/tracer/MOM_lateral_boundary_diffusion.F90 55.71% <ø> (ø)
src/tracer/MOM_tracer_registry.F90 63.02% <ø> (ø)
... and 10 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 a902e75...05d5499. Read the comment docs.

@marshallward
Copy link
Copy Markdown
Member

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

@marshallward marshallward merged commit d244246 into NOAA-GFDL:dev/gfdl Dec 21, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the rescale_tides branch January 3, 2022 13:42
@Hallberg-NOAA Hallberg-NOAA added documentation Improvements or additions to documentation refactor Code cleanup with no changes in functionality or results labels Feb 1, 2022
uwagura pushed a commit to uwagura/MOM6 that referenced this pull request Nov 4, 2025
* port thickness_to_dz_3d to gpu (defensively)

* add arg for turning off updates

* comment to no_update arg

* switch controls cpu/gpu work instead of data transfer

* remove trailing spaces
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 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