biobalRaster {bioclim} | R Documentation |
Computation of Bioclimatic Balance (raster mode)
Description
Computes bioclimatic balance from water balance in raster format.
Usage
biobalRaster(bh, CC, path = NULL, ncpu = 1)
Arguments
bh |
Water balance in raster format. |
CC |
Field capacity. It depends on water retention capacity and depth of roots. 400 as default value. It can be a SpatRaster layer. |
path |
Optional. Path (folder) where the output raster files and look-up-tables will be saved. |
ncpu |
Number of CPUs to use. By default, sequential mode (1 cpu) is used. |
Value
SpatRaster with 48 layers corresponding to the 12 monthly values of 'B', 'b','bc','bl'.
Examples
wb <- terra::rast(wbRast)
bb <- biobalRaster(wb, CC = 400, path=NULL, ncpu = 2)
[Package bioclim version 0.4.0 Index]