-
Notifications
You must be signed in to change notification settings - Fork 8
/
WATER_MAP.yml
205 lines (205 loc) · 6.05 KB
/
WATER_MAP.yml
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
WATER_MAP:
required_parameters:
- granules
parameters:
granules:
api_schema:
type: array
minItems: 1
maxItems: 1
items:
anyOf:
- description: The name of the IW VV+VH Sentinel-1 GRDH granule to process
type: string
pattern: "^S1[AB]_IW_GRDH_1SDV"
minLength: 67
maxLength: 67
example: S1A_IW_GRDH_1SDV_20210413T235641_20210413T235706_037439_0469D0_3F2B
- description: The name of the IW VV+VH Sentinel-1 SLC granule to process
type: string
pattern: "^S1[AB]_IW_SLC__1SDV"
minLength: 67
maxLength: 67
example: S1A_IW_SLC__1SDV_20211110T234815_20211110T234842_040516_04CE0A_E717
resolution:
api_schema:
default: 30.0
description: Desired output pixel spacing in meters
type: number
enum:
- 30.0
- 20.0
- 10.0
speckle_filter:
api_schema:
description: Apply an Enhanced Lee speckle filter
default: false
type: boolean
max_vv_threshold:
api_schema:
description: Maximum threshold value to use for VV polarized raster in decibels (dB)
default: -15.5
type: number
max_vh_threshold:
api_schema:
description: Maximum threshold value to use for VH polarized raster in decibels (dB)
default: -23.0
type: number
hand_threshold:
api_schema:
description: The maximum height above nearest drainage in meters to consider a pixel valid
default: 15.0
type: number
hand_fraction:
api_schema:
description: The minimum fraction of valid HAND pixels required in a tile for thresholding
default: 0.8
type: number
membership_threshold:
api_schema:
description: The average membership to the fuzzy indicators required for a water pixel
default: 0.45
type: number
flood_depth_estimator:
api_schema:
description: Flood depth estimation approach. A value of null or None indicates that flood depth estimation will not be performed.
default: null
type: string
nullable: true
enum:
- iterative
- logstat
- nmad
- null
- numpy
- None
water_level_sigma:
api_schema:
description: Standard deviation to estimate max water height for each object. Ignored when flood_depth_estimator is None.
default: 3.0
type: number
known_water_threshold:
api_schema:
description: Threshold for extracting known water area in percent. A water threshold is computed when value is null. Ignored when flood_depth_estimator is None.
default: null
type: number
nullable: true
iterative_min:
api_schema:
description: Minimum bound used for iterative method. Ignored when flood_depth_estimator is None.
default: 0
type: integer
iterative_max:
api_schema:
description: Maximum bound used for iterative method. Ignored when flood_depth_estimator is None.
default: 15
type: integer
iterative_min_size:
api_schema:
description: Minimum size of a connected waterbody in pixels for calculating flood depths with the iterative estimator
default: 0
type: integer
minimum: 0
minimization_metric:
api_schema:
description: Evaluation method to minimize during the iterative flood depth calculation. Options include a Fowlkes-Mallows index (fmi) or a threat score (ts). Only used when flood_depth_estimator is iterative.
default: ts
type: string
enum:
- fmi
- ts
cost_profiles:
DEFAULT:
cost: 1.0
validators:
- check_dem_coverage
steps:
- name: RTC
image: 845172464411.dkr.ecr.us-west-2.amazonaws.com/hyp3-gamma
command:
- ++process
- rtc
- ++omp-num-threads
- '4'
- --bucket
- '!Ref Bucket'
- --bucket-prefix
- Ref::bucket_prefix
- --resolution
- Ref::resolution
- --speckle-filter
- Ref::speckle_filter
- --scale
- 'power'
- --radiometry
- 'gamma0'
- --dem-matching
- 'false'
- --include-dem
- 'true'
- --include-inc-map
- 'false'
- --include-scattering-area
- 'false'
- --include-rgb
- 'true'
- --dem-name
- 'copernicus'
- Ref::granules
timeout: 36000
compute_environment: Default
vcpu: 1
memory: 31500
secrets:
- EARTHDATA_USERNAME
- EARTHDATA_PASSWORD
- name: ''
image: ghcr.io/fjmeyer/hydrosar
command:
- ++process
- HYDRO30
- --bucket
- '!Ref Bucket'
- --bucket-prefix
- Ref::bucket_prefix
- --max-vv-threshold
- Ref::max_vv_threshold
- --max-vh-threshold
- Ref::max_vh_threshold
- --hand-threshold
- Ref::hand_threshold
- --hand-fraction
- Ref::hand_fraction
- --membership-threshold
- Ref::membership_threshold
timeout: 36000
compute_environment: Default
vcpu: 1
memory: 126000
- name: FLOOD_MAP
image: ghcr.io/fjmeyer/hydrosar
command:
- ++process
- FD30
- --bucket
- '!Ref Bucket'
- --bucket-prefix
- Ref::bucket_prefix
- --estimator
- Ref::flood_depth_estimator
- --water-level-sigma
- Ref::water_level_sigma
- --known-water-threshold
- Ref::known_water_threshold
- --iterative-min
- Ref::iterative_min
- --iterative-max
- Ref::iterative_max
- --iterative-min-size
- Ref::iterative_min_size
- --minimization-metric
- Ref::minimization_metric
timeout: 86400
compute_environment: Default
vcpu: 1
memory: 126000