All functions

P_effective()

Calculate the effective (net) precipitation 
accumulate()

Perform a basintobasin flow accumulation 
accumulate_flow()

Accumulate flow, given flow directions and weights. 
average_day_length()

Return the monthly average day length at given latitude(s) 
calc_detained()

Calculate detained runoff and snowmelt 
cell_areas_m2()

Compute the area occupied by each cell of a matrix 
coalesce()

Replace NA values with a specified constant 
create_inward_dir_matrix()

For each pixel, compute which cells drain _into_ that pixel. 
daily_hydro()

Compute hydrological parameters over a multiday timestep with precipitation on some days 
daily_hydro_loop()

Compute hydrological parameters for all pixels 
day_length()

Return the day length at given latitude(s) 
day_length_matrix()

Compute a matrix of monthly average day length 
days_in_yyyymm()

Return the number of days in a given month 
downstream_flow()

Compute the sum of flow originating in downstream basins 
e_potential()

Potential evapotranspiration using Hamon's equation 
g()

Unitless drying function 
is.wsim.lsm.forcing()

Determine if an object represents an LSM forcing 
is.wsim.lsm.results()

Determine if an object represents LSM model results 
is.wsim.lsm.state()

Determine if an object represents an LSM state 
is_leap_year()

Determine if a given year is a leap year 
make_daily_precip()

Compute precipitation for each day in a multiday period 
make_forcing()

Make a WSIM LSM forcing 
make_results()

Create a set of WSIM LSM results 
make_state()

Create a WSIM LSM state 
make_wet_day_list()

Generate a list of days in which precipitation occurs 
next_yyyymm()

Get the next month 
read_forcing_from_cdf()

Read model forcing from a netCDF file 
read_state_from_cdf()

Read a model state from a netCDF file 
run()

Run a single iteration of the the model 
saturated_vapor_pressure()

Saturated vapor pressure using Buck's equation 
snow_accum()

Snow accumulation 
snow_melt()

Calculate snowmelt 
soil_moisture_change()

Change in soil moisture 
write_lsm_values_to_cdf()

Write model values (state, observations, forcing) to netCDF file 