make_swc | R Documentation |
Creates soil water content index from input precipitation, potential evapotranspiration, field capacity and wilting point.
make_swc(rain, pet, fc, wp, seconds, iterations)
rain |
matrix with ntimesteps rows, nsites columns, containing precipitation [kg*m^(-2)*s^(-1)] |
pet |
matrix with ntimesteps rows, nsites columns, containing potential evapotranspiration [kg*m^(-2)*s^(-1)] |
fc |
vector of length nsites containing the field capacity [cm^3/cm^3] |
wp |
vector of length nsites containing the wilting point [cm^3/cm^3] |
seconds |
number of seconds in a time step |
iterations |
number of times to run through the data, default is 3 |
This function is called internally by get_input()
.
matrix with ntimesteps rows, nsites columns, containing a soil water content index scaled from 0-100
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.