How to scatter on input parameters
INFO /opt/hostedtoolcache/Python/3.12.7/x64/bin/cwltool 3.1.20241112140730
INFO Resolved '../cwl/09-scatter-input-parameters/scatter-input-parameters.cwl' to 'file:///home/runner/work/how-to/how-to/cwl/09-scatter-input-parameters/scatter-input-parameters.cwl'
INFO [workflow ] start
INFO [workflow ] starting step step_curl
INFO [step step_curl] start
INFO [job step_curl] /tmp/xdovzyv8$ docker \
run \
-i \
--mount=type=bind,source=/tmp/xdovzyv8,target=/wYOeIw \
--mount=type=bind,source=/tmp/b07i6e02,target=/tmp \
--workdir=/wYOeIw \
--read-only=true \
--log-driver=none \
--user=1001:127 \
--rm \
--cidfile=/tmp/sauy_ywa/20241211091027-861474.cid \
--env=TMPDIR=/tmp \
--env=HOME=/wYOeIw \
docker.io/curlimages/curl:latest \
curl \
https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2B_53HPA_20210723_0_L2A > /tmp/xdovzyv8/message
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10156 100 10156 0 0 51006 0 --:--:-- --:--:-- --:--:-- 51035
INFO [job step_curl] completed success
INFO [step step_curl] start
INFO [job step_curl_2] /tmp/th5kxnz3$ docker \
run \
-i \
--mount=type=bind,source=/tmp/th5kxnz3,target=/wYOeIw \
--mount=type=bind,source=/tmp/vrn50fp8,target=/tmp \
--workdir=/wYOeIw \
--read-only=true \
--log-driver=none \
--user=1001:127 \
--rm \
--cidfile=/tmp/jaghjpjv/20241211091028-872664.cid \
--env=TMPDIR=/tmp \
--env=HOME=/wYOeIw \
docker.io/curlimages/curl:latest \
curl \
https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2B_53HPA_20210723_0_L2A > /tmp/th5kxnz3/message
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10156 100 10156 0 0 40701 0 --:--:-- --:--:-- --:--:-- 40787
INFO [job step_curl_2] completed success
INFO [step step_curl] start
INFO [job step_curl_3] /tmp/11y9p_zg$ docker \
run \
-i \
--mount=type=bind,source=/tmp/11y9p_zg,target=/wYOeIw \
--mount=type=bind,source=/tmp/5w_qtkd1,target=/tmp \
--workdir=/wYOeIw \
--read-only=true \
--log-driver=none \
--user=1001:127 \
--rm \
--cidfile=/tmp/j9_wnmwd/20241211091029-883911.cid \
--env=TMPDIR=/tmp \
--env=HOME=/wYOeIw \
docker.io/curlimages/curl:latest \
curl \
https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2B_53HPA_20210723_0_L2A > /tmp/11y9p_zg/message
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10156 100 10156 0 0 48739 0 --:--:-- --:--:-- --:--:-- 48826
INFO [job step_curl_3] completed success
INFO [step step_curl] completed success
INFO [workflow ] starting step step_stack
INFO [step step_stack] start
INFO [job step_stack] /tmp/pkpi6ehr$ docker \
run \
-i \
--mount=type=bind,source=/tmp/pkpi6ehr,target=/wYOeIw \
--mount=type=bind,source=/tmp/ok2ka4mw,target=/tmp \
--workdir=/wYOeIw \
--read-only=true \
--user=1001:127 \
--rm \
--cidfile=/tmp/bi_4vv7d/20241211091030-909756.cid \
--env=TMPDIR=/tmp \
--env=HOME=/wYOeIw \
--env=CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.tif \
--env=GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES \
--env=GDAL_TIFF_INTERNAL_MASK=YES \
ghcr.io/eoap/how-to/how-to-container:1.1.0 \
/bin/bash \
run.sh \
https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/53/H/PA/2021/7/S2B_53HPA_20210723_0_L2A/B04.tif \
https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/53/H/PA/2021/7/S2B_53HPA_20210723_0_L2A/B03.tif \
https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/53/H/PA/2021/7/S2B_53HPA_20210723_0_L2A/B02.tif \
stacked.tif
INFO [job step_stack] Max memory used: 1264MiB
INFO [job step_stack] completed success
INFO [step step_stack] completed success
INFO [workflow ] starting step step_color
INFO [step step_color] start
INFO [job step_color] /tmp/xn647o3j$ docker \
run \
-i \
--mount=type=bind,source=/tmp/xn647o3j,target=/wYOeIw \
--mount=type=bind,source=/tmp/ky8ngvx0,target=/tmp \
--mount=type=bind,source=/tmp/pkpi6ehr/stacked.tif,target=/var/lib/cwl/stgcfac227e-8538-439d-99ab-b48107724de3/stacked.tif,readonly \
--workdir=/wYOeIw \
--read-only=true \
--user=1001:127 \
--rm \
--cidfile=/tmp/bdcmrbb6/20241211091053-528433.cid \
--env=TMPDIR=/tmp \
--env=HOME=/wYOeIw \
ghcr.io/eoap/how-to/how-to-container:1.1.0 \
/bin/bash \
run.sh \
/var/lib/cwl/stgcfac227e-8538-439d-99ab-b48107724de3/stacked.tif
INFO [job step_color] Max memory used: 730MiB
INFO [job step_color] completed success
INFO [step step_color] completed success
INFO [workflow ] completed success
INFO Final process status is success
{
"rgb-tif": {
"location": "file:///home/runner/work/how-to/how-to/docs/rgb.tif",
"basename": "rgb.tif",
"class": "File",
"checksum": "sha1$4273e54339566befddf96e4a273c5d67b1eba5a5",
"size": 361747464,
"path": "/home/runner/work/how-to/how-to/docs/rgb.tif"
}
}