flood-adapt 0.3.9__py3-none-any.whl → 0.3.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flood_adapt/__init__.py +26 -22
- flood_adapt/adapter/__init__.py +9 -9
- flood_adapt/adapter/fiat_adapter.py +1541 -1541
- flood_adapt/adapter/interface/hazard_adapter.py +70 -70
- flood_adapt/adapter/interface/impact_adapter.py +36 -36
- flood_adapt/adapter/interface/model_adapter.py +89 -89
- flood_adapt/adapter/interface/offshore.py +19 -19
- flood_adapt/adapter/sfincs_adapter.py +1848 -1848
- flood_adapt/adapter/sfincs_offshore.py +193 -193
- flood_adapt/config/config.py +248 -248
- flood_adapt/config/fiat.py +219 -219
- flood_adapt/config/gui.py +331 -331
- flood_adapt/config/sfincs.py +481 -336
- flood_adapt/config/site.py +129 -129
- flood_adapt/database_builder/database_builder.py +2210 -2210
- flood_adapt/database_builder/templates/default_units/imperial.toml +9 -9
- flood_adapt/database_builder/templates/default_units/metric.toml +9 -9
- flood_adapt/database_builder/templates/green_infra_table/green_infra_lookup_table.csv +10 -10
- flood_adapt/database_builder/templates/infographics/OSM/config_charts.toml +90 -90
- flood_adapt/database_builder/templates/infographics/OSM/config_people.toml +57 -57
- flood_adapt/database_builder/templates/infographics/OSM/config_risk_charts.toml +121 -121
- flood_adapt/database_builder/templates/infographics/OSM/config_roads.toml +65 -65
- flood_adapt/database_builder/templates/infographics/OSM/styles.css +45 -45
- flood_adapt/database_builder/templates/infographics/US_NSI/config_charts.toml +126 -126
- flood_adapt/database_builder/templates/infographics/US_NSI/config_people.toml +60 -60
- flood_adapt/database_builder/templates/infographics/US_NSI/config_risk_charts.toml +121 -121
- flood_adapt/database_builder/templates/infographics/US_NSI/config_roads.toml +65 -65
- flood_adapt/database_builder/templates/infographics/US_NSI/styles.css +45 -45
- flood_adapt/database_builder/templates/infometrics/OSM/metrics_additional_risk_configs.toml +4 -4
- flood_adapt/database_builder/templates/infometrics/OSM/with_SVI/infographic_metrics_config.toml +143 -143
- flood_adapt/database_builder/templates/infometrics/OSM/with_SVI/infographic_metrics_config_risk.toml +153 -153
- flood_adapt/database_builder/templates/infometrics/OSM/without_SVI/infographic_metrics_config.toml +127 -127
- flood_adapt/database_builder/templates/infometrics/OSM/without_SVI/infographic_metrics_config_risk.toml +57 -57
- flood_adapt/database_builder/templates/infometrics/US_NSI/metrics_additional_risk_configs.toml +4 -4
- flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config.toml +191 -191
- flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config_risk.toml +153 -153
- flood_adapt/database_builder/templates/infometrics/US_NSI/without_SVI/infographic_metrics_config.toml +178 -178
- flood_adapt/database_builder/templates/infometrics/US_NSI/without_SVI/infographic_metrics_config_risk.toml +57 -57
- flood_adapt/database_builder/templates/infometrics/mandatory_metrics_config.toml +9 -9
- flood_adapt/database_builder/templates/infometrics/mandatory_metrics_config_risk.toml +65 -65
- flood_adapt/database_builder/templates/output_layers/bin_colors.toml +5 -5
- flood_adapt/database_builder.py +16 -16
- flood_adapt/dbs_classes/__init__.py +21 -21
- flood_adapt/dbs_classes/database.py +495 -684
- flood_adapt/dbs_classes/dbs_benefit.py +77 -76
- flood_adapt/dbs_classes/dbs_event.py +61 -59
- flood_adapt/dbs_classes/dbs_measure.py +112 -111
- flood_adapt/dbs_classes/dbs_projection.py +34 -34
- flood_adapt/dbs_classes/dbs_scenario.py +137 -137
- flood_adapt/dbs_classes/dbs_static.py +274 -273
- flood_adapt/dbs_classes/dbs_strategy.py +130 -129
- flood_adapt/dbs_classes/dbs_template.py +279 -278
- flood_adapt/dbs_classes/interface/database.py +107 -139
- flood_adapt/dbs_classes/interface/element.py +121 -121
- flood_adapt/dbs_classes/interface/static.py +47 -47
- flood_adapt/flood_adapt.py +1207 -1178
- flood_adapt/misc/database_user.py +16 -16
- flood_adapt/misc/exceptions.py +22 -0
- flood_adapt/misc/log.py +183 -183
- flood_adapt/misc/path_builder.py +54 -54
- flood_adapt/misc/utils.py +185 -185
- flood_adapt/objects/__init__.py +82 -82
- flood_adapt/objects/benefits/benefits.py +61 -61
- flood_adapt/objects/events/event_factory.py +135 -135
- flood_adapt/objects/events/event_set.py +88 -84
- flood_adapt/objects/events/events.py +234 -234
- flood_adapt/objects/events/historical.py +58 -58
- flood_adapt/objects/events/hurricane.py +68 -67
- flood_adapt/objects/events/synthetic.py +46 -50
- flood_adapt/objects/forcing/__init__.py +92 -92
- flood_adapt/objects/forcing/csv.py +68 -68
- flood_adapt/objects/forcing/discharge.py +66 -66
- flood_adapt/objects/forcing/forcing.py +150 -150
- flood_adapt/objects/forcing/forcing_factory.py +182 -182
- flood_adapt/objects/forcing/meteo_handler.py +93 -93
- flood_adapt/objects/forcing/netcdf.py +40 -40
- flood_adapt/objects/forcing/plotting.py +453 -429
- flood_adapt/objects/forcing/rainfall.py +98 -98
- flood_adapt/objects/forcing/tide_gauge.py +191 -191
- flood_adapt/objects/forcing/time_frame.py +90 -90
- flood_adapt/objects/forcing/timeseries.py +564 -564
- flood_adapt/objects/forcing/unit_system.py +580 -580
- flood_adapt/objects/forcing/waterlevels.py +108 -108
- flood_adapt/objects/forcing/wind.py +124 -124
- flood_adapt/objects/measures/measure_factory.py +92 -92
- flood_adapt/objects/measures/measures.py +529 -529
- flood_adapt/objects/object_model.py +74 -68
- flood_adapt/objects/projections/projections.py +103 -103
- flood_adapt/objects/scenarios/scenarios.py +22 -22
- flood_adapt/objects/strategies/strategies.py +89 -89
- flood_adapt/workflows/benefit_runner.py +579 -554
- flood_adapt/workflows/floodmap.py +85 -85
- flood_adapt/workflows/impacts_integrator.py +85 -85
- flood_adapt/workflows/scenario_runner.py +70 -70
- {flood_adapt-0.3.9.dist-info → flood_adapt-0.3.10.dist-info}/LICENSE +674 -674
- {flood_adapt-0.3.9.dist-info → flood_adapt-0.3.10.dist-info}/METADATA +866 -865
- flood_adapt-0.3.10.dist-info/RECORD +140 -0
- flood_adapt-0.3.9.dist-info/RECORD +0 -139
- {flood_adapt-0.3.9.dist-info → flood_adapt-0.3.10.dist-info}/WHEEL +0 -0
- {flood_adapt-0.3.9.dist-info → flood_adapt-0.3.10.dist-info}/top_level.txt +0 -0
flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config.toml
CHANGED
|
@@ -1,191 +1,191 @@
|
|
|
1
|
-
aggregateBy = []
|
|
2
|
-
|
|
3
|
-
# Metrics used in buildings damaged charts
|
|
4
|
-
|
|
5
|
-
[[queries]]
|
|
6
|
-
name = "ResidentialMinorCount"
|
|
7
|
-
description = "Number of residences with minor damage"
|
|
8
|
-
select = "COUNT(*)"
|
|
9
|
-
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` <= 1 AND `Total Damage` > 0"
|
|
10
|
-
long_name = "Res buildings w/ minor flooding (#)"
|
|
11
|
-
show_in_metrics_table = "False"
|
|
12
|
-
|
|
13
|
-
[[queries]]
|
|
14
|
-
name = "ResidentialMajorCount"
|
|
15
|
-
description = "Number of residences with major damage"
|
|
16
|
-
select = "COUNT(*)"
|
|
17
|
-
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
18
|
-
long_name = "Res buildings w/ major flooding (#)"
|
|
19
|
-
show_in_metrics_table = "False"
|
|
20
|
-
|
|
21
|
-
[[queries]]
|
|
22
|
-
name = "ResidentialDestroyedCount"
|
|
23
|
-
description = "Number of destroyed residences"
|
|
24
|
-
select = "COUNT(*)"
|
|
25
|
-
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
26
|
-
long_name = "Res buildings destroyed (#)"
|
|
27
|
-
show_in_metrics_table = "False"
|
|
28
|
-
|
|
29
|
-
[[queries]]
|
|
30
|
-
name = "CommercialMinorCount"
|
|
31
|
-
description = "Number of commercial buildings with minor flooding"
|
|
32
|
-
select = "COUNT(*)"
|
|
33
|
-
filter = "`Secondary Object Type` IN ('COM1', 'COM2', 'COM3', 'COM4', 'COM5', 'COM8', 'COM9') AND `Inundation Depth` <= 1 AND `Total Damage` > 0"
|
|
34
|
-
long_name = "Minor Damaged Commercial Buildings"
|
|
35
|
-
show_in_metrics_table = "False"
|
|
36
|
-
|
|
37
|
-
[[queries]]
|
|
38
|
-
name = "CommercialMajorCount"
|
|
39
|
-
description = "Number of commercial buildings with major flooding"
|
|
40
|
-
select = "COUNT(*)"
|
|
41
|
-
filter = "`Secondary Object Type` IN ('COM1', 'COM2', 'COM3', 'COM4', 'COM5', 'COM8', 'COM9') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
42
|
-
long_name = "Major Damaged Commercial Buildings"
|
|
43
|
-
show_in_metrics_table = "False"
|
|
44
|
-
|
|
45
|
-
[[queries]]
|
|
46
|
-
name = "CommercialDestroyedCount"
|
|
47
|
-
description = "Number of destroyed commercial buildings"
|
|
48
|
-
select = "COUNT(*)"
|
|
49
|
-
filter = "`Secondary Object Type` IN ('COM1', 'COM2', 'COM3', 'COM4', 'COM5', 'COM8', 'COM9') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
50
|
-
long_name = "Destroyed Commercial Buildings"
|
|
51
|
-
show_in_metrics_table = "False"
|
|
52
|
-
|
|
53
|
-
[[queries]]
|
|
54
|
-
name = "HealthMinorCount"
|
|
55
|
-
description = "Number of minor flooded health facilities"
|
|
56
|
-
select = "COUNT(*)"
|
|
57
|
-
filter = "`Secondary Object Type` IN ('RES6', 'COM6', 'COM7') AND `Inundation Depth` <= 1 AND `Total Damage` > 0 AND `Inundation Depth` > 0"
|
|
58
|
-
long_name = "Minor Damaged Health Buildings"
|
|
59
|
-
show_in_metrics_table = "False"
|
|
60
|
-
|
|
61
|
-
[[queries]]
|
|
62
|
-
name = "HealthMajorCount"
|
|
63
|
-
description = "Number of major flooded health facilities"
|
|
64
|
-
select = "COUNT(*)"
|
|
65
|
-
filter = "`Secondary Object Type` IN ('RES6', 'COM6', 'COM7') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
66
|
-
long_name = "Major Damaged Health Buildings"
|
|
67
|
-
show_in_metrics_table = "False"
|
|
68
|
-
|
|
69
|
-
[[queries]]
|
|
70
|
-
name = "HealthDestroyedCount"
|
|
71
|
-
description = "Number of destroyed health facilities"
|
|
72
|
-
select = "COUNT(*)"
|
|
73
|
-
filter = "`Secondary Object Type` IN ('RES6', 'COM6', 'COM7') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
74
|
-
long_name = "Destroyed Health Buildings"
|
|
75
|
-
show_in_metrics_table = "False"
|
|
76
|
-
|
|
77
|
-
[[queries]]
|
|
78
|
-
name = "SchoolsMinorCount"
|
|
79
|
-
description = "Number of minor flooded Schools facilities"
|
|
80
|
-
select = "COUNT(*)"
|
|
81
|
-
filter = "`Secondary Object Type` IN ('EDU1', 'EDU2') AND `Inundation Depth` <= 1 AND `Total Damage` > 0"
|
|
82
|
-
long_name = "Minor Damaged Schools Buildings"
|
|
83
|
-
show_in_metrics_table = "False"
|
|
84
|
-
|
|
85
|
-
[[queries]]
|
|
86
|
-
name = "SchoolsMajorCount"
|
|
87
|
-
description = "Number of major flooded Schools facilities"
|
|
88
|
-
select = "COUNT(*)"
|
|
89
|
-
filter = "`Secondary Object Type` IN ('EDU1', 'EDU2') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
90
|
-
long_name = "Major Damaged Schools Buildings"
|
|
91
|
-
show_in_metrics_table = "False"
|
|
92
|
-
|
|
93
|
-
[[queries]]
|
|
94
|
-
name = "SchoolsDestroyedCount"
|
|
95
|
-
description = "Number of destroyed Schools facilities"
|
|
96
|
-
select = "COUNT(*)"
|
|
97
|
-
filter = "`Secondary Object Type` IN ('EDU1', 'EDU2') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
98
|
-
long_name = "Destroyed Schools Buildings"
|
|
99
|
-
show_in_metrics_table = "False"
|
|
100
|
-
|
|
101
|
-
[[queries]]
|
|
102
|
-
name = "EmergencyMinorCount"
|
|
103
|
-
description = "Number of minor flooded emergency response buildings"
|
|
104
|
-
select = "COUNT(*)"
|
|
105
|
-
filter = "`Secondary Object Type` IN ('GOV2') AND `Inundation Depth` <= 1 AND `Total Damage` > 0"
|
|
106
|
-
long_name = "Minor Damaged Emergency Buildings"
|
|
107
|
-
show_in_metrics_table = "False"
|
|
108
|
-
|
|
109
|
-
[[queries]]
|
|
110
|
-
name = "EmergencyMajorCount"
|
|
111
|
-
description = "Number of major flooded emergency response buildings"
|
|
112
|
-
select = "COUNT(*)"
|
|
113
|
-
filter = "`Secondary Object Type` IN ('GOV2') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
114
|
-
long_name = "Major Damaged Emergency Buildings"
|
|
115
|
-
show_in_metrics_table = "False"
|
|
116
|
-
|
|
117
|
-
[[queries]]
|
|
118
|
-
name = "EmergencyDestroyedCount"
|
|
119
|
-
description = "Number of destroyed emergency response buildings"
|
|
120
|
-
select = "COUNT(*)"
|
|
121
|
-
filter = "`Secondary Object Type` IN ('GOV2') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
122
|
-
long_name = "Destroyed Emergency Buildings"
|
|
123
|
-
show_in_metrics_table = "False"
|
|
124
|
-
|
|
125
|
-
# Metrics used in people/vulnerability charts
|
|
126
|
-
|
|
127
|
-
[[queries]]
|
|
128
|
-
name = "FloodedLowVulnerability"
|
|
129
|
-
description = "Number of flooded homes with low vulnerability"
|
|
130
|
-
select = "COUNT(*)"
|
|
131
|
-
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` <= 6 AND `SVI` < SVI_threshold AND `Total Damage` > 0"
|
|
132
|
-
long_name = "Flooded Low Vulnerability"
|
|
133
|
-
show_in_metrics_table = "False"
|
|
134
|
-
|
|
135
|
-
[[queries]]
|
|
136
|
-
name = "FloodedHighVulnerability"
|
|
137
|
-
description = "Number of flooded homes with high vulnerability"
|
|
138
|
-
select = "COUNT(*)"
|
|
139
|
-
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` <= 6 AND `SVI` >= SVI_threshold AND `Total Damage` > 0"
|
|
140
|
-
long_name = "Flooded Homes - High SV (#)"
|
|
141
|
-
show_in_metrics_table = "True"
|
|
142
|
-
|
|
143
|
-
[[queries]]
|
|
144
|
-
name = "DisplacedLowVulnerability"
|
|
145
|
-
description = "Number of homes with displaced people with low vulnerability"
|
|
146
|
-
select = "COUNT(*)"
|
|
147
|
-
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` > 6 AND `SVI` < SVI_threshold AND `Total Damage` > 0"
|
|
148
|
-
long_name = "Displaced Low Vulnerability"
|
|
149
|
-
show_in_metrics_table = "False"
|
|
150
|
-
|
|
151
|
-
[[queries]]
|
|
152
|
-
name = "DisplacedHighVulnerability"
|
|
153
|
-
description = "Number of homes with displaced people high vulnerability"
|
|
154
|
-
select = "COUNT(*)"
|
|
155
|
-
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` > 6 AND `SVI` >= SVI_threshold AND `Total Damage` > 0"
|
|
156
|
-
long_name = "Displaced High Vulnerability"
|
|
157
|
-
show_in_metrics_table = "False"
|
|
158
|
-
|
|
159
|
-
# Metrics used in road impacts graph
|
|
160
|
-
|
|
161
|
-
[[queries]]
|
|
162
|
-
name = "SlightlyFloodedRoads"
|
|
163
|
-
description = "Roads disrupted for pedestrians"
|
|
164
|
-
select = "SUM(`Segment Length`)*0.0001894"
|
|
165
|
-
filter = "`Inundation Depth` > 0.3"
|
|
166
|
-
long_name = "Slightly flooded roads"
|
|
167
|
-
show_in_metrics_table = "False"
|
|
168
|
-
|
|
169
|
-
[[queries]]
|
|
170
|
-
name = "MinorFloodedRoads"
|
|
171
|
-
description = "Roads disrupted for cars"
|
|
172
|
-
select = "SUM(`Segment Length`)*0.0001894"
|
|
173
|
-
filter = "`Inundation Depth` >= 0.5"
|
|
174
|
-
long_name = "Minor flooded roads"
|
|
175
|
-
show_in_metrics_table = "False"
|
|
176
|
-
|
|
177
|
-
[[queries]]
|
|
178
|
-
name = "MajorFloodedRoads"
|
|
179
|
-
description = "Roads disrupted for trucks"
|
|
180
|
-
select = "SUM(`Segment Length`)*0.0001894"
|
|
181
|
-
filter = "`Inundation Depth` >= 1"
|
|
182
|
-
long_name = "Major flooded roads"
|
|
183
|
-
show_in_metrics_table = "False"
|
|
184
|
-
|
|
185
|
-
[[queries]]
|
|
186
|
-
name = "FullyFloodedRoads"
|
|
187
|
-
description = "Roads disrupted for rescue vehicles"
|
|
188
|
-
select = "SUM(`Segment Length`)*0.0001894"
|
|
189
|
-
filter = "`Inundation Depth` >= 2"
|
|
190
|
-
long_name = "Fully flooded roads"
|
|
191
|
-
show_in_metrics_table = "False"
|
|
1
|
+
aggregateBy = []
|
|
2
|
+
|
|
3
|
+
# Metrics used in buildings damaged charts
|
|
4
|
+
|
|
5
|
+
[[queries]]
|
|
6
|
+
name = "ResidentialMinorCount"
|
|
7
|
+
description = "Number of residences with minor damage"
|
|
8
|
+
select = "COUNT(*)"
|
|
9
|
+
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` <= 1 AND `Total Damage` > 0"
|
|
10
|
+
long_name = "Res buildings w/ minor flooding (#)"
|
|
11
|
+
show_in_metrics_table = "False"
|
|
12
|
+
|
|
13
|
+
[[queries]]
|
|
14
|
+
name = "ResidentialMajorCount"
|
|
15
|
+
description = "Number of residences with major damage"
|
|
16
|
+
select = "COUNT(*)"
|
|
17
|
+
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
18
|
+
long_name = "Res buildings w/ major flooding (#)"
|
|
19
|
+
show_in_metrics_table = "False"
|
|
20
|
+
|
|
21
|
+
[[queries]]
|
|
22
|
+
name = "ResidentialDestroyedCount"
|
|
23
|
+
description = "Number of destroyed residences"
|
|
24
|
+
select = "COUNT(*)"
|
|
25
|
+
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
26
|
+
long_name = "Res buildings destroyed (#)"
|
|
27
|
+
show_in_metrics_table = "False"
|
|
28
|
+
|
|
29
|
+
[[queries]]
|
|
30
|
+
name = "CommercialMinorCount"
|
|
31
|
+
description = "Number of commercial buildings with minor flooding"
|
|
32
|
+
select = "COUNT(*)"
|
|
33
|
+
filter = "`Secondary Object Type` IN ('COM1', 'COM2', 'COM3', 'COM4', 'COM5', 'COM8', 'COM9') AND `Inundation Depth` <= 1 AND `Total Damage` > 0"
|
|
34
|
+
long_name = "Minor Damaged Commercial Buildings"
|
|
35
|
+
show_in_metrics_table = "False"
|
|
36
|
+
|
|
37
|
+
[[queries]]
|
|
38
|
+
name = "CommercialMajorCount"
|
|
39
|
+
description = "Number of commercial buildings with major flooding"
|
|
40
|
+
select = "COUNT(*)"
|
|
41
|
+
filter = "`Secondary Object Type` IN ('COM1', 'COM2', 'COM3', 'COM4', 'COM5', 'COM8', 'COM9') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
42
|
+
long_name = "Major Damaged Commercial Buildings"
|
|
43
|
+
show_in_metrics_table = "False"
|
|
44
|
+
|
|
45
|
+
[[queries]]
|
|
46
|
+
name = "CommercialDestroyedCount"
|
|
47
|
+
description = "Number of destroyed commercial buildings"
|
|
48
|
+
select = "COUNT(*)"
|
|
49
|
+
filter = "`Secondary Object Type` IN ('COM1', 'COM2', 'COM3', 'COM4', 'COM5', 'COM8', 'COM9') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
50
|
+
long_name = "Destroyed Commercial Buildings"
|
|
51
|
+
show_in_metrics_table = "False"
|
|
52
|
+
|
|
53
|
+
[[queries]]
|
|
54
|
+
name = "HealthMinorCount"
|
|
55
|
+
description = "Number of minor flooded health facilities"
|
|
56
|
+
select = "COUNT(*)"
|
|
57
|
+
filter = "`Secondary Object Type` IN ('RES6', 'COM6', 'COM7') AND `Inundation Depth` <= 1 AND `Total Damage` > 0 AND `Inundation Depth` > 0"
|
|
58
|
+
long_name = "Minor Damaged Health Buildings"
|
|
59
|
+
show_in_metrics_table = "False"
|
|
60
|
+
|
|
61
|
+
[[queries]]
|
|
62
|
+
name = "HealthMajorCount"
|
|
63
|
+
description = "Number of major flooded health facilities"
|
|
64
|
+
select = "COUNT(*)"
|
|
65
|
+
filter = "`Secondary Object Type` IN ('RES6', 'COM6', 'COM7') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
66
|
+
long_name = "Major Damaged Health Buildings"
|
|
67
|
+
show_in_metrics_table = "False"
|
|
68
|
+
|
|
69
|
+
[[queries]]
|
|
70
|
+
name = "HealthDestroyedCount"
|
|
71
|
+
description = "Number of destroyed health facilities"
|
|
72
|
+
select = "COUNT(*)"
|
|
73
|
+
filter = "`Secondary Object Type` IN ('RES6', 'COM6', 'COM7') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
74
|
+
long_name = "Destroyed Health Buildings"
|
|
75
|
+
show_in_metrics_table = "False"
|
|
76
|
+
|
|
77
|
+
[[queries]]
|
|
78
|
+
name = "SchoolsMinorCount"
|
|
79
|
+
description = "Number of minor flooded Schools facilities"
|
|
80
|
+
select = "COUNT(*)"
|
|
81
|
+
filter = "`Secondary Object Type` IN ('EDU1', 'EDU2') AND `Inundation Depth` <= 1 AND `Total Damage` > 0"
|
|
82
|
+
long_name = "Minor Damaged Schools Buildings"
|
|
83
|
+
show_in_metrics_table = "False"
|
|
84
|
+
|
|
85
|
+
[[queries]]
|
|
86
|
+
name = "SchoolsMajorCount"
|
|
87
|
+
description = "Number of major flooded Schools facilities"
|
|
88
|
+
select = "COUNT(*)"
|
|
89
|
+
filter = "`Secondary Object Type` IN ('EDU1', 'EDU2') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
90
|
+
long_name = "Major Damaged Schools Buildings"
|
|
91
|
+
show_in_metrics_table = "False"
|
|
92
|
+
|
|
93
|
+
[[queries]]
|
|
94
|
+
name = "SchoolsDestroyedCount"
|
|
95
|
+
description = "Number of destroyed Schools facilities"
|
|
96
|
+
select = "COUNT(*)"
|
|
97
|
+
filter = "`Secondary Object Type` IN ('EDU1', 'EDU2') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
98
|
+
long_name = "Destroyed Schools Buildings"
|
|
99
|
+
show_in_metrics_table = "False"
|
|
100
|
+
|
|
101
|
+
[[queries]]
|
|
102
|
+
name = "EmergencyMinorCount"
|
|
103
|
+
description = "Number of minor flooded emergency response buildings"
|
|
104
|
+
select = "COUNT(*)"
|
|
105
|
+
filter = "`Secondary Object Type` IN ('GOV2') AND `Inundation Depth` <= 1 AND `Total Damage` > 0"
|
|
106
|
+
long_name = "Minor Damaged Emergency Buildings"
|
|
107
|
+
show_in_metrics_table = "False"
|
|
108
|
+
|
|
109
|
+
[[queries]]
|
|
110
|
+
name = "EmergencyMajorCount"
|
|
111
|
+
description = "Number of major flooded emergency response buildings"
|
|
112
|
+
select = "COUNT(*)"
|
|
113
|
+
filter = "`Secondary Object Type` IN ('GOV2') AND `Inundation Depth` <= 6 AND `Inundation Depth` > 1 AND `Total Damage` > 0"
|
|
114
|
+
long_name = "Major Damaged Emergency Buildings"
|
|
115
|
+
show_in_metrics_table = "False"
|
|
116
|
+
|
|
117
|
+
[[queries]]
|
|
118
|
+
name = "EmergencyDestroyedCount"
|
|
119
|
+
description = "Number of destroyed emergency response buildings"
|
|
120
|
+
select = "COUNT(*)"
|
|
121
|
+
filter = "`Secondary Object Type` IN ('GOV2') AND `Inundation Depth` > 6 AND `Total Damage` > 0"
|
|
122
|
+
long_name = "Destroyed Emergency Buildings"
|
|
123
|
+
show_in_metrics_table = "False"
|
|
124
|
+
|
|
125
|
+
# Metrics used in people/vulnerability charts
|
|
126
|
+
|
|
127
|
+
[[queries]]
|
|
128
|
+
name = "FloodedLowVulnerability"
|
|
129
|
+
description = "Number of flooded homes with low vulnerability"
|
|
130
|
+
select = "COUNT(*)"
|
|
131
|
+
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` <= 6 AND `SVI` < SVI_threshold AND `Total Damage` > 0"
|
|
132
|
+
long_name = "Flooded Low Vulnerability"
|
|
133
|
+
show_in_metrics_table = "False"
|
|
134
|
+
|
|
135
|
+
[[queries]]
|
|
136
|
+
name = "FloodedHighVulnerability"
|
|
137
|
+
description = "Number of flooded homes with high vulnerability"
|
|
138
|
+
select = "COUNT(*)"
|
|
139
|
+
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` <= 6 AND `SVI` >= SVI_threshold AND `Total Damage` > 0"
|
|
140
|
+
long_name = "Flooded Homes - High SV (#)"
|
|
141
|
+
show_in_metrics_table = "True"
|
|
142
|
+
|
|
143
|
+
[[queries]]
|
|
144
|
+
name = "DisplacedLowVulnerability"
|
|
145
|
+
description = "Number of homes with displaced people with low vulnerability"
|
|
146
|
+
select = "COUNT(*)"
|
|
147
|
+
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` > 6 AND `SVI` < SVI_threshold AND `Total Damage` > 0"
|
|
148
|
+
long_name = "Displaced Low Vulnerability"
|
|
149
|
+
show_in_metrics_table = "False"
|
|
150
|
+
|
|
151
|
+
[[queries]]
|
|
152
|
+
name = "DisplacedHighVulnerability"
|
|
153
|
+
description = "Number of homes with displaced people high vulnerability"
|
|
154
|
+
select = "COUNT(*)"
|
|
155
|
+
filter = "`Primary Object Type` IN ('RES') AND `Inundation Depth` > 6 AND `SVI` >= SVI_threshold AND `Total Damage` > 0"
|
|
156
|
+
long_name = "Displaced High Vulnerability"
|
|
157
|
+
show_in_metrics_table = "False"
|
|
158
|
+
|
|
159
|
+
# Metrics used in road impacts graph
|
|
160
|
+
|
|
161
|
+
[[queries]]
|
|
162
|
+
name = "SlightlyFloodedRoads"
|
|
163
|
+
description = "Roads disrupted for pedestrians"
|
|
164
|
+
select = "SUM(`Segment Length`)*0.0001894"
|
|
165
|
+
filter = "`Inundation Depth` > 0.3"
|
|
166
|
+
long_name = "Slightly flooded roads"
|
|
167
|
+
show_in_metrics_table = "False"
|
|
168
|
+
|
|
169
|
+
[[queries]]
|
|
170
|
+
name = "MinorFloodedRoads"
|
|
171
|
+
description = "Roads disrupted for cars"
|
|
172
|
+
select = "SUM(`Segment Length`)*0.0001894"
|
|
173
|
+
filter = "`Inundation Depth` >= 0.5"
|
|
174
|
+
long_name = "Minor flooded roads"
|
|
175
|
+
show_in_metrics_table = "False"
|
|
176
|
+
|
|
177
|
+
[[queries]]
|
|
178
|
+
name = "MajorFloodedRoads"
|
|
179
|
+
description = "Roads disrupted for trucks"
|
|
180
|
+
select = "SUM(`Segment Length`)*0.0001894"
|
|
181
|
+
filter = "`Inundation Depth` >= 1"
|
|
182
|
+
long_name = "Major flooded roads"
|
|
183
|
+
show_in_metrics_table = "False"
|
|
184
|
+
|
|
185
|
+
[[queries]]
|
|
186
|
+
name = "FullyFloodedRoads"
|
|
187
|
+
description = "Roads disrupted for rescue vehicles"
|
|
188
|
+
select = "SUM(`Segment Length`)*0.0001894"
|
|
189
|
+
filter = "`Inundation Depth` >= 2"
|
|
190
|
+
long_name = "Fully flooded roads"
|
|
191
|
+
show_in_metrics_table = "False"
|