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

+Rescale forcing arguments and revise ctrl_forcing #25

Merged

Conversation

Hallberg-NOAA
Copy link
Member

This commit revisits the units of the input arguments to the various ocean-
only surfaces forcing routines, including:

  • Rescaled the units of the time intervals passed to the various forcing
    routines to [T ~> s]
  • Applied dimensional scaling to MOM_controlled_forcing.F90. This code is
    not yet in active use, so these changes can not change answers, but it is
    now much closer to compliance with modern MOM6 standards, including improved
    documentation, and could be ready to try without too much more effort.
  • Documented the remaining real variables in benchmark_initialization.F90,
    along with their units.

All answers are bitwise identical, but there are changes to the units of some
arguments in public interfaces.

  This commit revisits the units of the input arguments to the various ocean-
only surfaces forcing routines, including:
- Rescaled the units of the time intervals passed to the various forcing
  routines to [T ~> s]
- Applied dimensional scaling to MOM_controlled_forcing.F90.  This code is
  not yet in active use, so these changes can not change answers, but it is
  now much closer to compliance with modern MOM6 standards, including improved
  documentation, and could be ready to try without too much more effort.
- Documented the remaining real variables in benchmark_initialization.F90,
  along with their units.

All answers are bitwise identical, but there are changes to the units of some
arguments in public interfaces.
@codecov
Copy link

codecov bot commented Dec 3, 2021

Codecov Report

Merging #25 (f551431) into dev/gfdl (5f21667) will decrease coverage by 0.00%.
The diff coverage is 14.70%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl      #25      +/-   ##
============================================
- Coverage     29.07%   29.06%   -0.01%     
============================================
  Files           240      240              
  Lines         71289    71319      +30     
============================================
+ Hits          20728    20731       +3     
- Misses        50561    50588      +27     
Impacted Files Coverage Δ
...g_src/drivers/solo_driver/MESO_surface_forcing.F90 0.00% <ø> (ø)
...g_src/drivers/solo_driver/user_surface_forcing.F90 0.00% <ø> (ø)
src/user/BFB_surface_forcing.F90 0.00% <ø> (ø)
src/user/MOM_controlled_forcing.F90 0.00% <0.00%> (ø)
src/user/dumbbell_surface_forcing.F90 0.00% <0.00%> (ø)
src/user/benchmark_initialization.F90 54.91% <75.00%> (+1.13%) ⬆️
...ig_src/drivers/solo_driver/MOM_surface_forcing.F90 21.05% <100.00%> (ø)
src/user/user_revise_forcing.F90 83.33% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f21667...f551431. Read the comment docs.

@marshallward marshallward merged commit e2c81e9 into NOAA-GFDL:dev/gfdl Dec 8, 2021
@Hallberg-NOAA Hallberg-NOAA added documentation Improvements or additions to documentation refactor Code cleanup with no changes in functionality or results labels Feb 1, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the rescale_forcing_time_args branch July 16, 2022 10:03
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 refactor Code cleanup with no changes in functionality or results
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants