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 variable units in 3 user modules #597

Merged
merged 3 commits into from
Apr 20, 2024

Conversation

Hallberg-NOAA
Copy link
Member

Added descriptions or added or corrected the units in the descriptions of 72 variables in the Neverworld_initialization and basin_builder modules. This includes minor refactoring to avoid reusing scalar variables with completely different units. Also refactored tidal_bay_set_OBC_data by moving the multiplication by rescaling factors at one point so that the units of a variable agree with their documented units. All answers are bitwise identical.

  Added descriptions or added or corrected the units in the descriptions of 72
variables in the Neverworld_initialization and basin_builder modules.  This
includes minor refactoring to avoid reusing scalar variables with completely
different units.  Also refactored tidal_bay_set_OBC_data by moving the
multiplication by rescaling factors at one point so that the units of a variable
agree with their documented units.  All answers are bitwise identical.
@Hallberg-NOAA Hallberg-NOAA added the documentation Improvements or additions to documentation label Apr 5, 2024
Copy link

codecov bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.12%. Comparing base (f7a4491) to head (49882f2).

❗ Current head 49882f2 differs from pull request most recent head e51c6f0. Consider uploading reports for the commit e51c6f0 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           dev/gfdl     #597      +/-   ##
============================================
+ Coverage     37.07%   37.12%   +0.04%     
============================================
  Files           271      271              
  Lines         80975    80797     -178     
  Branches      15120    15082      -38     
============================================
- Hits          30024    29998      -26     
+ Misses        45329    45198     -131     
+ Partials       5622     5601      -21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marshallward
Copy link
Member

marshallward commented Apr 19, 2024

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

(90ee0c2 was verified rather than e51c6f0, but since it's all comments we can go ahead with it.)

@marshallward marshallward merged commit 1c4d0dc into NOAA-GFDL:dev/gfdl Apr 20, 2024
10 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the user_code_units branch May 10, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants