growingDegDays {envirem}R Documentation

Growing degree days

Description

Growing degree days above some base temperature.

Usage

growingDegDays(meantempstack, baseTemp, tempScale = 1)

Arguments

meantempstack

SpatRaster of mean monthly temperature in deg C

baseTemp

base temperature in degrees C.

tempScale

integer; scaling factor for the temperature data, see envirem for additional details.

Details

growing degree days = sum of all monthly temps greater than baseTemp, multiplied by total number of days

Value

rasterLayer in degrees C * days.

Author(s)

Pascal Title

References

Prentice, I.C., Cramer, W., Harrison, S.P., Leemans, R., Monserud, R.A. & Solomon, A.M. (1992). A Global Biome Model Based on Plant Physiology and Dominance, Soil Properties and Climate. Journal of Biogeography, 19, 117–134.

Examples

# Find example rasters
rasterFiles <- list.files(system.file('extdata', package='envirem'), full.names=TRUE)
env <- rast(rasterFiles)

meantemp <- env[[grep('tmean', names(env), value=TRUE)]]
growingDegDays(meantemp, 10, tempScale = 10)

[Package envirem version 3.0 Index]