function_DepthofSnow (01/25/01)

CRHM Platform

DepthofSnow(SWE)

Calculates the Depth of Snow from Snow Water Equivalent (SWE).

Units

  • (m)

Inputs

  • SWE (mm) - Snow Water Equivalent.

Returns

if (SWE > 2.05)

    if(SWE <= 145.45) // SWE 145.45 mm equivalent to 60 cm

        Snow_Depth = (SWE -2.05)/2.39

else

    Snow_Depth = (SWE +128.06)/4.5608

else

    Snow_Depth = 0

return (Snow_Depth/100.0)