gssm: gssm: Soil moisture content during the growing season

Description Usage Arguments Value See Also Examples

Description

gssm calculates mean soil moisture content during the growing season period.

Usage

1
gssm(gseason, soilm)

Arguments

gseason

a three-dimensional array of binary values indicating growing conditions (1) = yes, (0) = no.

soilm

a three-dimensional array of fractional soil moisture values.

Value

a matrix of mean soil moisture values during the growing season.

See Also

the gseason() function can be used to create an array of growing conditions (1) = yes, (0) = no accounting for temperature, precipitation and daylight hours.

Examples

1
2
3
4
5
6
require(microclima)
tme <- as.POSIXlt(c(0:1459) * 3600 * 6, origin = "2010-01-01 00:00", tz = "GMT")
gs <- gseason_day(tme, 6, 21)
gseason <- array(gs, dim=c(1, 1, 1460))
soilm <- array(runif(1460, 0, 100), dim= c(1,1,1460))
gssm <- gssm(gseason, soilm)

ilyamaclean/climvars documentation built on June 19, 2019, 2:22 p.m.