Read MODIS Terra Land Surface Temperature from Google Earth Engine
Source:R/read_modis_lst.R
read_modis_lst.RdReads MODIS/061/MOD11A2 (Terra Land Surface Temperature/Emissivity
8-Day L3 1km) from Google Earth Engine. Returns a terra::rast()
SpatRaster with QA-masked daytime LST values in Kelvin.
Usage
read_modis_lst(
date,
region,
backend = c("rest", "rgee"),
cache = TRUE,
max_tries = 3L,
initial_delay = 1
)Arguments
- date
Character or Date. Acquisition date in
"YYYY-MM-DD"format.- region
An sf::sf,
sf::st_sfc(), orterra::ext()object defining the spatial extent. Required.- backend
Character.
"rest"(default) or"rgee".- cache
Logical. Use disk cache? Default
TRUE.- max_tries
Integer. Retry attempts. Default
3L.- initial_delay
Numeric. Initial retry delay in seconds. Default
1.
Value
A terra::rast() SpatRaster. CRS: EPSG:4326. Values: LST in
Kelvin. NA where QA indicates cloud or poor quality.
References
Wan, Z., Hook, S. & Hulley, G. (2021). MODIS/Terra Land Surface Temperature/Emissivity 8-Day L3 Global 1km SIN Grid V061. NASA EOSDIS LP DAAC. doi:10.5067/MODIS/MOD11A2.061
See also
read_gee(), collect_gee_data()
Other GEE readers:
read_chirps(),
read_era5(),
read_gee(),
read_landsat(),
read_modis_ndvi(),
read_sentinel2(),
read_slga(),
read_srtm(),
read_worldclim()
Examples
if (FALSE) { # interactive()
lst <- read_modis_lst(date = "2024-06-15",
region = terra::ext(138, 140, -36, -34))
}