Skip to contents

Google Earth Engine: get data for years

Usage

gee_get_data(
  collection,
  lakes,
  point_on_surface = FALSE,
  spatial_fun = "mean",
  scale = 10,
  via = "getInfo",
  col_lakename = "SEE_NAME",
  debug = TRUE
)

Arguments

collection

collection satellite collection

lakes

lakes sf data frame witch shapes of lakes

point_on_surface

use sf::st_point_on_surface() or polygon? (default: FALSE)

spatial_fun

spatial aggregation function (default: "mean")

scale

scale parameter (default: 10), for details, see https://developers.google.com/earth-engine/guides/scale

via

via (default: "getInfo"), other options use google cloud storage

col_lakename

col_lakename ("GEWNAME", used by Berlin authority for surface water bodies) use "SEE_NAME" for Brandenburg lakes (default: "SEE_NAME")

debug

print debug messages? (default: TRUE)

Value

tibble