Run a single iteration of the the model

run(static, state, forcing)

Arguments

static

a list containing static inputs to the model. The following variables are required:

elevation

mean grid cell elevation in meters

flow_directions

flow direction grid described in accumulate_flow

Wc

soil moisture capacity in millimeters

state

a wsim.lsm.state object containing an input state for the model. Described in make_state.

forcing

a wsim.lsm.forcing object containing forcing for the model. Described in make_forcing.

Value

a list containing model outputs and a state for the next time step:

obs

a wsim.lsm.results object, as described in make_results

next_state

a wsim.lsm.state object containing the model state at the end of the timestep. Described in make_state.