How do I check the status of my job?

Users may check the status of their job using the Jobs UI or the maap-py client library.

Jobs UI

  1. Open the Jobs UI from the Jobs menu then navigate to the Jobs UI View tab. The Status column indicates the status for a given job.

check_job_1.png

MAAP-py Library

  1. Open a Jupyter Notebook then click the MAAP button from the notebook toolbar. This will paste the code snippet below into your notebook.

submit_job_4.png

  1. Provide the MAAP host. For DIT, this would be api.dit.maap-project.org
from maap.maap import MAAP
maap = MAAP(maap_host='api.dit.maap-project.org')
  1. Use the getJobStatus method and provide the job ID that was created upon job submission.
r = maap.getJobStatus("86fbac52-24b0-4963-8b67-59d0fc09946a")
r.text
  1. Run the notebook to get the job status. The output should resemble the xml snippet below. In this example, the job status is Succeeded.
'<wps:StatusInfo xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:schemaLocation="http://schemas.opengis.net/wps/2.0/wps.xsd" xmlns:wps="http://www.opengis.net/wps/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wps:JobID>86fbac52-24b0-4963-8b67-59d0fc09946a</wps:JobID><wps:Status>Succeeded</wps:Status></wps:StatusInfo>'