Skip to content

Only update child boundary indices if boundary not entirely on land#503

Merged
NoraLoose merged 7 commits into
CWorthy-ocean:mainfrom
NoraLoose:error-nesting
Dec 8, 2025
Merged

Only update child boundary indices if boundary not entirely on land#503
NoraLoose merged 7 commits into
CWorthy-ocean:mainfrom
NoraLoose:error-nesting

Conversation

@NoraLoose
Copy link
Copy Markdown
Collaborator

@NoraLoose NoraLoose commented Dec 5, 2025

Child boundaries that lie entirely on land cause issues when updating their indices, which previously resulted in a confusing error message (#486). This PR disables this subroutine for such cases.

In addition, this PR fixes several existing tests by correctly wrapping longitudes before evaluation.

@NoraLoose
Copy link
Copy Markdown
Collaborator Author

@ScottEilerman this is a follow-up to PR #480

@NoraLoose NoraLoose changed the title Prohibit child boundaries that are entirely on land Only update child boundary indices if boundary not entirely on land Dec 5, 2025
Copy link
Copy Markdown
Contributor

@ScottEilerman ScottEilerman left a comment

Choose a reason for hiding this comment

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

Just now catching up on the conversation on the previous PR... no objections here so feel free to keep things moving whenever you're satisfied!

@NoraLoose NoraLoose merged commit af23646 into CWorthy-ocean:main Dec 8, 2025
23 of 24 checks passed
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.

Improve error message when child grid boundary lies entirely on parent land

2 participants