Skip to content

Fix frazil halo update bug when unallocated#949

Merged
adcroft merged 1 commit into
NOAA-GFDL:gfdl-to-main-20250721from
awallcraft:FRAZIL_HALO_BUG
Jul 31, 2025
Merged

Fix frazil halo update bug when unallocated#949
adcroft merged 1 commit into
NOAA-GFDL:gfdl-to-main-20250721from
awallcraft:FRAZIL_HALO_BUG

Conversation

@awallcraft
Copy link
Copy Markdown

If FRAZIL=False tv%frazil is not allocated but its halo might still be updated in post_diabatic_halo_updates, which will fail.

If FRAZIL=True, no answers are changed.

If FRAZIL=False, no answers from before this bug was introduced are changed.

If FRAZIL=False tv%frazil is not allocated but its halo might still
be updated in post_diabatic_halo_updates, which will fail.

If FRAZIL=True, no answers are changed.

If FRAZIL=False, no answers from before this bug was introduced are changed.
Copy link
Copy Markdown
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 that these changes are correct and necessary.

@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Jul 30, 2025
@adcroft adcroft changed the base branch from dev/gfdl to gfdl-to-main-20250721 July 31, 2025 14:31
@adcroft
Copy link
Copy Markdown
Member

adcroft commented Jul 31, 2025

@adcroft adcroft merged commit f8e65ba into NOAA-GFDL:gfdl-to-main-20250721 Jul 31, 2025
110 of 112 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