Skip to content

MOM6: +Make wave speed calculations more robust via new options#1096

Merged
marshallward merged 2 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:better_wave_speeds
Apr 29, 2020
Merged

MOM6: +Make wave speed calculations more robust via new options#1096
marshallward merged 2 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:better_wave_speeds

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Collaborator

Added new options to control the wave speed calculation. These are set with
optional arguments to wave_speed_init, wave_speed_set_params, wave_speed and
wave_speeds, which are set with the runtime parameters INTERNAL_WAVE_SPEED_TOL,
INTERNAL_WAVE_SPEED_MIN, and INTERNAL_WAVE_SPEED_BETTER_EST. Also altered the
internal scaling of velocity to make cascading underflows leading to NaNs less
likely. By default all answers are bitwise identical, but there are three new
runtime parameters and new optional arguments to 4 public interfaces.

  Added new options to control the wave speed calculation.  These are set with
optional arguments to wave_speed_init, wave_speed_set_params, wave_speed and
wave_speeds, which are set with the runtime parameters INTERNAL_WAVE_SPEED_TOL,
INTERNAL_WAVE_SPEED_MIN, and INTERNAL_WAVE_SPEED_BETTER_EST.  Also altered the
internal scaling of velocity to make cascading underflows leading to NaNs less
likely.  By default all answers are bitwise identical, but there are three new
runtime parameters and new optional arguments to 4 public interfaces.
@codecov-io
Copy link
Copy Markdown

codecov-io commented Apr 23, 2020

Codecov Report

Merging #1096 into dev/gfdl will decrease coverage by 0.01%.
The diff coverage is 35.94%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1096      +/-   ##
============================================
- Coverage     45.79%   45.77%   -0.02%     
============================================
  Files           215      215              
  Lines         69484    69602     +118     
============================================
+ Hits          31819    31860      +41     
- Misses        37665    37742      +77     
Impacted Files Coverage Δ
src/core/MOM_barotropic.F90 70.80% <0.00%> (ø)
src/ice_shelf/MOM_ice_shelf.F90 0.00% <0.00%> (ø)
src/ice_shelf/MOM_marine_ice.F90 0.00% <0.00%> (ø)
src/core/MOM_forcing_type.F90 62.88% <33.33%> (ø)
src/diagnostics/MOM_wave_speed.F90 42.66% <33.33%> (-3.33%) ⬇️
src/diagnostics/MOM_diagnostics.F90 87.70% <100.00%> (+0.08%) ⬆️
...eterizations/lateral/MOM_lateral_mixing_coeffs.F90 60.68% <100.00%> (+0.24%) ⬆️
...parameterizations/vertical/MOM_diabatic_driver.F90 59.10% <0.00%> (+0.05%) ⬆️
...rameterizations/vertical/MOM_diapyc_energy_req.F90 0.44% <0.00%> (+0.44%) ⬆️

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 6bd6e02...21c655c. Read the comment docs.

@Hallberg-NOAA
Copy link
Copy Markdown
Collaborator Author

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

@marshallward
Copy link
Copy Markdown
Collaborator

Updated regression test: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/pipelines/10286

@marshallward marshallward merged commit 33c5c51 into mom-ocean:dev/gfdl Apr 29, 2020
@Hallberg-NOAA Hallberg-NOAA deleted the better_wave_speeds branch July 30, 2021 18:48
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