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

revise do_flux logic #134

Merged
merged 1 commit into from
Jul 23, 2024
Merged

revise do_flux logic #134

merged 1 commit into from
Jul 23, 2024

Conversation

JosephMouallem
Copy link
Contributor

This PR fixes a crash that occurs when do_flux=.F.
Currently do_flux is only invoked when calling coupler_sfc_boundary_layer.
When do_flux is off, calls to coupler_flux_down_from_atmos, coupler_flux_up_to_atmos and coupler_flux_atmos_to_ocean will cause a code crash since they depend on exchange grid quantities/fluxes allocated and set up by sfc_boundary_layer

This has been tested with the new version of SHiELD employing the new coupler.

@JosephMouallem
Copy link
Contributor Author

Gentle reminder about this.

@rem1776
Copy link
Contributor

rem1776 commented Jul 18, 2024

@JosephMouallem Thanks for the fix, we should be able to get this in for the next release (2024.03). It's scheduled for early august.

@rem1776 rem1776 merged commit 48c88f5 into NOAA-GFDL:main Jul 23, 2024
2 checks passed
@JosephMouallem JosephMouallem deleted the do_flux_fix branch November 1, 2024 15:49
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.

3 participants