Prepare for the computation of the functional diversity metrics

Get_FunctionalMetrics_From_Traits(
  ReadWrite,
  Functional_File,
  Selected_Features,
  MinMaxRaster,
  HDR,
  FunctIN_Format,
  ImgFormat,
  window_size,
  MinSun,
  FDmetric = c("FRic", "FEve", "FDiv"),
  nbCPU = 1
)

Arguments

ReadWrite

numeric. bytes coordinates for each read and write

Functional_File

character. path for the raster file to get functional traits from

Selected_Features

numeric. features to be used from Functional_File

MinMaxRaster

numeric. min and max values to be used for data standardization

HDR

list. header file

FunctIN_Format

list. image format (bytes, data type, etc)

ImgFormat

character. define if image is 2D or 3D

window_size

numeric. window size to compute metrics from

MinSun

numeric. minimum sun exposition to keep window as valid data (ratio of sunlit pixels / total pixels in the window)

FDmetric

character. enumerate diversity metrics to be computed

nbCPU

numeric. Number of CPUs to use in parallel.

Value

FDmetrics