calcAnchors: Select anchors pixels for H function

Description Usage Arguments Author(s) References See Also

View source: R/water_sensibleHeatFlux.R

Description

automatically search end members within the satellite scene (extreme wet and dry conditions).

Usage

1
2
3
calcAnchors(image, Ts, LAI, albedo, Z.om, n = 1, aoi,
  anchors.method = "flexible", WeatherStation, plots = TRUE,
  deltaTemp = 5, minDist = 500, WSbuffer = 30000, 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. "random" for random selection of hot and cold candidates according to CITRA-MCB method, or "best" for selecting the best candidates. And "flexible" for method with soft limits to the anchor pixel conditions.

WeatherStation

Optional. WeatherStation data at the satellite overpass. Should be a waterWeatherStation object calculated using read.WSdata and MTL file.

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"

minDist

minimun distance allowed for two anchor pixels of the same type (in meters).

WSbuffer

maximun distante to the Weather Station (in meters).

verbose

Logical. If TRUE will print aditional data to console

Author(s)

Guillermo Federico Olmedo

de la Fuente-Saiz, Daniel

References

CITRA y MCB (com pers)

See Also

Other sensible heat flux functions: calcH, momentumRoughnessLength


water documentation built on April 25, 2018, 1:03 a.m.