Skip to content

Need some changes to avoid negative h2osoi_ice in UpdateState_TopLayerFluxes #1979

@billsacks

Description

@billsacks

Brief summary of bug

In UpdateState_TopLayerFluxes, there is a somewhat arbitrary epsilon used to determine if h2osoi_ice and h2osoi_liq are close enough to zero that they should be truncated to zero. If the state remains negative after this truncation, we deem this to be a problem. It seems that this tolerance is occasionally exceeded, leading runs to abort. Since this tolerance is somewhat arbitrary, we will loosen it by an order of magnitude.

General bug information

CTSM version you are using: Recent versions

Does this bug cause significantly incorrect results in the model's science? No

Configurations affected: Unknown

Details of bug

For details, see comments in #1253 starting with #1253 (comment)

See also #988

Metadata

Metadata

Assignees

Labels

bugsomething is working incorrectly

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions