View source: R/f_biobal_raster.R
biobalRaster | R Documentation |
Computes bioclimatic balance from water balance in raster format.
biobalRaster(bh, CC, path = NULL, ncpu = 1)
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. |
SpatRaster with 48 layers corresponding to the 12 monthly values of 'B', 'b','bc','bl'.
wb <- terra::rast(wbRast)
bb <- biobalRaster(wb, CC = 400, path=NULL, ncpu = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.