2

I have queued earth engine task via a Google Service account. The following will generate a dataset and export to Google Cloud Storage

task = ee.batch.Export.table.toCloudStorage(...)
task.start()

I can use task.status() to check the status and the ID of task. Is there any way to get the status of a task for a given task ID?

1

3 Answers 3

3

The following works

ee.data.getTaskStatus("task id here")
2

There is also this very helpful command, which gives a list of all operations where you can get a progress fraction (progress of 1 means it's completed) and the operation ID (which is the same as the task ID).

ee.data.listOperations()

Resulting in the output below:

enter image description here

0

The following works:

task.status()['id']

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.