Skip to content

Rescale ice shelf temperatures#130

Merged
marshallward merged 3 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:ice_shelf_TS_rescale
Jun 5, 2022
Merged

Rescale ice shelf temperatures#130
marshallward merged 3 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:ice_shelf_TS_rescale

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Applied dimensional rescaling of all of the ice shelf temperature and salinity
variables that could be modified without requiring any changes at the driver
level. There is a new unit_scale_type argument to MOM_IS_diag_mediator_init,
mirroring what is done in MOM_diag_mediator_init. This commit also includes
changing the initial values in the stencil array from -1 to 0, but this
initialization appears to be unnecessary. A large number of comments were
added, corrected, or modified. All answers in the test cases are bitwise
identical.

  Applied dimensional rescaling of all of the ice shelf temperature and salinity
variables that could be modified without requiring any changes at the driver
level.  There is a new unit_scale_type argument to MOM_IS_diag_mediator_init,
mirroring what is done in MOM_diag_mediator_init.  This commit also includes
changing the initial values in the stencil array from -1 to 0, but this
initialization appears to be unnecessary.  A large number of comments were
added, corrected, or modified.  All answers in the test cases are bitwise
identical.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 25, 2022

Codecov Report

Merging #130 (ee8c624) into dev/gfdl (95119a2) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##           dev/gfdl     #130      +/-   ##
============================================
- Coverage     33.45%   33.45%   -0.01%     
============================================
  Files           262      262              
  Lines         71385    71388       +3     
  Branches      13323    13323              
============================================
  Hits          23884    23884              
- Misses        43029    43032       +3     
  Partials       4472     4472              
Impacted Files Coverage Δ
src/ice_shelf/MOM_ice_shelf.F90 0.00% <0.00%> (ø)
src/ice_shelf/MOM_ice_shelf_diag_mediator.F90 0.00% <0.00%> (ø)
src/ice_shelf/MOM_ice_shelf_dynamics.F90 0.00% <0.00%> (ø)
src/ice_shelf/MOM_ice_shelf_initialize.F90 0.00% <ø> (ø)
src/ice_shelf/MOM_ice_shelf_state.F90 0.00% <ø> (ø)
src/ice_shelf/user_shelf_init.F90 0.00% <0.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 95119a2...ee8c624. Read the comment docs.

@Hallberg-NOAA
Copy link
Copy Markdown
Member Author

Olga Sergienko will be providing a review of this PR after she gets back from the EGU meeting. If she has not done this yet, this PR can be temporarily bypassed.

Copy link
Copy Markdown

@OlgaSergienko OlgaSergienko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All made changes are necessary, the code runs as intended.

@marshallward
Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member

@marshallward marshallward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved on behalf of @OlgaSergienko

@marshallward marshallward merged commit ec88923 into NOAA-GFDL:dev/gfdl Jun 5, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the ice_shelf_TS_rescale branch July 16, 2022 09:42
kshedstrom pushed a commit to ESMG/MOM6 that referenced this pull request May 1, 2024
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.

3 participants