-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.yaml
More file actions
60 lines (57 loc) · 2.94 KB
/
example.yaml
File metadata and controls
60 lines (57 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# skript 0.0.1
# Further on it is intended to check the version, hence conforming the compatibility.
asset_dir: /tmp/foo/
# hardcoded - will be changed
tests:
# Following structure is hardcoded, with optional assets and/or arguments.
ds-1234:
name: Failure dataset
author: Who
description: Yo
with-time: False
# Should be available via $PATH, later custom dir will be added. One of the processors from - https://github.com/cgi-estonia-space/ALUs
command: alus-coh
# The first key will be used as an argument name as well
assets:
- in_ref: S1A_IW_SLC__1SDV_20210703T055050_20210703T055117_038609_048E45_35F7.SAFE
url: https://foo.s3.eu.central-1.amazonaws.com/S1A_IW_SLC__1SDV_20210703T055050_20210703T055117_038609_048E45_35F7.zip
# hardcoded action name
post-process: UNPACK
- in_sec: S1B_IW_SLC__1SDV_20210721T055001_20210721T055028_027888_0353E2_E1B5.SAFE
url: https://foo.s3.eu-central-1.amazonaws.com/S1B_IW_SLC__1SDV_20210721T055001_20210721T055028_027888_0353E2_E1B5.zip
post-process: UNPACK
- orbit_ref: S1A_OPER_AUX_POEORB_OPOD_20210723T121923_V20210702T225942_20210704T005942.EOF
url: https://foo.s3.eu-central-1.amazonaws.com/validation/flood_in_belgium_germany/aux.zip
post-process: UNPACK
# Are fetched by the asset above
- orbit_sec: S1B_OPER_AUX_POEORB_OPOD_20210810T111942_V20210720T225942_20210722T005942.EOF
- dem: srtm_37_02.tif srtm_37_03.tif srtm_38_02.tif srtm_38_03.tif
arguments:
- sw: IW3
- p: VV
- ll: info
- o: /tmp/
# All of this would result in the following command:
# alus-coh --in_ref /tmp/skript/S1A_IW_SLC__1SDV_20210703T055050_20210703T055117_038609_048E45_35F7.SAFE \
# --in_sec /tmp/skript/S1B_IW_SLC__1SDV_20210721T055001_20210721T055028_027888_0353E2_E1B5.SAFE \
# --orbit_ref /tmp/skript/aux/S1A_OPER_AUX_POEORB_OPOD_20210723T121923_V20210702T225942_20210704T005942.EOF \
# --orbit_sec /tmp/skript/aux/S1B_OPER_AUX_POEORB_OPOD_20210810T111942_V20210720T225942_20210722T005942.EOF \
# --dem "/tmp/skript/aux/srtm_37_02.tif /tmp/skript/aux/srtm_37_03.tif /tmp/skript/aux/srtm_38_02.tif /tmp/skript/aux/srtm_38_03.tif" \
# --sw IW3 -p VV --ll info -o /tmp/
# Does not result in invocation, but whatever.
ds-4567:
name: Success dataset
# Another type of processor
envisat-2004-parnu:
name: Envisat example ds
command: asar_focus
# NONAME implies for a positional argument without specific name
assets:
- NONAME: ASA_IM__0PNPDK20040109_194924_000000182023_00157_09730_1479.N1
url: s3://bucket/folder/ASA_IM__0PNPDK20040109_194924_000000182023_00157_09730_1479.N1
- NONAME: ASAR_Auxiliary_Files
url: https://earth.esa.int/eogateway/documents/20142/37627/ASAR_auxiliary_files.zip/5fdc3ebf-adaa-5d9e-2785-c878a34aae82
post-process: UNPACK
- NONAME: DOR_VOR_AX_d
url: s3://bucket/folder/DOR_VOR_AX_d.zip
post-process: UNPACK