Learn R Programming

satellite (version 0.1.0)

lutInfo: Get or access internal LUT values used by various functions

Description

Get internal look-up table (LUT) values from sysdata.rda which have been compiled using data-raw/lut_data.R. Metadata is stored in lut$meta.

Usage

lutInfo()

lutInfoBandsFromSID(sid)

lutInfoSensorFromSID(sid)

lutInfoBCDEFromBID(sid, bid)

lutInfoBIDFromBCDE(bcde, sid)

lutInfoRSRromSID(sid)

lutInfoSIDfromFilename(files)

lutInfoSGRPfromFilename(file)

Arguments

sid
Sensor id as returned e.g. from lutInfoSensorFromSID.
bid
Band id as returned e.g. from lutInfoBIDFromBCDE.
bcde
Band code as returned e.g. from lutInfoBCDEFromBID.
files
Filename (or filepath) of one or more remote sensing data filenames
file
Filename of a remote sensing data file

Value

  • List containing several data.frame objects with LUT values.

Functions

  • lutInfoBandsFromSID:
  • lutInfoSensorFromSID:
  • lutInfoBCDEFromBID:
  • lutInfoBIDFromBCDE:
  • lutInfoRSRromSID:
  • lutInfoSIDfromFilename:
  • lutInfoSGRPfromFilename:

Details

The functions above return the following information:
  • lutInfoBandsFromSIDreturns the band info block.
  • lutInfoBCDEFromBIDreturns the band code.
  • lutInfoBIDFromBCDEreturns the band ids.
  • lutInfoRSRromSIDreturns the relative spectral response (rsr) for the sensor.
  • lutInfoSensorFromSIDreturns the sensor name.

The LUT contains the following information: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Examples

Run this code
ls_li <- lutInfo()
str(ls_li)

Run the code above in your browser using DataLab