geeViz.taskManagerLib

Monitor and manage tasks programatically

geeViz.taskManagerLib facilitates the monitoring and deleting of GEE export tasks.

Functions

batchCancel()

Cancel all tasks that are either ready or running.

cancelByName(nameIdentifier)

Cancel all tasks whose description contains the given identifier.

failedTasks()

Print all failed tasks and their run times.

getEECUS(output_table_name[, nameFind, ...])

Create a CSV table of successful exports, including run time, EECU usage, and output size.

getTasks([id_list])

Get a dictionary of tasks grouped by their state.

jobCompletionTracker(starttime, endtime, ...)

Track completion of all jobs started within a time interval.

nameTaskList(nameIdentifier)

Get list of tasks with specified name/description prefix.

now()

Get the current time as a formatted string.

timeTaskList(starttime, endtime)

Get list of tasks started within a specified time interval.

trackTasks()

Track and print the number of ready and running tasks every 10 seconds, up to 1000 times.

trackTasks2([credential_name, id_list, ...])

Track tasks for a specific credential or list of task IDs, printing status every 5 seconds.