Monitoring Earth Engine task progress

ee_monitoring(
  task,
  task_time = 5,
  eeTaskList = FALSE,
  quiet = FALSE,
  max_attempts = 5
)

ee_check_task_status(task, quiet = FALSE)

Arguments

task

List generated after a task is started (i.e., after run ee$batch$Task$start()) or a character that represents the ID of a EE task started.

task_time

Numeric. How often (in seconds) should a task be polled?

eeTaskList

Logical. If TRUE, all Earth Engine tasks will be listed.

quiet

Logical. Suppress info message

max_attempts

Number of times to monitor the tasks before ending.

Value

An ee$batch$Task object with a state "COMPLETED" or "FAILED" according to the Earth Engine server's response.

See also

Other helper functions: ee_help(), ee_print()

Examples

if (FALSE) {
library(rgee)
ee_Initialize()
ee_monitoring(eeTaskList = TRUE)
}