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

ice shelf dHdt bugfix and optimization #472

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

alex-huth
Copy link

-fixed a bug in change_thickness_using_precip (was missing a division by ice density)
-optimized ice shelf pass_var calls with optional complete arguments
-corrected the grid area that multiplies with ice-shelf driving stress before its post_data call
-changed some order of operations by adding parentheses, with the hope that it would improve symmetry of the ice shelf solution during MISMIP+. There had no effect, but this version of the code was used for MISMIP+ and MISOMIP.

@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Merging #472 (2a7ed4c) into dev/gfdl (ac66061) will increase coverage by 0.00%.
The diff coverage is 0.00%.

❗ Current head 2a7ed4c differs from pull request most recent head 60bf649. Consider uploading reports for the commit 60bf649 to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #472   +/-   ##
=========================================
  Coverage     37.79%   37.79%           
=========================================
  Files           270      270           
  Lines         78375    78375           
  Branches      14533    14533           
=========================================
+ Hits          29621    29622    +1     
  Misses        43318    43318           
+ Partials       5436     5435    -1     
Files Coverage Δ
src/ice_shelf/MOM_ice_shelf.F90 0.00% <0.00%> (ø)
src/ice_shelf/MOM_ice_shelf_dynamics.F90 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

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

-fixed a bug in change_thickness_using_precip (was missing a division by ice density)
-optimized ice shelf pass_var calls with optional complete arguments
-corrected the grid area to multiply with ice shelf driving stress before its post_data call
-changed some order of operations by adding parentheses, with the hope that it would improve symmetry of the ice shelf solution during MISMIP+. There was no effect, but this version of the code was used for MISMIP+ and MISOMIP.
Copy link
Member

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

I agree with all of these changes for efficiency and to correct a bug.

@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Oct 24, 2023
@marshallward
Copy link
Member

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

(Reporting a parameter diff, but this is from SIS2)

@marshallward marshallward merged commit c9fc30d into NOAA-GFDL:dev/gfdl Oct 24, 2023
10 checks passed
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.

3 participants