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

+Add 11 units arguments to get_param calls #258

Merged
merged 2 commits into from
Dec 12, 2022

Conversation

Hallberg-NOAA
Copy link
Member

Add units arguments to 11 get_param calls in 8 files, and added scale=1.0 arguments to 3 get_param calls in solo_driver/MOM_driver.F90, along with comments explaining why these time variables are not being rescaled. Also changed comments describing the various units that might be used for geoLat or geoLon variables in the ocean_grid_type to use standard syntax. The added units arguments lead to some minor differences in MOM_parameter_doc files, but all answers are bitwise identical.

@codecov
Copy link

codecov bot commented Nov 29, 2022

Codecov Report

Merging #258 (9982d44) into dev/gfdl (3327037) will not change coverage.
The diff coverage is 20.00%.

@@            Coverage Diff            @@
##           dev/gfdl     #258   +/-   ##
=========================================
  Coverage     37.12%   37.12%           
=========================================
  Files           263      263           
  Lines         73434    73434           
  Branches      13674    13674           
=========================================
  Hits          27266    27266           
  Misses        41143    41143           
  Partials       5025     5025           
Impacted Files Coverage Δ
src/ALE/MOM_hybgen_regrid.F90 0.00% <0.00%> (ø)
src/ice_shelf/MOM_ice_shelf_dynamics.F90 0.00% <0.00%> (ø)
src/ocean_data_assim/MOM_oda_driver.F90 0.00% <0.00%> (ø)
src/core/MOM_grid.F90 71.11% <100.00%> (ø)
src/framework/MOM_diag_mediator.F90 58.83% <100.00%> (ø)

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

@Hallberg-NOAA
Copy link
Member Author

This commit was revised to eliminate the scale=1.0 arguments, and to avoid changing config_src/solo_driver/MOM_driver.F90 to avoid creating a conflict with a near-future commit that will rescale the time variables in that file, rather than explaining why they can not be rescaled.

  Add units arguments to 10 get_param calls in 7 files.  Also changed comments
describing the various units that might be used for geoLat or geoLon variables
in the ocean_grid_type to use standard syntax.  The added units arguments lead
to some minor differences in MOM_parameter_doc files, but all answers are
bitwise identical.
@marshallward
Copy link
Member

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

@marshallward marshallward merged commit c933460 into NOAA-GFDL:dev/gfdl Dec 12, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the logged_param_units branch February 2, 2023 13:31
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