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

+*Revise units of arguments to vert_fill_TS #402

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Pass dt_kappa_smooth to calc_isoneutral_slopes and vert_fill_TS in units of [H Z ~> m2 or kg m-1] instead of [Z2 ~> m2] for consistency with the units of other diffusivities in the code and to reduce the depenency on the Boussinesq reference density in non-Boussinesq configurations. In addition to the changes to the units of these two arguments, there is a new unit_scale_type argument to vert_fill_TS and MOM_calc_varT and a new verticalGrid_type argument to MOM_stoch_eos_init. The units of 4 vertical diffusivities in the control structures in 4 different modules are also changed accordingly.

All answers are bitwise identical in Boussinesq mode, but they can change for some non-Boussinesq configurations. There are new mandatory arguments to three publicly visible routines.

@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Merging #402 (3124ba0) into dev/gfdl (d5ba107) will increase coverage by 0.00%.
The diff coverage is 52.00%.

❗ Current head 3124ba0 differs from pull request most recent head 12b2e96. Consider uploading reports for the commit 12b2e96 to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #402   +/-   ##
=========================================
  Coverage     38.15%   38.15%           
=========================================
  Files           269      269           
  Lines         76675    76675           
  Branches      14105    14105           
=========================================
+ Hits          29254    29257    +3     
+ Misses        42152    42149    -3     
  Partials       5269     5269           
Files Changed Coverage Δ
src/parameterizations/lateral/MOM_MEKE.F90 43.21% <0.00%> (ø)
...meterizations/vertical/MOM_internal_tide_input.F90 0.00% <0.00%> (ø)
src/core/MOM_stoch_eos.F90 16.21% <33.33%> (ø)
src/core/MOM.F90 50.97% <50.00%> (ø)
...parameterizations/vertical/MOM_set_diffusivity.F90 53.30% <50.00%> (ø)
src/core/MOM_isopycnal_slopes.F90 60.99% <60.00%> (ø)
...eterizations/lateral/MOM_lateral_mixing_coeffs.F90 42.64% <100.00%> (ø)
...arameterizations/lateral/MOM_thickness_diffuse.F90 46.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

  Pass dt_kappa_smooth to calc_isoneutral_slopes and vert_fill_TS in units of
[H Z ~> m2 or kg m-1] instead of [Z2 ~> m2] for consistency with the units of
other diffusivities in the code and to reduce the depenency on the  Boussinesq
reference density in non-Boussinesq configurations.  In addition to the changes
to the units of these two arguments, there is a new unit_scale_type argument to
vert_fill_TS and MOM_calc_varT and a new verticalGrid_type argument to
MOM_stoch_eos_init.  The units of 4 vertical diffusivities in the control
structures in 4 different modules are also changed accordingly.

  All answers are bitwise identical in Boussinesq mode, but they can change for
some non-Boussinesq configurations.  There are new mandatory arguments to three
publicly visible routines.
  Added a comment justifying the use of a fixed rescaling factor for the
diffusivity used in vert_fill_TS.  All answers and output are identical.
@marshallward
Copy link
Member

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

@marshallward marshallward merged commit e465b1f into NOAA-GFDL:dev/gfdl Jul 26, 2023
10 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the revise_vert_fill_TS branch July 26, 2023 17:38
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.

2 participants