PETseasonality {envirem} | R Documentation |
PET seasonality
Description
Seasonality of potential evapotranspiration
Usage
PETseasonality(PETstack)
Arguments
PETstack |
SpatRaster of monthly PET rasters |
Details
PET seasonality = 100 * standard deviation of monthly PET.
Value
rasterLayer in mm / month
Author(s)
Pascal Title
References
Metzger, M.J., Bunce, R.G.H., Jongman, R.H.G., Sayre, R., Trabucco, A. & Zomer, R. (2013). A high-resolution bioclimate map of the world: a unifying framework for global biodiversity research and monitoring. Global Ecology and Biogeography, 22, 630-638.
See Also
Examples
# Find example rasters
rasterFiles <- list.files(system.file('extdata', package='envirem'), full.names=TRUE)
env <- rast(rasterFiles)
# identify the appropriate layers
meantemp <- grep('mean', names(env), value=TRUE)
solar <- grep('solrad', names(env), value=TRUE)
maxtemp <- grep('tmax', names(env), value=TRUE)
mintemp <- grep('tmin', names(env), value=TRUE)
# read them in as SpatRasters
meantemp <- env[[meantemp]]
solar <- env[[solar]]
maxtemp <- env[[maxtemp]]
mintemp <- env[[mintemp]]
tempRange <- abs(maxtemp - mintemp)
# get monthly PET
pet <- monthlyPET(meantemp, solar, tempRange)
PETseasonality(pet)
[Package envirem version 3.0 Index]