daily_hydro_loop.Rd
Compute hydrological parameters for all pixels
daily_hydro_loop(P, Sa, Sm, E0, Ws, Wc, nDays, pWetDays)
P | precipitation for the time step [L] |
---|---|
Sa | snow accumulation for the time step [L] |
Sm | snow melt for the time step [L] |
E0 | potential evapotranspiration for the time step [L] |
Ws | soil moisture at start of time step [L] |
Wc | soil moisture holding capacity [L] |
nDays | number of days in time step [-] |
pWetDays | percentage of days with precipitation [-] |
a List of vectors of hydrological parameters: dWdt: change in soil moisture [L] Ws_ave: average soil moisture over timestep [L], E: evapotranspiration [L] R: runoff [L]