calc_detained.RdCalculate detained runoff and snowmelt
calc_detained(R, Pr, P, Sm, Dr, Ds, z, melt_month)
| R | runoff |
|---|---|
| Pr | precipitation |
| P | net precipitation Pr - Sa + Sm |
| Sm | snowmelt |
| Dr | detained runoff |
| Ds | detained snowmelt |
| z | elevation |
| melt_month | number of consecutive months of melting conditions |