View source: R/dat_dl_point_ts.R
GetEvi2PointTs | R Documentation |
Use Microsoft Planetary Computer with STAC API to get Landsat EVI2 time series for any point location specified by longitude and latitude.
GetEvi2PointTs(pt_coords, focalDates = "1984-01-01/2022-12-31", ncores = 1)
pt_coords |
Point location. Longitude and latitude. |
focalDates |
Temporal period. |
ncores |
Number of cores used to parallel the process. |
A data.table containing EVI2 time series along with QA values.
## Not run:
pt_coords <- data.table::data.table(x = -71.700975, y = 43.945733)
focalDates <- "1984-01-01/1989-06-04"
ncores <- 5
val_dt <- GetEvi2PointTs(pt_coords, ncore = ncores)
val_dt <- data.table::setorder(val_dt, date)
plot(val_dt[qa == 0, .(date, evi2)], pch = 16, type = "b")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.