Skip to content

Commit

Permalink
shift_precip_snowAccum
Browse files Browse the repository at this point in the history
  • Loading branch information
Mostafa Daoud committed Feb 18, 2025
1 parent e53f87e commit 6e0f46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/+soilmoisture/calculateBoundaryConditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
else % surface temperature is more than zero
if KIT == 1 % add accumulated snow of previous time steps to liquid precipitation at first time step when surface temperature > zero
Precip_liquid = Precip + Precip_snowAccum;
Precip_snowAccum = 0;
else
Precip_liquid = ForcingData.Precip_liquid;
end
Precip_snow = 0;
Precip_snowAccum = 0;
end

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

0 comments on commit 6e0f46a

Please sign in to comment.