Skip to content

Commit

Permalink
calrissian
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Nov 2, 2023
1 parent 6898566 commit be13d4a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/kubernetes/calrissian.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,32 @@ node-crop-pod-ebgkkvpc 0/1 ContainerCreating 0 8s
--8<--
scripts/calrissian-inspect-results.sh
--8<--
```

### Expected outcome

```
(base) jovyan@coder-mrossi:~/runs$ tree $( cat /calrissian/results.json | jq -r .stac_catalog.path )
/calrissian/results/tmp3vhr5k8r
├── S2A_10TFK_20210708_0_L2A
│ ├── S2A_10TFK_20210708_0_L2A.json
│ └── otsu.tif
├── S2A_10TFK_20210718_0_L2A
│ ├── S2A_10TFK_20210718_0_L2A.json
│ └── otsu.tif
├── S2A_10TFK_20220504_0_L2A
│ ├── S2A_10TFK_20220504_0_L2A.json
│ └── otsu.tif
├── S2A_10TFK_20220514_0_L2A
│ ├── S2A_10TFK_20220514_0_L2A.json
│ └── otsu.tif
├── S2A_10TFK_20220524_0_L2A
│ ├── S2A_10TFK_20220524_0_L2A.json
│ └── otsu.tif
├── S2B_10TFK_20210713_0_L2A
│ ├── S2B_10TFK_20210713_0_L2A.json
│ └── otsu.tif
└── catalog.json
6 directories, 13 files
```
3 changes: 3 additions & 0 deletions scripts/calrissian-cloud-native.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mkdir -p /calrissian/logs

version="1.0.0"

calrissian \
--stdout /calrissian/results.json \
--stderr /calrissian/app.log \
Expand All @@ -9,6 +11,7 @@ calrissian \
--outdir /calrissian/results \
--usage-report /calrissian/usage.json \
--tool-logs-basepath /calrissian/logs \
--pod-nodeselectors /etc/calrissian/pod-node-selector.yaml \
/workspace/runs/app-water-bodies-cloud-native.${version}.cwl \
--stac_items "https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2A_10TFK_20210708_0_L2A" \
--stac_items "https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2B_10TFK_20210713_0_L2A" \
Expand Down

0 comments on commit be13d4a

Please sign in to comment.