cliBioCliIdxGrid {macroBiome} | R Documentation |
Calculator for Bioclimatic Indices
Description
Calculates the values of selected bioclimatic indices, for a given region and year/epoch, by using the monthly time series of temperature, precipitation and relative sunshine duration, and the elevation data.
Usage
cliBioCliIdxGrid(
rs.temp,
rs.prec,
rs.bsdf = NULL,
rl.elv = NULL,
sc.year = 2000,
rl.MSMC = 150,
aprchTEMP = c("hip", "tsi", "const"),
aprchPREC = c("tsi", "hip", "const"),
aprchBSDF = c("hip", "const"),
dvTEMP = rep(0.7, 12),
dvPREC = rep(0.7, 12),
bciOpVar = c("abt", "tap", "per", "fai"),
filename = "",
...
)
Arguments
rs.temp |
multi-layer Raster*/SpatRaster object with one-year time series of monthly mean air temperature (in °C) |
rs.prec |
multi-layer Raster*/SpatRaster object with one-year time series of monthly precipitation sum (in mm) |
rs.bsdf |
multi-layer Raster*/SpatRaster object with one-year time series of monthly mean relative sunshine duration (dimensionless) |
rl.elv |
single-layer Raster*/SpatRaster object with the elevation values (in meters above sea level) |
sc.year |
'numeric' scalar with the value of the year (using astronomical year numbering) |
rl.MSMC |
'numeric' scalar or single-layer Raster*/SpatRaster object with the value/values of the maximum soil moisture capacity (aka 'bucket size') (in mm) |
aprchTEMP |
'character' vector of length 1 that indicates the scheme used to generate daily values of the
daily mean air temperature for a specific year. Valid values are as follows: |
aprchPREC |
'character' vector of length 1 that indicates the scheme to generate daily values of the
daily precipitation sum. Valid values are as follows: |
aprchBSDF |
'character' vector of length 1 that indicates the scheme used to generate daily values of the
daily fractional sunshine duration for a specific year. Valid values are as follows: |
dvTEMP |
'numeric' vector of length 12 with monthly values of the damping variable for the air temperature data. |
dvPREC |
'numeric' vector of length 12 with monthly values of the damping variable for the precipitation data. |
bciOpVar |
'character' vector of at least one length that indicates which of the bioclimatic indices is/are
to be computed. Valid values are as follows: |
filename |
output filename |
... |
additional arguments passed on to |
Details
See cliBioCliIdxPoints
.
Value
A SpatRaster object with one or more layers where each layer contain the values of a given bioclimatic index.
Note
The objects 'rs.temp'
, 'rs.prec'
and 'rs.bsdf'
must be 12-layer Raster*/SpatRaster
objects, while the object 'rl.elv'
has to be a single-layer Raster*/SpatRaster object. The object
'rl.MSMC'
must be either a single positive number (a universal bucket size) or a single-layer
Raster*/SpatRaster object (a regionally-specified bucket size). These Raster*/SpatRaster objects must have the
same bounding box, projection, and resolution. The object 'sc.year'
has to be a single integer number.
References
Epstein ES (1991) On Obtaining Daily Climatological Values from Monthly Means. J Clim 4(3):365–368. doi:10.1175/1520-0442(1991)004<0365:OODCVF>2.0.CO;2
Lüdeke MKB, Badeck FW, Otto RD, Häger C, Dönges S, Kindermann J, Würth G, Lang T, Jäkel U, Klaudius A, Ramge P, Habermehl S, Kohlmaier GH (1994) The Frankfurt Biosphere Model: A global process-oriented model of seasonal and long-term CO2 exchange between terrestrial ecosystems and the atmosphere. I. Model description and illustrative results for cold deciduous and boreal forests. Clim Res 4(2):143-166. doi:10.3354/cr004143
Examples
# Loading mandatory data for the Example 'Climate Normal Grid'
data(inp_exClnrGrid)
# Calculate values of all default bioclimatic indices with default settings
# for Csongrad-Csanad County (for the normal period 1981-2010)
with(inp_exClnrGrid, {
rs.bci1 <- cliBioCliIdxGrid(temp, prec)
rs.bci1
})
# Calculate values of all selected bioclimatic indices with default settings
# for Csongrad-Csanad County (for the normal period 1981-2010)
with(inp_exClnrGrid, {
year <- trunc(mean(seq(1981, 2010)))
bciOpVar <- c("gdd5", "bdi", "cci", "tc", "gdd0", "tw", "ptc")
rs.bci2 <- cliBioCliIdxGrid(temp, prec, bsdf, elv, sc.year = year, bciOpVar = bciOpVar)
rs.bci2
})