Replace local error_tol in GridCBalanceCheck with common balance_check_tolerance for maint-3.0 #7426
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This PR is identical to #7425 but for the maint-3.0 branch, which is being used for Water Cycle Changes and Impacts simulation campaign