View source: R/f_biotype_raster.R
biotypeRaster | R Documentation |
Calculates bioclimatic classification based on bioclimatic balance.
biotypeRaster(
temp = NULL,
prec = NULL,
CC = NULL,
path = NULL,
ncpu = 1,
PET = NULL,
bh = NULL
)
temp |
SpatRaster object with 12 layers representing temperature from January to December. |
prec |
SpatRaster object with 12 layers representing precipitation from January to December. |
CC |
Field capacity. It can be numeric (1 value) or a SpatRaster object. |
path |
Optional. Path (folder) where the output raster files and look-up-tables will be saved. |
ncpu |
number of cores to use in calculation. If not provided, sequential mode is used (1 core). |
PET |
Potential evapotranspiration. Optional. It must be a SpatRaster object. |
bh |
Water balance. Optional. It must be a SpatRaster object. |
SpatRaster with 3 variables ("TBR": Types of Bioclimatic Regime; "zonal": zonal units; "sub": bioclimatic regime subtypes).
wb <- terra::rast(wbRast)
btr <- biotypeRaster(bh = wb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.