ensemble.PET.season | R Documentation |
Internally, the function first determines different dry seasons, defined by consecutive months where precipitation is smaller than potential evapotranspiration. The function then returns the summation of monthly balances of precipitation minus potential evapotranspiration that is largest (most negative) of the different dry seasons.
ensemble.PET.season(PREC.stack = NULL, PET.stack = NULL,
filename = NULL, overwrite = TRUE,
CATCH.OFF = FALSE, ...)
PREC.stack |
stack object ( |
PET.stack |
stack object ( |
filename |
Name for writing the resulting raster layer (as in |
overwrite |
Replace a previous version of the same file. |
CATCH.OFF |
Disable calls to function |
... |
Additional arguments for |
Unlike the methodology described by Chave et al. (2014), the assumption is not made that there is a single drought season. Internally, the function first identifies dry months as months where the balance of precipitation minus potential evapotranspiration is negative. Then dry seasons are identified as consecutive dry months. For each dry season, the total sum of balances is calculated. The function finally identifies and returns the largest of these balances.
The algorithm of the function should obtain the same values of the Maximum Cumulative Water Deficit as from rules described by Aragao et al. 2007 (section 2.2), when using fixed monthly PET values of 100 mm instead of calculated monthly PET values (calculated, for example, from monthly mean temperatures and extraterrestrial solar radiation through the Hargreaves method).
Note that calculation may take a while for larger raster data sets.
The function returns and writes a raster layer
Roeland Kindt (World Agroforestry Centre)
Chave J et al. 2014. Improved allometric models to estimate the aboveground biomass of tropical trees. Global Change Biology 20: 3177-3190.
Aragao LZ et al. 2007. Spatial patterns and fire response of recent Amazonian droughts. Geophysical Research Letters 34 L07701
ensemble.batch
## Not run:
## Not run:
library(raster)
stack1 <- stack(monthly.prec.files)
stack2 <- stack(monthly.PET.files)
# note that the stacks should be of the same extend and resolution
ensemble.PET.season(PREC.stack=stack1, PET.stack=stack2,
filename=paste(getwd(), '//Aridity.deficit.tif', sep=""))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.