Adds calibration data expressed as multipliers for each pixel stores in a numeric vector.

set_descriptor_irrad_mult(
  descriptor,
  irrad.mult,
  wl.range = NULL,
  start.date = lubridate::today(tzone = "UTC") - lubridate::days(1),
  end.date = lubridate::today(tzone = "UTC") + lubridate::days(1),
  cal.source = "unknown"
)

Arguments

descriptor

list as returned by function get_oo_descriptor

irrad.mult

numeric vector of the same length as the number of pixels or of length one.

wl.range

numeric Range of wavelengths for which the calibration is valid.

start.date, end.date

range of dates when calibration is valid.

cal.source

character Identifier or source of the calibration data, used for traceability.

Value

A copy of the argument passed for oo_descriptor with the irrad.mult field of the calibration data replaced by the new values.