Skip to content

Set up auxiliary domain for unrotated grid#580

Merged
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:set_G_in_Domain_aux
Mar 27, 2024
Merged

Set up auxiliary domain for unrotated grid#580
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:set_G_in_Domain_aux

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

When ROTATE_INDEX is true, the model keeps both its rotated internal grid and an unrotated grid for setting initialization and forcing. When the model is run in symmetric memory mode, there is an auxiliary non-symmetric domain that is needed for reading in fields at velocity points. The auxiliary domain in the unrotated grid (G_in) was not being set previously, causing the model to fail to run some cases when ROTATE_INDEX was true. That auxiliary domain in the unrotated grid is now being set up properly. All answers and output are bitwise identical for any cases that worked previously.

  When ROTATE_INDEX is true, the model keeps both its rotated internal grid and
an unrotated grid for setting initialization and forcing.  When the model is run
in symmetric memory mode, there is an auxiliary non-symmetric domain that is
needed for reading in fields at velocity points.  The auxiliary domain in the
unrotated grid (G_in) was not being set previously, causing the model to fail to
run some cases when ROTATE_INDEX was true.  That auxiliary domain in the
unrotated grid is now being set up properly.  All answers and output are bitwise
identical for any cases that worked previously.
@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Mar 5, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.11%. Comparing base (37ff301) to head (9d32e85).

Additional details and impacted files
@@             Coverage Diff              @@
##           dev/gfdl     #580      +/-   ##
============================================
- Coverage     37.13%   37.11%   -0.03%     
============================================
  Files           271      271              
  Lines         80776    80651     -125     
  Branches      15067    15042      -25     
============================================
- Hits          29998    29935      -63     
+ Misses        45178    45138      -40     
+ Partials       5600     5578      -22     

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

@marshallward
Copy link
Copy Markdown
Member

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

@marshallward marshallward merged commit 2b59089 into NOAA-GFDL:dev/gfdl Mar 27, 2024
@Hallberg-NOAA Hallberg-NOAA deleted the set_G_in_Domain_aux branch May 10, 2024 21:29
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