-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_asset_values.cwl
109 lines (107 loc) · 2.91 KB
/
get_asset_values.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
cwlVersion: v1.2
$graph:
- class: Workflow
id: lst-filter
label: Land Surface Temperature (LST)
doc: >
The Land Surface Temperature workflow will report on observed land surface temperature observations from your assets.
This workflow requires the following columns: ID, latitude, longitude.
requirements:
NetworkAccess:
networkAccess: true
inputs:
assets:
type: string
doc: GeoJSON file with points data
stac_catalog:
type: string
doc: STAC catalog to search
start_date:
type: string
doc: start date to start the STAC search from
end_date:
type: string
doc: end date for STAC search
stac_collection:
type: string
doc: STAC collection to search
stac_query:
type: string?
doc:
extra_args:
type: string?
doc: Arguments to pass to the data loader
outputs:
- id: asset-result
type: Directory
outputSource:
- get-values/asset-result
steps:
get-values:
run: "#get-asset-values"
in:
assets: assets
stac_catalog: stac_catalog
start_date: start_date
end_date: end_date
stac_collection: stac_collection
stac_query: stac_query
extra_args: extra_args
out:
- asset-result
- class: CommandLineTool
id: get-asset-values
requirements:
NetworkAccess:
networkAccess: true
DockerRequirement:
dockerPull: public.ecr.aws/z0u8g6n1/get_asset_values:xarrayg
baseCommand: main.py
inputs:
assets:
type: string
inputBinding:
prefix: --assets=
separate: false
position: 4
stac_query:
type: string?
inputBinding:
prefix: --stac_query=
separate: false
position: 5
stac_catalog:
type: string
inputBinding:
prefix: --stac_catalog=
separate: false
position: 5
start_date:
type: string
inputBinding:
prefix: --start_date=
separate: false
position: 5
end_date:
type: string
inputBinding:
prefix: --end_date=
separate: false
position: 5
stac_collection:
type: string
inputBinding:
prefix: --stac_collection=
separate: false
position: 5
extra_args:
type: string?
inputBinding:
prefix: --extra_args=
separate: false
position: 6
outputs:
asset-result:
type: Directory
outputBinding:
glob: .