Search an Image Collection

gd_search(
  x,
  region,
  start_date = "2000-01-01",
  end_date = as.character(Sys.Date()),
  ...
)

Arguments

x

geedim.collection.MaskedCollection object

region

list / Python GeoJSON object describing region, e.g. as created by gd_bbox()

start_date

Default: '2020-01-01'

end_date

Default: Sys.Date()

...

additional arguments to geedim.MaskedCollection.search() e.g. cloudless_portion, fill_portion

Value

geedim.MaskedCollection object suitable for querying properties

Examples

if (FALSE) { # gd_is_initialized() && !inherits(requireNamespace("terra", quietly = TRUE),      "try-error")
# \donttest{
b <- terra::vect('POLYGON((-121.355 37.56,-121.355 37.555,
                    -121.35 37.555,-121.35 37.56,
                    -121.355 37.56))',
          crs = "OGC:CRS84")
if (gd_is_initialized())
  gd_search(gd_collection_from_name("USGS/3DEP/1m"),
            region = gd_region(b))
# }
}