How to create a file at runtime
INFO /opt/hostedtoolcache/Python/3.12.7/x64/bin/cwltool 3.1.20241112140730
INFO Resolved '../cwl/05-runtime-file/runtime-file.cwl' to 'file:///home/runner/work/how-to/how-to/cwl/05-runtime-file/runtime-file.cwl'
INFO [workflow ] start
INFO [workflow ] starting step step_curl
INFO [step step_curl] start
INFO [job step_curl] /tmp/dd728d3z$ docker \
run \
-i \
--mount=type=bind,source=/tmp/dd728d3z,target=/pquExR \
--mount=type=bind,source=/tmp/gv1cu608,target=/tmp \
--workdir=/pquExR \
--read-only=true \
--log-driver=none \
--user=1001:127 \
--rm \
--cidfile=/tmp/mcb31x8p/20241211090944-203757.cid \
--env=TMPDIR=/tmp \
--env=HOME=/pquExR \
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/dd728d3z/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 46029 0 --:--:-- --:--:-- --:--:-- 46163
INFO [job step_curl] completed success
INFO [step step_curl] start
INFO [job step_curl_2] /tmp/mnkez4bh$ docker \
run \
-i \
--mount=type=bind,source=/tmp/mnkez4bh,target=/pquExR \
--mount=type=bind,source=/tmp/emi6kuii,target=/tmp \
--workdir=/pquExR \
--read-only=true \
--log-driver=none \
--user=1001:127 \
--rm \
--cidfile=/tmp/x18ll68g/20241211090945-215051.cid \
--env=TMPDIR=/tmp \
--env=HOME=/pquExR \
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/mnkez4bh/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 43225 0 --:--:-- --:--:-- --:--:-- 43401
INFO [job step_curl_2] completed success
INFO [step step_curl] start
INFO [job step_curl_3] /tmp/gfjtae1w$ docker \
run \
-i \
--mount=type=bind,source=/tmp/gfjtae1w,target=/pquExR \
--mount=type=bind,source=/tmp/x9d9269h,target=/tmp \
--workdir=/pquExR \
--read-only=true \
--log-driver=none \
--user=1001:127 \
--rm \
--cidfile=/tmp/4w0xc5rp/20241211090946-225966.cid \
--env=TMPDIR=/tmp \
--env=HOME=/pquExR \
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/gfjtae1w/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 28962 0 --:--:-- --:--:-- --:--:-- 29017
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/oxl50r0s$ docker \
run \
-i \
--mount=type=bind,source=/tmp/oxl50r0s,target=/pquExR \
--mount=type=bind,source=/tmp/2rr277as,target=/tmp \
--workdir=/pquExR \
--read-only=true \
--user=1001:127 \
--rm \
--cidfile=/tmp/wqdj72hq/20241211090947-251673.cid \
--env=TMPDIR=/tmp \
--env=HOME=/pquExR \
--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: 1256MiB
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/r6tcac7y$ docker \
run \
-i \
--mount=type=bind,source=/tmp/r6tcac7y,target=/pquExR \
--mount=type=bind,source=/tmp/nstvm58p,target=/tmp \
--mount=type=bind,source=/tmp/oxl50r0s/stacked.tif,target=/var/lib/cwl/stg97823231-c5f1-4319-97f5-0a0b5612d0ac/stacked.tif,readonly \
--workdir=/pquExR \
--read-only=true \
--user=1001:127 \
--rm \
--cidfile=/tmp/cly6la3i/20241211091012-270537.cid \
--env=TMPDIR=/tmp \
--env=HOME=/pquExR \
ghcr.io/eoap/how-to/how-to-container:1.1.0 \
/bin/bash \
run.sh \
/var/lib/cwl/stg97823231-c5f1-4319-97f5-0a0b5612d0ac/stacked.tif
INFO [job step_color] Max memory used: 731MiB
INFO [job step_color] completed success
INFO [step step_color] completed success
INFO [workflow ] completed success
{
"rgb-tif": {
"location": "file:///home/runner/work/how-to/how-to/docs/rgb.tif",
"basename": "rgb.tif",
"class": "File",
"checksum": "sha1$2c4919f9a0179a7a153b68a13aeaea2fac97c9da",
"size": 361747464,
"path": "/home/runner/work/how-to/how-to/docs/rgb.tif"
}
}INFO Final process status is success