forked from roocs/daops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-package.cwl
91 lines (84 loc) · 2.11 KB
/
app-package.cwl
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
cwlVersion: v1.0
$namespaces:
s: https://schema.org/
s:softwareVersion: 1.1.7
schemas:
- http://schema.org/version/9.0/schemaorg-current-http.rdf
$graph:
- class: Workflow
id: daops
label: daops
doc: daops
requirements:
- class: ScatterFeatureRequirement
inputs:
time:
doc: time
type: string
collection:
doc: collection
type: string
file_namer:
doc: file_namer
type: string
output_dir:
doc: output_dir
type: string
outputs:
- id: wf_outputs
outputSource:
- subset/results
type: File
steps:
subset:
run: "#clt"
in:
time: time
collection: collection
file_namer: file_namer
output_dir: output_dir
out:
- results
- class: CommandLineTool
id: clt
requirements:
InlineJavascriptRequirement: {}
EnvVarRequirement:
envDef:
ROOCS_CONFIG: /root/roocs.ini
# PATH: /srv/conda/envs/env_crop/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# PYTHONPATH: /home/jovyan/ogc-eo-application-package-hands-on/water-bodies/command-line-tools/crop:/home/jovyan/water-bodies/command-line-tools/crop:/workspaces/vscode-binder/command-line-tools/crop
# PROJ_LIB: /srv/conda/envs/env_crop/share/proj/
# ResourceRequirement:
# coresMax: 1
# ramMax: 500Mb
hints:
DockerRequirement:
dockerPull: alaniwi/daops:latest
baseCommand: ["daops", "subset"]
arguments: []
inputs:
time:
type: string
inputBinding:
prefix: --time
position: 1
file_namer:
type: string
inputBinding:
prefix: --file-namer
position: 2
output_dir:
type: string
inputBinding:
prefix: --output-dir
position: 3
collection:
type: string
inputBinding:
position: 4
outputs:
results:
outputBinding:
glob: "./*.nc"
type: File