flood-adapt 0.3.8__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.
Files changed (100) hide show
  1. flood_adapt/__init__.py +26 -22
  2. flood_adapt/adapter/__init__.py +9 -9
  3. flood_adapt/adapter/fiat_adapter.py +1541 -1536
  4. flood_adapt/adapter/interface/hazard_adapter.py +70 -70
  5. flood_adapt/adapter/interface/impact_adapter.py +36 -36
  6. flood_adapt/adapter/interface/model_adapter.py +89 -89
  7. flood_adapt/adapter/interface/offshore.py +19 -19
  8. flood_adapt/adapter/sfincs_adapter.py +1848 -1846
  9. flood_adapt/adapter/sfincs_offshore.py +193 -193
  10. flood_adapt/config/config.py +248 -290
  11. flood_adapt/config/fiat.py +219 -219
  12. flood_adapt/config/gui.py +331 -331
  13. flood_adapt/config/sfincs.py +481 -336
  14. flood_adapt/config/site.py +129 -129
  15. flood_adapt/database_builder/database_builder.py +2210 -2210
  16. flood_adapt/database_builder/templates/default_units/imperial.toml +9 -9
  17. flood_adapt/database_builder/templates/default_units/metric.toml +9 -9
  18. flood_adapt/database_builder/templates/green_infra_table/green_infra_lookup_table.csv +10 -10
  19. flood_adapt/database_builder/templates/infographics/OSM/config_charts.toml +90 -90
  20. flood_adapt/database_builder/templates/infographics/OSM/config_people.toml +57 -57
  21. flood_adapt/database_builder/templates/infographics/OSM/config_risk_charts.toml +121 -121
  22. flood_adapt/database_builder/templates/infographics/OSM/config_roads.toml +65 -65
  23. flood_adapt/database_builder/templates/infographics/OSM/styles.css +45 -45
  24. flood_adapt/database_builder/templates/infographics/US_NSI/config_charts.toml +126 -126
  25. flood_adapt/database_builder/templates/infographics/US_NSI/config_people.toml +60 -60
  26. flood_adapt/database_builder/templates/infographics/US_NSI/config_risk_charts.toml +121 -121
  27. flood_adapt/database_builder/templates/infographics/US_NSI/config_roads.toml +65 -65
  28. flood_adapt/database_builder/templates/infographics/US_NSI/styles.css +45 -45
  29. flood_adapt/database_builder/templates/infometrics/OSM/metrics_additional_risk_configs.toml +4 -4
  30. flood_adapt/database_builder/templates/infometrics/OSM/with_SVI/infographic_metrics_config.toml +143 -143
  31. flood_adapt/database_builder/templates/infometrics/OSM/with_SVI/infographic_metrics_config_risk.toml +153 -153
  32. flood_adapt/database_builder/templates/infometrics/OSM/without_SVI/infographic_metrics_config.toml +127 -127
  33. flood_adapt/database_builder/templates/infometrics/OSM/without_SVI/infographic_metrics_config_risk.toml +57 -57
  34. flood_adapt/database_builder/templates/infometrics/US_NSI/metrics_additional_risk_configs.toml +4 -4
  35. flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config.toml +191 -191
  36. flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config_risk.toml +153 -153
  37. flood_adapt/database_builder/templates/infometrics/US_NSI/without_SVI/infographic_metrics_config.toml +178 -178
  38. flood_adapt/database_builder/templates/infometrics/US_NSI/without_SVI/infographic_metrics_config_risk.toml +57 -57
  39. flood_adapt/database_builder/templates/infometrics/mandatory_metrics_config.toml +9 -9
  40. flood_adapt/database_builder/templates/infometrics/mandatory_metrics_config_risk.toml +65 -65
  41. flood_adapt/database_builder/templates/output_layers/bin_colors.toml +5 -5
  42. flood_adapt/database_builder.py +16 -16
  43. flood_adapt/dbs_classes/__init__.py +21 -21
  44. flood_adapt/dbs_classes/database.py +495 -688
  45. flood_adapt/dbs_classes/dbs_benefit.py +77 -76
  46. flood_adapt/dbs_classes/dbs_event.py +61 -59
  47. flood_adapt/dbs_classes/dbs_measure.py +112 -111
  48. flood_adapt/dbs_classes/dbs_projection.py +34 -34
  49. flood_adapt/dbs_classes/dbs_scenario.py +137 -137
  50. flood_adapt/dbs_classes/dbs_static.py +274 -273
  51. flood_adapt/dbs_classes/dbs_strategy.py +130 -129
  52. flood_adapt/dbs_classes/dbs_template.py +279 -278
  53. flood_adapt/dbs_classes/interface/database.py +107 -139
  54. flood_adapt/dbs_classes/interface/element.py +121 -121
  55. flood_adapt/dbs_classes/interface/static.py +47 -47
  56. flood_adapt/flood_adapt.py +1207 -1178
  57. flood_adapt/misc/database_user.py +16 -16
  58. flood_adapt/misc/exceptions.py +22 -0
  59. flood_adapt/misc/log.py +183 -183
  60. flood_adapt/misc/path_builder.py +54 -54
  61. flood_adapt/misc/utils.py +185 -185
  62. flood_adapt/objects/__init__.py +82 -82
  63. flood_adapt/objects/benefits/benefits.py +61 -61
  64. flood_adapt/objects/events/event_factory.py +135 -135
  65. flood_adapt/objects/events/event_set.py +88 -84
  66. flood_adapt/objects/events/events.py +234 -234
  67. flood_adapt/objects/events/historical.py +58 -58
  68. flood_adapt/objects/events/hurricane.py +68 -67
  69. flood_adapt/objects/events/synthetic.py +46 -50
  70. flood_adapt/objects/forcing/__init__.py +92 -92
  71. flood_adapt/objects/forcing/csv.py +68 -68
  72. flood_adapt/objects/forcing/discharge.py +66 -66
  73. flood_adapt/objects/forcing/forcing.py +150 -150
  74. flood_adapt/objects/forcing/forcing_factory.py +182 -182
  75. flood_adapt/objects/forcing/meteo_handler.py +93 -93
  76. flood_adapt/objects/forcing/netcdf.py +40 -40
  77. flood_adapt/objects/forcing/plotting.py +453 -429
  78. flood_adapt/objects/forcing/rainfall.py +98 -98
  79. flood_adapt/objects/forcing/tide_gauge.py +191 -191
  80. flood_adapt/objects/forcing/time_frame.py +90 -90
  81. flood_adapt/objects/forcing/timeseries.py +564 -564
  82. flood_adapt/objects/forcing/unit_system.py +580 -580
  83. flood_adapt/objects/forcing/waterlevels.py +108 -108
  84. flood_adapt/objects/forcing/wind.py +124 -124
  85. flood_adapt/objects/measures/measure_factory.py +92 -92
  86. flood_adapt/objects/measures/measures.py +529 -529
  87. flood_adapt/objects/object_model.py +74 -68
  88. flood_adapt/objects/projections/projections.py +103 -89
  89. flood_adapt/objects/scenarios/scenarios.py +22 -22
  90. flood_adapt/objects/strategies/strategies.py +89 -89
  91. flood_adapt/workflows/benefit_runner.py +579 -544
  92. flood_adapt/workflows/floodmap.py +85 -85
  93. flood_adapt/workflows/impacts_integrator.py +85 -82
  94. flood_adapt/workflows/scenario_runner.py +70 -70
  95. {flood_adapt-0.3.8.dist-info → flood_adapt-0.3.10.dist-info}/LICENSE +674 -674
  96. {flood_adapt-0.3.8.dist-info → flood_adapt-0.3.10.dist-info}/METADATA +866 -860
  97. flood_adapt-0.3.10.dist-info/RECORD +140 -0
  98. flood_adapt-0.3.8.dist-info/RECORD +0 -139
  99. {flood_adapt-0.3.8.dist-info → flood_adapt-0.3.10.dist-info}/WHEEL +0 -0
  100. {flood_adapt-0.3.8.dist-info → flood_adapt-0.3.10.dist-info}/top_level.txt +0 -0
@@ -1,127 +1,127 @@
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 ('residential') AND `Inundation Depth` <= 0.25 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 ('residential') AND `Inundation Depth` <= 1.5 AND `Inundation Depth` > 0.25 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 ('residential') AND `Inundation Depth` > 1.5 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 ('commercial') AND `Inundation Depth` <= 0.25 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 ('commercial') AND `Inundation Depth` <= 1.5 AND `Inundation Depth` > 0.25 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 ('commercial') AND `Inundation Depth` > 1.5 AND `Total Damage` > 0"
50
- long_name = "Destroyed Commercial Buildings"
51
- show_in_metrics_table = "False"
52
-
53
- [[queries]]
54
- name = "IndustrialMinorCount"
55
- description = "Number of industrial buildings with minor flooding"
56
- select = "COUNT(*)"
57
- filter = "`Secondary Object Type` IN ('industrial') AND `Inundation Depth` <= 0.25 AND `Total Damage` > 0"
58
- long_name = "Minor Damaged Industrial Buildings"
59
- show_in_metrics_table = "False"
60
-
61
- [[queries]]
62
- name = "IndustrialMajorCount"
63
- description = "Number of industrial buildings with major flooding"
64
- select = "COUNT(*)"
65
- filter = "`Secondary Object Type` IN ('industrial') AND `Inundation Depth` <= 1.5 AND `Inundation Depth` > 0.25 AND `Total Damage` > 0"
66
- long_name = "Major Damaged Industrial Buildings"
67
- show_in_metrics_table = "False"
68
-
69
- [[queries]]
70
- name = "IndustrialDestroyedCount"
71
- description = "Number of destroyed industrial buildings"
72
- select = "COUNT(*)"
73
- filter = "`Secondary Object Type` IN ('industrial') AND `Inundation Depth` > 1.5 AND `Total Damage` > 0"
74
- long_name = "Destroyed Industrial Buildings"
75
- show_in_metrics_table = "False"
76
-
77
- # Metrics used in people/vulnerability charts
78
-
79
- [[queries]]
80
- name = "FloodedHomes"
81
- description = "Number of flooded homes "
82
- select = "COUNT(*)"
83
- filter = "`Primary Object Type` IN ('residential') AND `Inundation Depth` <= 1.5 AND `Total Damage` > 0"
84
- long_name = "Flooded Homes"
85
- show_in_metrics_table = "False"
86
-
87
- [[queries]]
88
- name = "DisplacedHomes"
89
- description = "Number of homes with displaced people"
90
- select = "COUNT(*)"
91
- filter = "`Primary Object Type` IN ('residential') AND `Inundation Depth` > 1.5 AND `Total Damage` > 0"
92
- long_name = "Homes with Displaced People"
93
- show_in_metrics_table = "False"
94
-
95
- # Metrics used in road impacts graph
96
-
97
- [[queries]]
98
- name = "SlightlyFloodedRoads"
99
- description = "Roads disrupted for pedestrians"
100
- select = "SUM(`Segment Length`)*0.001"
101
- filter = "`Inundation Depth` > 0.05"
102
- long_name = "Slightly flooded roads"
103
- show_in_metrics_table = "False"
104
-
105
- [[queries]]
106
- name = "MinorFloodedRoads"
107
- description = "Roads disrupted for cars"
108
- select = "SUM(`Segment Length`)*0.001"
109
- filter = "`Inundation Depth` >= 0.1"
110
- long_name = "Minor flooded roads"
111
- show_in_metrics_table = "False"
112
-
113
- [[queries]]
114
- name = "MajorFloodedRoads"
115
- description = "Roads disrupted for trucks"
116
- select = "SUM(`Segment Length`)*0.001"
117
- filter = "`Inundation Depth` >= 0.25"
118
- long_name = "Major flooded roads"
119
- show_in_metrics_table = "False"
120
-
121
- [[queries]]
122
- name = "FullyFloodedRoads"
123
- description = "Roads disrupted for rescue vehicles"
124
- select = "SUM(`Segment Length`)*0.001"
125
- filter = "`Inundation Depth` >= 0.4"
126
- long_name = "Fully flooded roads"
127
- 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 ('residential') AND `Inundation Depth` <= 0.25 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 ('residential') AND `Inundation Depth` <= 1.5 AND `Inundation Depth` > 0.25 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 ('residential') AND `Inundation Depth` > 1.5 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 ('commercial') AND `Inundation Depth` <= 0.25 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 ('commercial') AND `Inundation Depth` <= 1.5 AND `Inundation Depth` > 0.25 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 ('commercial') AND `Inundation Depth` > 1.5 AND `Total Damage` > 0"
50
+ long_name = "Destroyed Commercial Buildings"
51
+ show_in_metrics_table = "False"
52
+
53
+ [[queries]]
54
+ name = "IndustrialMinorCount"
55
+ description = "Number of industrial buildings with minor flooding"
56
+ select = "COUNT(*)"
57
+ filter = "`Secondary Object Type` IN ('industrial') AND `Inundation Depth` <= 0.25 AND `Total Damage` > 0"
58
+ long_name = "Minor Damaged Industrial Buildings"
59
+ show_in_metrics_table = "False"
60
+
61
+ [[queries]]
62
+ name = "IndustrialMajorCount"
63
+ description = "Number of industrial buildings with major flooding"
64
+ select = "COUNT(*)"
65
+ filter = "`Secondary Object Type` IN ('industrial') AND `Inundation Depth` <= 1.5 AND `Inundation Depth` > 0.25 AND `Total Damage` > 0"
66
+ long_name = "Major Damaged Industrial Buildings"
67
+ show_in_metrics_table = "False"
68
+
69
+ [[queries]]
70
+ name = "IndustrialDestroyedCount"
71
+ description = "Number of destroyed industrial buildings"
72
+ select = "COUNT(*)"
73
+ filter = "`Secondary Object Type` IN ('industrial') AND `Inundation Depth` > 1.5 AND `Total Damage` > 0"
74
+ long_name = "Destroyed Industrial Buildings"
75
+ show_in_metrics_table = "False"
76
+
77
+ # Metrics used in people/vulnerability charts
78
+
79
+ [[queries]]
80
+ name = "FloodedHomes"
81
+ description = "Number of flooded homes "
82
+ select = "COUNT(*)"
83
+ filter = "`Primary Object Type` IN ('residential') AND `Inundation Depth` <= 1.5 AND `Total Damage` > 0"
84
+ long_name = "Flooded Homes"
85
+ show_in_metrics_table = "False"
86
+
87
+ [[queries]]
88
+ name = "DisplacedHomes"
89
+ description = "Number of homes with displaced people"
90
+ select = "COUNT(*)"
91
+ filter = "`Primary Object Type` IN ('residential') AND `Inundation Depth` > 1.5 AND `Total Damage` > 0"
92
+ long_name = "Homes with Displaced People"
93
+ show_in_metrics_table = "False"
94
+
95
+ # Metrics used in road impacts graph
96
+
97
+ [[queries]]
98
+ name = "SlightlyFloodedRoads"
99
+ description = "Roads disrupted for pedestrians"
100
+ select = "SUM(`Segment Length`)*0.001"
101
+ filter = "`Inundation Depth` > 0.05"
102
+ long_name = "Slightly flooded roads"
103
+ show_in_metrics_table = "False"
104
+
105
+ [[queries]]
106
+ name = "MinorFloodedRoads"
107
+ description = "Roads disrupted for cars"
108
+ select = "SUM(`Segment Length`)*0.001"
109
+ filter = "`Inundation Depth` >= 0.1"
110
+ long_name = "Minor flooded roads"
111
+ show_in_metrics_table = "False"
112
+
113
+ [[queries]]
114
+ name = "MajorFloodedRoads"
115
+ description = "Roads disrupted for trucks"
116
+ select = "SUM(`Segment Length`)*0.001"
117
+ filter = "`Inundation Depth` >= 0.25"
118
+ long_name = "Major flooded roads"
119
+ show_in_metrics_table = "False"
120
+
121
+ [[queries]]
122
+ name = "FullyFloodedRoads"
123
+ description = "Roads disrupted for rescue vehicles"
124
+ select = "SUM(`Segment Length`)*0.001"
125
+ filter = "`Inundation Depth` >= 0.4"
126
+ long_name = "Fully flooded roads"
127
+ show_in_metrics_table = "False"
@@ -1,57 +1,57 @@
1
- aggregateBy = []
2
-
3
- [[queries]]
4
- name = "FloodedHomes"
5
- description = "Homes likely to flood (Inundation Depth > 0.05) in 30 year period"
6
- select = "COUNT(*)"
7
- filter = "`Exceedance Probability` > 50 AND `Primary Object Type` = 'residential'"
8
- long_name = "Homes likely to flood in 30-year period (#)"
9
- show_in_metrics_table = "False"
10
-
11
- [[queries]]
12
- name = "ImpactedHomes2Y"
13
- description = "Homes impacted (Inundation Depth > 0.25) in the 2-year event"
14
- select = "COUNT(*)"
15
- filter = "`Inundation Depth (2Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
16
- long_name = "Flooded homes RP2"
17
- show_in_metrics_table = "True"
18
-
19
- [[queries]]
20
- name = "ImpactedHomes5Y"
21
- description = "Homes impacted (Inundation Depth > 0.25) in the 5-year event"
22
- select = "COUNT(*)"
23
- filter = "`Inundation Depth (5Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
24
- long_name = "Flooded homes RP5"
25
- show_in_metrics_table = "True"
26
-
27
- [[queries]]
28
- name = "ImpactedHomes10Y"
29
- description = "Homes impacted (Inundation Depth > 0.25) in the 10-year event"
30
- select = "COUNT(*)"
31
- filter = "`Inundation Depth (10Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
32
- long_name = "Flooded homes RP10"
33
- show_in_metrics_table = "True"
34
-
35
- [[queries]]
36
- name = "ImpactedHomes25Y"
37
- description = "Homes impacted (Inundation Depth > 0.25) in the 25-year event"
38
- select = "COUNT(*)"
39
- filter = "`Inundation Depth (25Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
40
- long_name = "Flooded homes RP25"
41
- show_in_metrics_table = "True"
42
-
43
- [[queries]]
44
- name = "ImpactedHomes50Y"
45
- description = "Homes impacted (Inundation Depth > 0.25) in the 50-year event"
46
- select = "COUNT(*)"
47
- filter = "`Inundation Depth (50Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
48
- long_name = "Flooded homes RP50"
49
- show_in_metrics_table = "True"
50
-
51
- [[queries]]
52
- name = "ImpactedHomes100Y"
53
- description = "Homes impacted (Inundation Depth > 0.25) in the 100-year event"
54
- select = "COUNT(*)"
55
- filter = "`Inundation Depth (100Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
56
- long_name = "Flooded homes RP100"
57
- show_in_metrics_table = "True"
1
+ aggregateBy = []
2
+
3
+ [[queries]]
4
+ name = "FloodedHomes"
5
+ description = "Homes likely to flood (Inundation Depth > 0.05) in 30 year period"
6
+ select = "COUNT(*)"
7
+ filter = "`Exceedance Probability` > 50 AND `Primary Object Type` = 'residential'"
8
+ long_name = "Homes likely to flood in 30-year period (#)"
9
+ show_in_metrics_table = "False"
10
+
11
+ [[queries]]
12
+ name = "ImpactedHomes2Y"
13
+ description = "Homes impacted (Inundation Depth > 0.25) in the 2-year event"
14
+ select = "COUNT(*)"
15
+ filter = "`Inundation Depth (2Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
16
+ long_name = "Flooded homes RP2"
17
+ show_in_metrics_table = "True"
18
+
19
+ [[queries]]
20
+ name = "ImpactedHomes5Y"
21
+ description = "Homes impacted (Inundation Depth > 0.25) in the 5-year event"
22
+ select = "COUNT(*)"
23
+ filter = "`Inundation Depth (5Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
24
+ long_name = "Flooded homes RP5"
25
+ show_in_metrics_table = "True"
26
+
27
+ [[queries]]
28
+ name = "ImpactedHomes10Y"
29
+ description = "Homes impacted (Inundation Depth > 0.25) in the 10-year event"
30
+ select = "COUNT(*)"
31
+ filter = "`Inundation Depth (10Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
32
+ long_name = "Flooded homes RP10"
33
+ show_in_metrics_table = "True"
34
+
35
+ [[queries]]
36
+ name = "ImpactedHomes25Y"
37
+ description = "Homes impacted (Inundation Depth > 0.25) in the 25-year event"
38
+ select = "COUNT(*)"
39
+ filter = "`Inundation Depth (25Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
40
+ long_name = "Flooded homes RP25"
41
+ show_in_metrics_table = "True"
42
+
43
+ [[queries]]
44
+ name = "ImpactedHomes50Y"
45
+ description = "Homes impacted (Inundation Depth > 0.25) in the 50-year event"
46
+ select = "COUNT(*)"
47
+ filter = "`Inundation Depth (50Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
48
+ long_name = "Flooded homes RP50"
49
+ show_in_metrics_table = "True"
50
+
51
+ [[queries]]
52
+ name = "ImpactedHomes100Y"
53
+ description = "Homes impacted (Inundation Depth > 0.25) in the 100-year event"
54
+ select = "COUNT(*)"
55
+ filter = "`Inundation Depth (100Y)` >= 0.1 AND `Primary Object Type` = 'residential'"
56
+ long_name = "Flooded homes RP100"
57
+ show_in_metrics_table = "True"
@@ -1,4 +1,4 @@
1
- [flood_exceedance]
2
- column = "Inundation Depth"
3
- threshold = 0.2
4
- period = 30
1
+ [flood_exceedance]
2
+ column = "Inundation Depth"
3
+ threshold = 0.2
4
+ period = 30