Usage
calcAnchors(image, Ts, LAI, albedo, Z.om, n = 1, aoi, anchors.method = "CITRA-MCBbc", WeatherStation, plots = TRUE, deltaTemp = 5, buffer = 500, verbose = FALSE)
Arguments
image
top-of-atmosphere landsat reflectance image
Ts
land surface temperature in K. See surfaceTemperature()
LAI
rasterLayer with Leaf Area Index. See LAI()
albedo
broandband surface albedo. See albedo()
Z.om
momentum roughness lenght. See momentumRoughnessLength()
n
number of pair of anchors pixels to calculate
aoi
area of interest to limit the search. If
waterOptions(autoAOI) == TRUE, It'll use aoi object from .GlobalEnv
anchors.method
method for the selection of anchor pixels. "CITRA-MCBr" for
random selection of hot and cold candidates according to CITRA-MCB method, or
"CITRA-MCBbc" for selecting the best candidates
WeatherStation
Optional. WeatherStation data at the satellite overpass.
Should be a waterWeatherStation object calculated using read.WSdata and MTL file.
If you provide a WeatherStation object it will restrict the location of anchors
pixels to less than 30 km away from it.
plots
Logical. If TRUE will plot position of anchors points
selected. Points in red are selected hot pixels, blue are the cold ones and the
black represents the position of the Weather Station
deltaTemp
deltaTemp for method "CITRA-MCBs" or "CITRA-MCBr"
buffer
minimun distance allowed for two anchor pixels of the same kind
verbose
Logical. If TRUE will print aditional data to console