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

Better document parameter units in 4 user modules #241

Merged
merged 2 commits into from
Nov 25, 2022

Conversation

Hallberg-NOAA
Copy link
Member

Add units arguments to 17 unlogged get_param calls in 4 user modules (DOME2d_initialization, ISOMIP_initialization, Kelvin_initialization and seamount_initialization) to help detect inconsistent units and scaling factors. Also added comments describing many internal real variables and their units in the DOME2d_initialization module and seamount_initialize_temperature_salinity(). All answers and output are bitwise identical.

@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Merging #241 (b8c044d) into dev/gfdl (571ddd9) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           dev/gfdl     #241   +/-   ##
=========================================
  Coverage     37.08%   37.08%           
=========================================
  Files           263      263           
  Lines         73388    73388           
  Branches      13677    13677           
=========================================
  Hits          27219    27219           
  Misses        41136    41136           
  Partials       5033     5033           
Impacted Files Coverage Δ
src/user/DOME2d_initialization.F90 0.00% <0.00%> (ø)
src/user/ISOMIP_initialization.F90 0.00% <0.00%> (ø)
src/user/Kelvin_initialization.F90 0.00% <0.00%> (ø)
src/user/seamount_initialization.F90 0.00% <0.00%> (ø)

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

  Add units arguments to 30 unlogged get_param calls in 4 user modules
(DOME2d_initialization, ISOMIP_initialization, Kelvin_initialization and
seamount_initialization) to help detect inconsistent units and scaling factors.
Also added comments describing many internal real variables and their units in
the DOME2d_initialization module and seamount_initialize_temperature_salinity.
All answers and output are bitwise identical.
@marshallward
Copy link
Member

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

@marshallward marshallward merged commit 6bf43d6 into NOAA-GFDL:dev/gfdl Nov 25, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the user_module_units branch February 2, 2023 13:47
marshallward pushed a commit that referenced this pull request Oct 25, 2023
* changes in nuopc cap, infra, and MOM.F90 to receive ensembe id from the coupler (alternative to FMS ensemble mngr)

* multi-instance logfile name correction in nuopc cap

* append ensemble suffix to _doc files

* changes in rpointer and restart file name handling to accommodate multi-instance CESM runs

* remove fms2_io_mod usage in FMS1/MOM_ensemble_manager_infra.F90

* rm whitespace in mom_cap
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