Description Usage Arguments Value See Also Examples
gseason_soilmoist
calculates the average soil moisture content during the growing season over specified years.
1 | gseason_soilmoist(startyear, endyear, gs, sm)
|
startyear |
earliest calender year to be considered in calculations. |
endyear |
latest calender year to be considered in calculations. |
gs |
array of growing binary values indicating growing (1) or non-growing (0) season for one year. |
sm |
array of soil moisture values for one year. |
ga |
array of growing binary values indicating growing (1) or non-growing (0) season. |
A matrix of mean growing season soil moisture values over specified years.
Requires function gssm()
to be loaded.
the gseason()
function can be used to create an array of growing conditions (1) = yes, (0) = no accounting for temperature, precipitation and daylight hours.
Requires that function gssm()
is also loaded.
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 <- matrix(gs, dim=c(1, 1, 1460))
soilm <- array(runif(1460, 0, 100), dim= c(1,1,1460))
gseason_soilmoist(2010, 2010, gs, soilm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.