Skip to content

Commit 6e0f46a

Browse files
author
Mostafa Daoud
committed
shift_precip_snowAccum
1 parent e53f87e commit 6e0f46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/+soilmoisture/calculateBoundaryConditions.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@
6363
else % surface temperature is more than zero
6464
if KIT == 1 % add accumulated snow of previous time steps to liquid precipitation at first time step when surface temperature > zero
6565
Precip_liquid = Precip + Precip_snowAccum;
66+
Precip_snowAccum = 0;
6667
else
6768
Precip_liquid = ForcingData.Precip_liquid;
6869
end
6970
Precip_snow = 0;
70-
Precip_snowAccum = 0;
7171
end
7272

7373
% Infiltration = Precipitation - total runoff (Dunnian runoff + Hortonian runoff)

0 commit comments

Comments
 (0)