STDOUT output from a workflow task

Retrieve STDOUT output from a completed task in a workflow

parameter

description

workflow_id

The numeric id given to a workflow once it's been run. Find it at the bottom of a "submit a workflow" or workflow status and workflow events response.

task_id

The number id given to a task that's part of a workflow. Look for id in task description in the "submit a workflow" or workflow status and workflow events response.

This is a sample response from a "Get Workflow status" request. The task_id and workflow_id are shown in red.

STDOUT Responses

Response: 200 OK
Response body contains the STDOUT from the Docker container that ran the task.
When there is no data, the request will return "empty.

This is another example of an STDOUT output:

GET: https://geobigdata.io/workflows/v1/workflows/4238412131064055622/tasks/4238412131057043184/stdout

Response:

inputImageDir = /mnt/work/input/input_image/054619420020_01
fileTif = /mnt/work/input/input_image/054619420020_01/054619420020_01_assembly.tif
############ FILES #############
################################
parameters:
{'village_boundary_scale': u'30', 'population_resolution': u'50', 'daouzek_area_bounds': u'60 1000', u'parameter_set': u'desert', 'population_compute': u'false', 'daouzek_results_type': u'confidence', 'daouzek_threshold': u'700', 'daouzek_imp_threshold': u'40 255', 'daouzek_fuse_type': u'rgbmax', 'village_use_bue': u'true', 'run_cloud_mask': u'true', 'daouzek_centroids': u'true'}
Writing parameters to: /mnt/work/output/log/params.sh
Input file size is 8480, 7283
0...10...20...30...40...50...60...70...80...90...100 - done.
MAXF finsished reading
0...10...20...30...40...50...60...70...80...90...100 - done.
Creating output /mnt/work/output/imagery/054619420020_01_assembly_bue.json of format GeoJSON.
0...10...20...30...40...50...60...70...80...90...100 - done.
/mnt/work/output/imagery/annot_tmp.json
/mnt/work/output/imagery/054619420020_01_assembly_bue_annot.json
[(0, (inf, 10000.0)), (1, (10000.0, 5000.0)), (2, (5000.0, 2500.0)), (3, (2500.0, 1000.0)), (4, (1000.0, 0.0))]

📘

The "Try it Out" feature is not available for this request.

Please use the GBDX Postman Collection to try this request.

Language