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

+Update check_MOM6_scaling_factors with C and S #332

Merged
merged 2 commits into from
Apr 1, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Updated check_MOM6_scaling_factors and compose_dimension_list to reflect the fact that MOM6 is now doing dimensional consistency testing for temperature (via [C ~> degC]) and salinity (via [S ~> ppt]), with an expanded dimension of the scaling key from 6 to 8 and additional calls to add_scaling. Also updated the weights on the add_scaling calls, which are essentially counts of the frequency of the various unit descriptors in the MOM6 code, to reflect only the counts of variables with doxygen comments (i.e., arguments, function return values and elements of types) but excluding the user, framework and diagnostics directories and the passive tracer packages. All model solutions are bitwise identical, but there will be updated suggestions for combinations of scaling factors that minimize the aliasing of the units that are used.

  Updated check_MOM6_scaling_factors and compose_dimension_list to reflect that
fact that MOM6 is now doing dimensional consistency testing for temperature (via
[C ~> degC]) and salinity (via [S ~> ppt]), with an expanded dimension of the
scaling key from 6 to 8 and additional calls to add_scaling.  Also updated the
weights on the add_scaling calls, which are essentially counts of the frequency
of the various unit descriptors in the MOM6 code, to reflect only the counts of
variables with doxygen comments (i.e., arguments, function return values and
elements of types) but excluding the user, framework and diagnostics directories
and the passive tracer packages.  All model solutions are bitwise identical, but
there will be updated suggestions for combinations of scaling factors that
minimize the aliasing of the units that are used.
@codecov
Copy link

codecov bot commented Mar 11, 2023

Codecov Report

Merging #332 (3e311e5) into dev/gfdl (588cf03) will decrease coverage by 0.20%.
The diff coverage is 0.90%.

❗ Current head 3e311e5 differs from pull request most recent head 9d58ed6. Consider uploading reports for the commit 9d58ed6 to get more accurate results

@@             Coverage Diff              @@
##           dev/gfdl     #332      +/-   ##
============================================
- Coverage     37.10%   36.90%   -0.20%     
============================================
  Files           265      265              
  Lines         74638    74648      +10     
  Branches      13851    13851              
============================================
- Hits          27691    27550     -141     
- Misses        41852    42007     +155     
+ Partials       5095     5091       -4     
Impacted Files Coverage Δ
src/core/MOM_check_scaling.F90 3.52% <0.90%> (-94.97%) ⬇️

... and 2 files with indirect coverage changes

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

@marshallward
Copy link
Member

marshallward commented Apr 1, 2023

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

@marshallward marshallward merged commit 1bb66a4 into NOAA-GFDL:dev/gfdl Apr 1, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the update_check_scaling branch May 10, 2024 22:16
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