Skip to content

don't apply polar mask for ocean/ice interactions#1935

Merged
juliasloan25 merged 1 commit into
mainfrom
js/polar-mask-oi
May 19, 2026
Merged

don't apply polar mask for ocean/ice interactions#1935
juliasloan25 merged 1 commit into
mainfrom
js/polar-mask-oi

Conversation

@juliasloan25
Copy link
Copy Markdown
Member

Purpose

Running CMIP on main with strict bounds checking enforced results in an out-of-bounds memory access error. This comes from applying the polar mask to the momentum fluxes between ocean and sea ice. Because ocean and sea ice exist on the same grid, we don't need to apply the polar mask to their interactions (only to atmos-surface interactions).

This PR removes the polar mask from the ocean/sea ice interactions, and adds check-bounds=yes to one CMIP run in CI, so that we can catch similar errors in the future.

@juliasloan25 juliasloan25 requested review from akshaysridhar and hgpeterson and removed request for hgpeterson May 19, 2026 20:23
Copy link
Copy Markdown
Member

@hgpeterson hgpeterson left a comment

Choose a reason for hiding this comment

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

Nice catch!

@juliasloan25 juliasloan25 merged commit d284c4c into main May 19, 2026
14 checks passed
@juliasloan25 juliasloan25 deleted the js/polar-mask-oi branch May 19, 2026 20:34
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.

2 participants