extract_drive_stats | R Documentation |
Batches multiple geometry chunks into fewer ee_table_to_drive
tasks,
reducing overhead and leveraging Google Earth Engine's parallel processing.
extract_drive_stats(
sf_chunks,
imgs,
band,
stat,
stat_fun,
scale,
folder = ".geelite_tmp_drive",
user = NULL,
pb,
pb_step
)
sf_chunks |
[mandatory] (list) A list of sf data frames representing geometry chunks. |
imgs |
[mandatory] (ee$ImageCollection) The Earth Engine image collection to extract statistics from. |
band |
[mandatory] (character) The band name (e.g., "NDVI"). |
stat |
[mandatory] (character) The statistical function to apply (e.g., "mean"). |
stat_fun |
[mandatory] (ee$Reducer) The Earth Engine reducer function. |
scale |
[mandatory] (numeric) The spatial resolution in meters for reduceRegions. |
folder |
[optional] (character) Name of the Google Drive folder where
exports will be stored. Defaults to |
user |
[optional] (character) GEE user profile name, if applicable. |
pb |
[mandatory] (Progress bar object) A progress bar instance from
|
pb_step |
[mandatory] (numeric) The step size for updating the progress bar. |
(data.frame) A merged data frame containing extracted statistics from all Drive exports.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.