Skip to content

(*)Fix set_up_ALE_sponge_field call T & S scaling#173

Merged
marshallward merged 1 commit into
NOAA-GFDL:dev-candidate-main-2022-07-21from
Hallberg-NOAA:ALE_sponge_TS_rescale_fix
Jul 22, 2022
Merged

(*)Fix set_up_ALE_sponge_field call T & S scaling#173
marshallward merged 1 commit into
NOAA-GFDL:dev-candidate-main-2022-07-21from
Hallberg-NOAA:ALE_sponge_TS_rescale_fix

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Corrected the dimensional rescaling factors in two calls to
set_up_ALE_sponge_field for temperature and salinity for time-varying fields
being read in from an input file. These had been given the inverse of the
correct values. An optional scale argument was also added (with its default
value) in the call to set up ALE sponge velocities, for greater clarity of what
this call is doing. This commit should address an issue noted by Kate Hedstrom
when evaluating the first draft of PR mom-ocean#1577 from dev/gfdl to main. All answers
are bitwise identical in cases where dimensional rescaling of temperature and
salinity are not being applied, and answers with the rescaling of temperature
and salinity should now reproduce those without the rescaling.

  Corrected the dimensional rescaling factors in two calls to
set_up_ALE_sponge_field for temperature and salinity for time-varying fields
being read in from an input file.  These had been given the inverse of the
correct values.  An optional scale argument was also added (with its default
value) in the call to set up ALE sponge velocities, for greater clarity of what
this call is doing.  This commit should address an issue noted by Kate Hedstrom
when evaluating the first draft of PR mom-ocean#1577 from dev/gfdl to main.  All answers
are bitwise identical in cases where dimensional rescaling of temperature and
salinity are not being applied, and answers with the rescaling of temperature
and salinity should now reproduce those without the rescaling.
@Hallberg-NOAA Hallberg-NOAA changed the base branch from dev/gfdl to dev-candidate-main-2022-07-21 July 22, 2022 16:54
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 22, 2022

Codecov Report

Merging #173 (ba7cebe) into dev-candidate-main-2022-07-21 (8ddd0c1) will not change coverage.
The diff coverage is 0.00%.

❗ Current head ba7cebe differs from pull request most recent head 12f9ec0. Consider uploading reports for the commit 12f9ec0 to get more accurate results

@@                      Coverage Diff                       @@
##           dev-candidate-main-2022-07-21     #173   +/-   ##
==============================================================
  Coverage                          33.99%   33.99%           
==============================================================
  Files                                259      259           
  Lines                              70267    70267           
  Branches                           13023    13023           
==============================================================
  Hits                               23885    23885           
  Misses                             41880    41880           
  Partials                            4502     4502           
Impacted Files Coverage Δ
src/initialization/MOM_state_initialization.F90 17.23% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Jul 22, 2022
@marshallward marshallward merged commit c619781 into NOAA-GFDL:dev-candidate-main-2022-07-21 Jul 22, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the ALE_sponge_TS_rescale_fix branch February 2, 2023 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants