water (version 0.5)

calcSR: Calculates surface reflectance for L7

Description

Calculates surface reflectance from top of atmosphere radiance using the model developed by Tasumi et al. (2008) and Allen et al. (2007), which considers a band-by-band basis.

Usage

calcSR(image.TOAr, sat = "auto", ESPA = FALSE, aoi, incidence.hor, WeatherStation, surface.model)

Arguments

image.TOAr
raster stack. top of atmosphere reflectance image
sat
"L7" for Landsat 7, "L8" for Landsat 8 or "auto" to guess from filenames
ESPA
Logical. If TRUE will look for espa.usgs.gov related products on working folder
aoi
area of interest to crop images, if waterOptions("autoAoi") == TRUE will look for any object called aoi on .GlobalEnv
incidence.hor
solar incidence angle, considering plain surface
WeatherStation
Weather Station data
surface.model
rasterStack with DEM, Slope and Aspect. See surface.model()

References

Tasumi M.; Allen R.G. and Trezza, R. At-surface albedo from Landsat and MODIS satellites for use in energy balance studies of evapotranspiration Journal of Hydrolog. Eng., 2008, 13, (51-63)

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