-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_asset_impact.cwl
48 lines (47 loc) · 1.38 KB
/
get_asset_impact.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
cwlVersion: v1.2
$graph:
- class: Workflow
id: physrisk-filter
label: OS Climate Physical Risk
doc: >
The OS Climate physical risk workflow will undertake a risk analysis on your asset portfolio of the potential impacts of climate change. According to the type of your asset, the workflow will analyse risks from chronic heat, inundation.
This workflow requires the following columns: ID, latitude, longitude, asset_type, location
requirements:
NetworkAccess:
networkAccess: true
inputs:
assets:
type: string
doc: The geojson file
outputs:
- id: asset-result
type: Directory
outputSource:
- get-impact/asset-result
steps:
get-impact:
run: "#get-asset-impact"
in:
assets: assets
out:
- asset-result
- class: CommandLineTool
id: get-asset-impact
requirements:
NetworkAccess:
networkAccess: true
DockerRequirement:
dockerPull: public.ecr.aws/z0u8g6n1/eodh:latest
baseCommand: get_asset_impact.py
inputs:
assets:
type: string
inputBinding:
prefix: --assets=
separate: false
position: 4
outputs:
asset-result:
type: Directory
outputBinding:
glob: "./asset_output"