Learn R Programming

water (version 0.8)

calcTOAr: Calculates Top of atmosphere reflectance

Description

This function calculates the TOA (Top Of Atmosphere) reflectance considering only the image metadata.

Usage

calcTOAr(image.DN, sat = "auto", aoi, incidence.rel, MTL)

Arguments

image.DN

raw image in digital numbers

sat

"L7" for Landsat 7, "L8" for Landsat 8 or "auto" to guess from filenames

aoi

area of interest to crop images, if waterOptions("autoAoi") == TRUE will look for any object called aoi on .GlobalEnv

incidence.rel

solar incidence angle, considering the relief

MTL

Landsat Metadata File

References

R. G. Allen, M. Tasumi, and R. Trezza, "Satellite-based energy balance for mapping evapotranspiration with internalized calibration (METRIC) - Model" Journal of Irrigation and Drainage Engineering, vol. 133, p. 380, 2007

LPSO. (2004). Landsat 7 science data users handbook, Landsat Project Science Office, NASA Goddard Space Flight Center, Greenbelt, Md., (http://landsathandbook.gsfc.nasa.gov/) (Feb. 5, 2007)

See Also

Other remote sensing support functions: calcRadiance, calcSR, cfmask, loadImageSR, loadImage