Compute snow accumulation, assuming that all precipitation is snowfall if the temperature less than -1 C, and that no precipitation is snowfall if the temperature is unknown or greater than or equal to -1 C.

snow_accum(Pr, T)

Arguments

Pr

Measured precipitation (mm/day)

T

Average daily temperature (C)

Value

snow accumulation in mm