Skip to content

cbalance error tolerance is not uniform #7423

@beharrop

Description

@beharrop

@wlin7 uncovered the fact that in EcosystemBalanceCheckMod.F90 the error tolerance is not the same in all subroutines. In the GridCBalanceCheck a separate error_tol parameter is still hard-coded to 1e-8_r8. To be consistent with the tolerance used by the other subroutines, it is suggested that error_tol be scrubbed out and replaced with balance_check_tolerance when checking carbon balances. Without this change, the model will crash on rare occasion with carbon balance errors -- as happened to me while running one of the SSP370 ensemble members.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions