forked from ESCOMP/CTSM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in snow aerosol numerics (causes occasional HUGE aerosol values) Multiplications / divisions by dtime were missing in a few places, in some code that ensures that aerosol mass fluxes between the snow layers don't exceed the total mass. This bug was introduced in ctsm1.0.dev065, when a term was changed from a mass to a flux (per unit time), but some of the code wasn't changed correspondingly. In one case this bug caused a crash, but in other cases it just causes incorrect answers. The issue can be seen by examining the history variables SNOBCMCL, SNOOCMCL and SNODSTMCL. In the case that led to the crash, SNOBCMCL and SNOOCMCL became huge in one grid cell (~ 10^12) for a long period before the crash. Resolves ESCOMP#965
- Loading branch information
Showing
3 changed files
with
213 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters