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

View source: R/lutInfo.R

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 band information taken, if not specified otherwise, from the USGS Landsat FAQ:

l4_band_wl

Minimum/maximum wavelength for Landsat 4 bands.

l5_band_wl

Minimum/maximum wavelength for Landsat 5 bands.

l7_band_wl

Minimum/maximum wavelength for Landsat 7 bands.

l8_band_wl

Minimum/maximum wavelength for Landsat 8 bands.

l7_rsr

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

l8_rsr

Landat 8 rsr (nm-1) 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, 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, \Sexpr[results=rd]{tools:::Rd_expr_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)


satellite documentation built on May 29, 2024, 6:16 a.m.