Skip to content

Conversation

@wlin7
Copy link
Contributor

@wlin7 wlin7 commented Jun 6, 2025

PR #6651 increased the tolerance for column and grid balance check for C, N, and P.
However, subroutine GridCBalanceCheck uses a separate error_tol that was not similarly
increased. The lower tolerance is exceeded in an SSP370 simulation (#7423), causing the
simulation to be aborted. This PR replaces the local error_tol with the common
balance_check_tolerance for EcosystemBalanceCheckMod.F90.

Fixes #7423

[BFB] If a simulation were to be impacted, it would have failed when exceeding the lower tolerance.


Note: It is not necessarily a bug but loosely labelled as a bug fix PR.

@rljacob
Copy link
Member

rljacob commented Jul 24, 2025

@bishtgautam please merge.

bishtgautam added a commit that referenced this pull request Jul 24, 2025
PR #6651 increased the tolerance for column and grid balance check for C, N, and P.
However, subroutine GridCBalanceCheck uses a separate error_tol that was not similarly
increased. The lower tolerance is exceeded in an SSP370 simulation (#7423), causing the
simulation to be aborted. This PR replaces the local error_tol with the common
balance_check_tolerance for EcosystemBalanceCheckMod.F90.

Fixes #7423

[BFB] If a simulation were to be impacted, it would have failed when exceeding the lower tolerance.
@bishtgautam bishtgautam merged commit 23ace69 into master Jul 25, 2025
7 checks passed
@bishtgautam bishtgautam deleted the wlin/lnd/more_nbalance_err_tol branch July 25, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BFB PR leaves answers BFB BGC bug fix PR ELM land model v3.1beta

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cbalance error tolerance is not uniform

4 participants