Last data update: 2014.03.03

R: Get or access internal LUT values used by various functions
lutInfoR Documentation

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

Details

The functions above return the following information:

  • lutInfoBandsFromSID returns the band info block.

  • lutInfoBCDEFromBID returns the band code.

  • lutInfoBIDFromBCDE returns the band ids.

  • lutInfoRSRromSID returns the relative spectral response (rsr) for the sensor.

  • lutInfoSensorFromSID returns the sensor name.

The LUT contains the following information:

l4_band_wl

Minimum/maximum wavelength for Landsat 4 bands taken from the band info of the USGS Landsat FAQ.

l5_band_wl

Minimum/maximum wavelength for Landsat 5 bands taken from the band info of the USGS Landsat FAQ.

l7_band_wl

Minimum/maximum wavelength for Landsat 7 bands taken from the band info of the USGS Landsat FAQ.

l8_band_wl

Minimum/maximum wavelength for Landsat 8 bands taken from the band info of the USGS Landsat FAQ.

l7_rsr

Landat 7 rsr (nm-1) taken from taken from the spectral viewer of the USGS Landsat FAQ.

l8_rsr

Landat 8 rsr (nm-1) taken from taken from the spectral viewer of the USGS Landsat FAQ.

solar

Solar irradiance (W m-2 nm-1) taken from the National Renewable Energy Laboratory.

l7_esun

Tabulated ESun values from tab 11.3 (Thuillier spectrum) of the Landsat7 handbook.

l5_esun

Tabulated ESun values from Chander G, Markham B (2003) Revised Landsat-5 TM radiometric calibration procedures and postcalibration dynamic ranges. IEEE Transaction on Geoscience and Remote Sensing 41/11, doi:10.1109/LGRS.2007.898285.

l4_esun

Tabulated ESun values from Chander G, Markham B (2003) Revised Landsat-5 TM radiometric calibration procedures and postcalibration dynamic ranges. IEEE Transaction on Geoscience and Remote Sensing 41/11, doi:10.1109/LGRS.2007.898285.

Value

List containing several data.frame objects with LUT values.

Functions

  • lutInfoBandsFromSID:

  • lutInfoSensorFromSID:

  • lutInfoBCDEFromBID:

  • lutInfoBIDFromBCDE:

  • lutInfoRSRromSID:

  • lutInfoSIDfromFilename:

  • lutInfoSGRPfromFilename:

Examples

ls_li <- lutInfo()
str(ls_li)

Results