get_leri: Get LERI data

Description Usage Arguments Details Value References Examples

View source: R/get_leri.R

Description

This function searches for LERI data by date, returning a Raster* object.

Usage

1
get_leri(date, product, dir = tempdir(), overwrite = FALSE)

Arguments

date

An object of class Date or a character string formatted as are to be acquired. To specify a time interval or date range, date can be a vector of class Date such as produced by seq.Date.

product

A string that specifies which LERI product to get, e.g., "1 month", "3 month", "7 month", or "12 month" for their monthly data, or "8 day ac", or "8 day nac" for accumulated and non-accumulated (respectively) 8-day LERI products. Fractional timescales are not supported, and will be rounded to the nearest integer (e.g., "1.1 month" will be converted to "1 month").

dir

Directory to for downloaded LERI data. By default this will be a temporary directory. This should be a file path specified as a string.

overwrite

Boolean to indicate whether to overwrite LERI data that already exist locally in dir. Defaults to FALSE.

Details

The Landscape Evaporative Response Index (LERI) is available from 2000 to present, with a ~5 day lag to the current date. Products are available at multiple timescales. Monthly LERI data are available at the 1, 3, 7, and 12 month timescale for each month of the year. During the growing season (April through the end of October), there are two additional LERI products:

The values in LERI rasters are percentiles for estimates of actual evapotranspiration computed by the operational Simplified Surface Energy Balance (SEEBop) model, which uses remotely sensed MODIS thermal imagery with climatological reference evapotranspiration as descriped in Senay et al., 2013.

More information about how the monthly, non-accumulated 8-day, and accumulated 8-day data differ can be found at https://www.esrl.noaa.gov/psd/leri/.

Value

A Raster* object containing LERI data. Each layer in this object corresponds to a unique LERI data file. In cases where one LERI file covers multiple dates that were provided in the date argument, the number of layers in the returned Raster* object may be less than the number of dates queried. For example, if a user requests the 8 day LERI product for two consecutive dates, both of those dates might be contained in the same 8 day LERI data product. The time intervals covered by each layer in the Raster* object returned by get_leri are available as layer names.

References

Senay, Gabriel B., Stefanie Bohms, Ramesh K. Singh, Prasanna H. Gowda, Naga M. Velpuri, Henok Alemu, James P. Verdin, 2013b. Operational Evapotranspiration Mapping Using Remote Sensing and Weather Datasets: A New Parameterization for the SSEB Approach. Journal of the American Water Resources Association (JAWRA). 49(3):577-591. http://onlinelibrary.wiley.com/doi/10.1111/jawr.12057/full

Examples

1
2
3
4
5
6
# this may take a while, as it downloads ~72 MB
get_leri(date = "2018-01-01", product = "1 month")

# multi-day example that returns a two-layer raster
r <- get_leri(date = c("2018-08-12", "2018-08-13"), product = "8 day nac")
names(r) # has two elements (Aug05-Aug12, and Aug13-Aug20)

leri documentation built on Sept. 9, 2019, 5:03 p.m.