Skip to content

Commit

Permalink
bug fix for snow layer combine
Browse files Browse the repository at this point in the history
  • Loading branch information
cenlinhe committed Sep 19, 2023
1 parent 151daf8 commit e0d2064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SnowLayerCombineMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ subroutine SnowLayerCombine(noahmp)
SnowIce(J+1) = SnowIce(J+1) + SnowIce(J)
ThicknessSnowSoilLayer(J+1) = ThicknessSnowSoilLayer(J+1) + ThicknessSnowSoilLayer(J)
else
if ( NumSnowLayerOld < -1 ) then ! MB/KM: change to NumSnowLayerNeg
if ( NumSnowLayerNeg < -1 ) then ! MB/KM: change to NumSnowLayerNeg
SnowLiqWater(J-1) = SnowLiqWater(J-1) + SnowLiqWater(J)
SnowIce(J-1) = SnowIce(J-1) + SnowIce(J)
ThicknessSnowSoilLayer(J-1) = ThicknessSnowSoilLayer(J-1) + ThicknessSnowSoilLayer(J)
Expand Down

0 comments on commit e0d2064

Please sign in to comment.