diff --git a/R/ee_extract.R b/R/ee_extract.R index cb2c45e5..5b77212b 100755 --- a/R/ee_extract.R +++ b/R/ee_extract.R @@ -235,7 +235,7 @@ ee_extract <- function(x, # triplets save info about the value, the row_id (ee_ID) and col_id (imageId) create_tripplets <- function(img) { img_reduce_regions <- ee$Image$reduceRegions( - image = img, + img, collection = ee_y, reducer = fun, scale = scale,