Define Google Earth Engine data to collect
collect_ee.Rd
Define Google Earth Engine data to collect
Usage
collect_ee(
collection = NULL,
coords = NULL,
date = NULL,
end_date = NULL,
buffer = NULL,
bound = FALSE,
config = NULL
)
Arguments
- collection
string
: name of a Google Earth Engine collection. Collections can be found on the Google Earth Engine Catalog- coords
numeric
: GPS coordinates in WGS84 [East, North]. Minimum of one set of coordinates should be provided to create a point coordinate. If more than one set of coordinates is provided, a polygon will be created- date_min
string
Start date to download in YYYY-MM-DD, e.g.2019-10-01
- date_max
string
End date to download in YYYY-MM-DD, e.g.2019-11-01
- buffer
integer
,optional
: Ifcoords
is a single point,buffer
can be used to create a circular buffer with the specific radius in metres. Ifcoords
contains more than one set of coordinates, this argument does nothing- bound
logical
,optional
: Ifbuffer
contains an integer value, this agrument will convert the circular buffer to a bounding box instead. Defaults to FALSE- config
string
,optional
: Path to a configuration file in .yaml format. When this is provided, all arguments are ignored and the function will refer to the configuration file to determine argument values
Value
an object containing attributes necessary to preprocess and and
download images for all other *_ee()
functions
Examples
if (FALSE) {
collect_ee(
collection = "LANDSAT/LC09/C02/T1_L2",
coords = c(149.769345, -30.335861, 149.949173, -30.206271),
date = "2021-06-01",
end_date = "2022-06-01"
)
}