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

Updates from dev/cpt 08/20/21 #1474

Merged
merged 39 commits into from
Aug 31, 2021

Conversation

gustavo-marques
Copy link
Collaborator

This PR includes all the developments been done in dev/cpt since Dec 23, 2020. The main updates are summarized below:

adcroft and others added 30 commits December 23, 2020 16:01
- I had a "*" in place of a "/" for calculating a non-dimensional
  quantity that led to OOB numbers.
- I'd previously made the NW2 tracers mandatory in the restart field
  which prohibits adding tracers on a restart. This commit allows a
  restart without tracers to be used.
- I noticed an unnecessary function call which is now removed.
- An inverted do/if loop was using uninitialized variables and
  was overwriting restart data.
- The number of tracers was hard coded via an integer parameter which
  is unnecessarily restrictive.
- The first interation of NW2 tracers implemented 20 tracesr with 10
  different spatial structures and 2 different restoration time scales.
  This has been replaced with 9 tracers with 3 spatial, corresponding
  to sin(2x), y, z, and 3 time scales.
- Number of tracer groups and time scales are now run-time configurable.
Remove MEKE_damping from use_drag_rate so we can use linear
dissipation without bottom drag. This is needed for the
GEOMETRIC scheme.
Visc_rem_[uv] multiplied momentum budget diagnostics
Make use_drag_rate independent of MEKE_damping
@codecov
Copy link

codecov bot commented Aug 20, 2021

Codecov Report

Merging #1474 (2925661) into dev/gfdl (df97d4f) will decrease coverage by 0.00%.
The diff coverage is 27.53%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1474      +/-   ##
============================================
- Coverage     29.08%   29.08%   -0.01%     
============================================
  Files           235      236       +1     
  Lines         71097    71294     +197     
============================================
+ Hits          20681    20736      +55     
- Misses        50416    50558     +142     
Impacted Files Coverage Δ
src/core/MOM_variables.F90 28.90% <ø> (ø)
src/diagnostics/MOM_diagnostics.F90 76.40% <ø> (ø)
src/tracer/nw2_tracers.F90 0.00% <0.00%> (ø)
src/parameterizations/lateral/MOM_MEKE.F90 50.51% <12.50%> (+<0.01%) ⬆️
src/tracer/MOM_tracer_flow_control.F90 52.19% <55.55%> (+0.12%) ⬆️
src/core/MOM_dynamics_split_RK2.F90 59.59% <57.89%> (-0.15%) ⬇️
src/parameterizations/lateral/MOM_hor_visc.F90 43.21% <63.63%> (+0.41%) ⬆️
src/core/MOM_barotropic.F90 37.03% <66.66%> (+0.07%) ⬆️

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 df97d4f...2925661. Read the comment docs.

gustavo-marques and others added 4 commits August 30, 2021 10:40
This patch now always initializes drag_rate, either to zero or to
the bottom drag formula.
It also changes the logic to always execute the second Strang
splitting calculation.

Removed unused code, including drag_rate_J15 and some
commented code.
Copy link
Collaborator

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

With the corrections to this PR, I am satisfied that it should be accepted, while still noting that there is a minor issue with one of the comments mis-documenting the units of a variable that will be addressed in a subsequent small PR.

@marshallward
Copy link
Collaborator

marshallward commented Aug 31, 2021

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

New parameters:

  • USE_NW2_TRACERS

New diagnostics:

  • diff[uv]_visc_rem
  • PF[uv]_visc_rem
  • CA[uv]_visc_rem
  • [uv]_BT_accel_visc_rem

@marshallward marshallward merged commit ebd0393 into mom-ocean:dev/gfdl Aug 31, 2021
@gustavo-marques gustavo-marques deleted the cpt2gfdl_080622 branch February 17, 2022 15:39
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.

5 participants