Skip to content

Conversation

rljacob
Copy link
Member

@rljacob rljacob commented Jun 18, 2025

When rof_present is false, as in a case with SROF, be sure to zero out the river fluxes sent to the land model.
These tags are still present and acted on by the land model. Also only add them in ocean merge if rof_c2_ocn is true.

[BFB]

rljacob added 2 commits June 17, 2025 21:19
When rof_present is false, river fluxes sent to land
need to be set to zero.  These tags are still defined and they
get added in lnd_import.
Add comments to the complicated if logic in prep_lnd_init
@rljacob rljacob requested review from vijaysm and iulian787 June 18, 2025 02:26
@rljacob rljacob self-assigned this Jun 18, 2025
@rljacob rljacob added Coupler Related to code in driver-mct or driver-moab or component connections to the coupler. MOAB Involves the MOAB library labels Jun 18, 2025
@iulian787
Copy link
Contributor

tested ne256 coupled model on aurora
Also, no regressions on PEM and ERS tests on chrysalis

Copy link
Contributor

@iulian787 iulian787 left a comment

Choose a reason for hiding this comment

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

ne256 coupled case works on aurora; it has an inactive mosart model, rof_present is false,
no regressions on PEM and ERS tests on chrysalis (all ERS tests pass with intel, all PEM tests pass with gnu)

@rljacob
Copy link
Member Author

rljacob commented Jun 23, 2025

bugbot run

rljacob added a commit that referenced this pull request Jun 26, 2025
When rof_present is false, as in a case with SROF, be sure to zero out the river fluxes sent to the land model.
These tags are still present and acted on by the land model. Also only add them in ocean merge if rof_c2_ocn is true.

[BFB]
@rljacob rljacob merged commit 381c5e3 into master Jun 26, 2025
7 checks passed
@rljacob rljacob deleted the rljacob/mbcpl/fix-srof branch June 26, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Coupler Related to code in driver-mct or driver-moab or component connections to the coupler. MOAB Involves the MOAB library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants