Prepare Google Earth Engine site data
prepGEESiteData.Rd
Prepare Google Earth Engine site data
Arguments
- config
A list with pipeline configuration parameters. See
configPipeline
- pentads
An sf spatial object with the set of pentads that we want to annotate with environmental covariates. See
getRegionPentads
- asset_id
Character string with the name given to the object created in Google Earth Engine (asset) that contains the sites in
pentads
.- upload_asset
If TRUE (default), the object
pentads
will be uploaded to Google Earth Engine and an asset under the name ofasset_id
will be created. If FALSE, it will be assumed that an asset named afterasset_id
is already present in GEE andpentads
will not be uploaded.- monitor
Logical. If TRUE (default) monitoring printed messages produced by
rgee
will displayed. If FALSE, only high-level messages will be displayed.
Details
Note that some GEE layers don't have information past a certain date. At the time of writing surface water layers only have information up until 2021 and human population density up until 2020. We have set up the code in such a way that data past the last date of the layer get annotated with the latest available information. Take this into consideration for the analyses. Code should be updated as more information becomes available.