-
Notifications
You must be signed in to change notification settings - Fork 0
/
convert-stac-app.cwl
62 lines (59 loc) · 1.19 KB
/
convert-stac-app.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
cwlVersion: v1.0
$namespaces:
s: https://schema.org/
schemas:
- http://schema.org/version/9.0/schemaorg-current-http.rdf
s:softwareVersion: 0.1.2
$graph:
# Workflow entrypoint
- class: Workflow
doc: Convert Stac
id: convert-stac
label: convert stac app
inputs:
fn:
type: string
stac:
type: Directory
size:
type: string
outputs:
- id: wf_outputs
type: Directory
outputSource:
- convert/results
steps:
convert:
run: "#convert"
in:
fn: fn
stac: stac
size: size
out:
- results
# convert.sh - takes input args `--stac`
- class: CommandLineTool
id: convert
baseCommand: convert.sh
inputs:
fn:
type: string
inputBinding:
position: 1
stac:
type: Directory
inputBinding:
position: 2
prefix: --stac
size:
type: string
inputBinding:
position: 3
outputs:
results:
type: Directory
outputBinding:
glob: .
requirements:
DockerRequirement:
dockerPull: eoepca/convert_new:latest