Description Usage Arguments Examples
Vertical or Slope-Normal Integration/Aggregation of soil water content
1 2 3 | SoilWaterStorage(theta, psi, layers = 1, fun = sum, na.rm = TRUE,
psi_thres = 0, comparison = c("<", ">", "<=", ">=", "==", "!="),
indices = 1, ...)
|
theta |
soil water content |
psi |
soil pressure head content |
layers |
layer thickness. It is a scalar or a vector whose length is equal to the number of |
fun |
function aggregation |
na.rm |
a logical value for |
psi_thres |
threshold value. It is 0 for separating satureted and unsatureted zones, or |
comparison |
comparison operator for |
indices |
see |
... |
further aguments for |
1 2 3 4 5 6 | data(PsiTheta)
t <- 5
dz <- 50 ## 50 millimiters layer depth
unsatWaterVolume <- SoilWaterStorage(theta[[t]],psi[[t]],layer=dz,comparison="<",psi_thres=0)
satWaterVolume <- SoilWaterStorage(theta[[t]],psi[[t]],layer=dz,comparison=">=",psi_thres=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.