Skip to contents

Calculate Relative Absorption Band Area (RABA)

Usage

calculate_raba(
  raster,
  raba_name,
  edges,
  trough,
  extent = NULL,
  ext = NULL,
  filename = NULL
)

Arguments

raster

terra SpatRaster of normalized capture data.

raba_name

character, lower case name name of calculated RABA.

edges

numeric vector of two for the wide calculation window.

trough

character vector of wavelength to look for trough.

extent

an extent or SpatVector used to subset SpatRaster. Defaults to the entire SpatRaster.

ext

character, a graphic format extension.

filename

NULL (default) to write automatically into products, provide full path and ext to override.

Value

one layer terra SpatRaster with calculated RABA values.