flood-adapt 0.3.0__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 +22 -0
- flood_adapt/adapter/__init__.py +9 -0
- flood_adapt/adapter/fiat_adapter.py +1502 -0
- flood_adapt/adapter/interface/__init__.py +0 -0
- flood_adapt/adapter/interface/hazard_adapter.py +70 -0
- flood_adapt/adapter/interface/impact_adapter.py +36 -0
- flood_adapt/adapter/interface/model_adapter.py +89 -0
- flood_adapt/adapter/interface/offshore.py +19 -0
- flood_adapt/adapter/sfincs_adapter.py +1857 -0
- flood_adapt/adapter/sfincs_offshore.py +193 -0
- flood_adapt/config/__init__.py +0 -0
- flood_adapt/config/config.py +245 -0
- flood_adapt/config/fiat.py +219 -0
- flood_adapt/config/gui.py +224 -0
- flood_adapt/config/sfincs.py +336 -0
- flood_adapt/config/site.py +124 -0
- flood_adapt/database_builder/__init__.py +0 -0
- flood_adapt/database_builder/database_builder.py +2175 -0
- flood_adapt/database_builder/templates/default_units/imperial.toml +9 -0
- flood_adapt/database_builder/templates/default_units/metric.toml +9 -0
- flood_adapt/database_builder/templates/green_infra_table/green_infra_lookup_table.csv +10 -0
- flood_adapt/database_builder/templates/icons/black_down_48x48.png +0 -0
- flood_adapt/database_builder/templates/icons/black_left_48x48.png +0 -0
- flood_adapt/database_builder/templates/icons/black_right_48x48.png +0 -0
- flood_adapt/database_builder/templates/icons/black_up_48x48.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-16_white_down.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-16_white_left.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-16_white_right.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-16_white_up.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-24_black_down.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-24_black_left.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-24_black_right.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-24_black_up.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-24_white_left.png +0 -0
- flood_adapt/database_builder/templates/icons/icons8-triangle-arrow-24_white_right.png +0 -0
- flood_adapt/database_builder/templates/icons/white_down_48x48.png +0 -0
- flood_adapt/database_builder/templates/icons/white_left_48x48.png +0 -0
- flood_adapt/database_builder/templates/icons/white_right_48x48.png +0 -0
- flood_adapt/database_builder/templates/icons/white_up_48x48.png +0 -0
- flood_adapt/database_builder/templates/infographics/OSM/config_charts.toml +90 -0
- flood_adapt/database_builder/templates/infographics/OSM/config_people.toml +57 -0
- flood_adapt/database_builder/templates/infographics/OSM/config_risk_charts.toml +121 -0
- flood_adapt/database_builder/templates/infographics/OSM/config_roads.toml +65 -0
- flood_adapt/database_builder/templates/infographics/OSM/styles.css +45 -0
- flood_adapt/database_builder/templates/infographics/US_NSI/config_charts.toml +126 -0
- flood_adapt/database_builder/templates/infographics/US_NSI/config_people.toml +60 -0
- flood_adapt/database_builder/templates/infographics/US_NSI/config_risk_charts.toml +121 -0
- flood_adapt/database_builder/templates/infographics/US_NSI/config_roads.toml +65 -0
- flood_adapt/database_builder/templates/infographics/US_NSI/styles.css +45 -0
- flood_adapt/database_builder/templates/infographics/images/ambulance.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/car.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/cart.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/firetruck.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/hospital.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/house.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/info.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/money.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/person.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/school.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/truck.png +0 -0
- flood_adapt/database_builder/templates/infographics/images/walking_person.png +0 -0
- flood_adapt/database_builder/templates/infometrics/OSM/metrics_additional_risk_configs.toml +4 -0
- flood_adapt/database_builder/templates/infometrics/OSM/with_SVI/infographic_metrics_config.toml +143 -0
- flood_adapt/database_builder/templates/infometrics/OSM/with_SVI/infographic_metrics_config_risk.toml +153 -0
- flood_adapt/database_builder/templates/infometrics/OSM/without_SVI/infographic_metrics_config.toml +127 -0
- flood_adapt/database_builder/templates/infometrics/OSM/without_SVI/infographic_metrics_config_risk.toml +57 -0
- flood_adapt/database_builder/templates/infometrics/US_NSI/metrics_additional_risk_configs.toml +4 -0
- flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config.toml +191 -0
- flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config_risk.toml +153 -0
- flood_adapt/database_builder/templates/infometrics/US_NSI/without_SVI/infographic_metrics_config.toml +178 -0
- flood_adapt/database_builder/templates/infometrics/US_NSI/without_SVI/infographic_metrics_config_risk.toml +57 -0
- flood_adapt/database_builder/templates/infometrics/mandatory_metrics_config.toml +9 -0
- flood_adapt/database_builder/templates/infometrics/mandatory_metrics_config_risk.toml +65 -0
- flood_adapt/database_builder/templates/mapbox_layers/bin_colors.toml +5 -0
- flood_adapt/database_builder.py +16 -0
- flood_adapt/dbs_classes/__init__.py +21 -0
- flood_adapt/dbs_classes/database.py +716 -0
- flood_adapt/dbs_classes/dbs_benefit.py +97 -0
- flood_adapt/dbs_classes/dbs_event.py +91 -0
- flood_adapt/dbs_classes/dbs_measure.py +103 -0
- flood_adapt/dbs_classes/dbs_projection.py +52 -0
- flood_adapt/dbs_classes/dbs_scenario.py +150 -0
- flood_adapt/dbs_classes/dbs_static.py +261 -0
- flood_adapt/dbs_classes/dbs_strategy.py +147 -0
- flood_adapt/dbs_classes/dbs_template.py +302 -0
- flood_adapt/dbs_classes/interface/database.py +147 -0
- flood_adapt/dbs_classes/interface/element.py +137 -0
- flood_adapt/dbs_classes/interface/static.py +47 -0
- flood_adapt/flood_adapt.py +1371 -0
- flood_adapt/misc/__init__.py +0 -0
- flood_adapt/misc/database_user.py +16 -0
- flood_adapt/misc/log.py +183 -0
- flood_adapt/misc/path_builder.py +54 -0
- flood_adapt/misc/utils.py +185 -0
- flood_adapt/objects/__init__.py +59 -0
- flood_adapt/objects/benefits/__init__.py +0 -0
- flood_adapt/objects/benefits/benefits.py +61 -0
- flood_adapt/objects/events/__init__.py +0 -0
- flood_adapt/objects/events/event_factory.py +135 -0
- flood_adapt/objects/events/event_set.py +84 -0
- flood_adapt/objects/events/events.py +221 -0
- flood_adapt/objects/events/historical.py +55 -0
- flood_adapt/objects/events/hurricane.py +64 -0
- flood_adapt/objects/events/synthetic.py +48 -0
- flood_adapt/objects/forcing/__init__.py +0 -0
- flood_adapt/objects/forcing/csv.py +68 -0
- flood_adapt/objects/forcing/discharge.py +66 -0
- flood_adapt/objects/forcing/forcing.py +142 -0
- flood_adapt/objects/forcing/forcing_factory.py +182 -0
- flood_adapt/objects/forcing/meteo_handler.py +93 -0
- flood_adapt/objects/forcing/netcdf.py +40 -0
- flood_adapt/objects/forcing/plotting.py +428 -0
- flood_adapt/objects/forcing/rainfall.py +98 -0
- flood_adapt/objects/forcing/tide_gauge.py +191 -0
- flood_adapt/objects/forcing/time_frame.py +77 -0
- flood_adapt/objects/forcing/timeseries.py +552 -0
- flood_adapt/objects/forcing/unit_system.py +580 -0
- flood_adapt/objects/forcing/waterlevels.py +108 -0
- flood_adapt/objects/forcing/wind.py +124 -0
- flood_adapt/objects/measures/__init__.py +0 -0
- flood_adapt/objects/measures/measure_factory.py +92 -0
- flood_adapt/objects/measures/measures.py +506 -0
- flood_adapt/objects/object_model.py +68 -0
- flood_adapt/objects/projections/__init__.py +0 -0
- flood_adapt/objects/projections/projections.py +89 -0
- flood_adapt/objects/scenarios/__init__.py +0 -0
- flood_adapt/objects/scenarios/scenarios.py +22 -0
- flood_adapt/objects/strategies/__init__.py +0 -0
- flood_adapt/objects/strategies/strategies.py +68 -0
- flood_adapt/workflows/__init__.py +0 -0
- flood_adapt/workflows/benefit_runner.py +541 -0
- flood_adapt/workflows/floodmap.py +85 -0
- flood_adapt/workflows/impacts_integrator.py +82 -0
- flood_adapt/workflows/scenario_runner.py +69 -0
- flood_adapt-0.3.0.dist-info/LICENSE +21 -0
- flood_adapt-0.3.0.dist-info/METADATA +183 -0
- flood_adapt-0.3.0.dist-info/RECORD +139 -0
- flood_adapt-0.3.0.dist-info/WHEEL +5 -0
- flood_adapt-0.3.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
default_length_units = "feet"
|
|
2
|
+
default_distance_units = "miles"
|
|
3
|
+
default_area_units = "sf"
|
|
4
|
+
default_volume_units = "cf"
|
|
5
|
+
default_velocity_units = "knots"
|
|
6
|
+
default_direction_units = "deg N"
|
|
7
|
+
default_discharge_units = "cfs"
|
|
8
|
+
default_intensity_units = "inch/hr"
|
|
9
|
+
default_cumulative_units = "inch"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
default_length_units = "meters"
|
|
2
|
+
default_distance_units = "meters"
|
|
3
|
+
default_area_units = "m2"
|
|
4
|
+
default_volume_units = "m3"
|
|
5
|
+
default_velocity_units = "m/s"
|
|
6
|
+
default_direction_units = "deg N"
|
|
7
|
+
default_discharge_units = "m3/s"
|
|
8
|
+
default_intensity_units = "mm/hr"
|
|
9
|
+
default_cumulative_units = "millimeters"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Measure,Infiltration depth (feet),types
|
|
2
|
+
Rainwater detention pond (dry pond),2.6,water_square
|
|
3
|
+
Infiltration fields,2.6,water_square
|
|
4
|
+
Water square,2.5,water_square
|
|
5
|
+
Bioswale,1.1,"water_square, greening"
|
|
6
|
+
Rainwater retention pond (wet pond),1,"water_square, greening"
|
|
7
|
+
Hollow roads,0.3,"water_square, greening"
|
|
8
|
+
Permeable pavement,0.3,"water_square, greening"
|
|
9
|
+
Adding trees,0.2,"water_square, greening"
|
|
10
|
+
Remove pavement to plant green,0.2,"water_square, greening"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
[Charts]
|
|
2
|
+
[Charts.Homes]
|
|
3
|
+
Name = "Homes"
|
|
4
|
+
Image = "{image_path}/house.png"
|
|
5
|
+
[Charts.Commercial]
|
|
6
|
+
Name = "Commercial"
|
|
7
|
+
Image = "{image_path}/cart.png"
|
|
8
|
+
[Charts.Industry]
|
|
9
|
+
Name = "Industrial facilities"
|
|
10
|
+
Image = "{image_path}/factory.png"
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
[Categories]
|
|
14
|
+
[Categories.Minor]
|
|
15
|
+
Name = "Minor"
|
|
16
|
+
Color = "#ffa500"
|
|
17
|
+
[Categories.Major]
|
|
18
|
+
Name = "Major"
|
|
19
|
+
Color = "#ff0000"
|
|
20
|
+
[Categories.Destroyed]
|
|
21
|
+
Name = "Destroyed"
|
|
22
|
+
Color = "#000000"
|
|
23
|
+
|
|
24
|
+
[Slices]
|
|
25
|
+
[Slices.Minor_Homes]
|
|
26
|
+
Name = "Minor Homes"
|
|
27
|
+
Query = "ResidentialMinorCount"
|
|
28
|
+
Chart = "Homes"
|
|
29
|
+
Category = "Minor"
|
|
30
|
+
[Slices.Major_Homes]
|
|
31
|
+
Name = "Major Homes"
|
|
32
|
+
Query = "ResidentialMajorCount"
|
|
33
|
+
Chart = "Homes"
|
|
34
|
+
Category = "Major"
|
|
35
|
+
[Slices.Destroyed_Homes]
|
|
36
|
+
Name = "Destroyed Homes"
|
|
37
|
+
Query = "ResidentialDestroyedCount"
|
|
38
|
+
Chart = "Homes"
|
|
39
|
+
Category = "Destroyed"
|
|
40
|
+
[Slices.Minor_Commercial]
|
|
41
|
+
Name = "Minor Commercial"
|
|
42
|
+
Query = "CommercialMinorCount"
|
|
43
|
+
Chart = "Commercial"
|
|
44
|
+
Category = "Minor"
|
|
45
|
+
[Slices.Major_Commercial]
|
|
46
|
+
Name = "Major Commercial"
|
|
47
|
+
Query = "CommercialMajorCount"
|
|
48
|
+
Chart = "Commercial"
|
|
49
|
+
Category = "Major"
|
|
50
|
+
[Slices.Destroyed_Commercial]
|
|
51
|
+
Name = "Destroyed Commercial"
|
|
52
|
+
Query = "CommercialDestroyedCount"
|
|
53
|
+
Chart = "Commercial"
|
|
54
|
+
Category = "Destroyed"
|
|
55
|
+
[Slices.Minor_Industry]
|
|
56
|
+
Name = "Minor Industrial"
|
|
57
|
+
Query = "IndustrialMinorCount"
|
|
58
|
+
Chart = "Industrial facilities"
|
|
59
|
+
Category = "Minor"
|
|
60
|
+
[Slices.Major_Industrial]
|
|
61
|
+
Name = "Major Industrial"
|
|
62
|
+
Query = "IndustrialMajorCount"
|
|
63
|
+
Chart = "Industrial facilities"
|
|
64
|
+
Category = "Major"
|
|
65
|
+
[Slices.Destroyed_Industrial]
|
|
66
|
+
Name = "Destroyed Industrial"
|
|
67
|
+
Query = "IndustrialDestroyedCount"
|
|
68
|
+
Chart = "Industrial facilities"
|
|
69
|
+
Category = "Destroyed"
|
|
70
|
+
|
|
71
|
+
[Other]
|
|
72
|
+
[Other.Plot]
|
|
73
|
+
image_scale = 0.15
|
|
74
|
+
numbers_font = 20
|
|
75
|
+
height = 350
|
|
76
|
+
width = 1200
|
|
77
|
+
[Other.Title]
|
|
78
|
+
text = "Building damage"
|
|
79
|
+
font = 30
|
|
80
|
+
[Other.Subtitle]
|
|
81
|
+
font = 25
|
|
82
|
+
[Other.Legend]
|
|
83
|
+
font = 20
|
|
84
|
+
[Other.Info]
|
|
85
|
+
text="""Inundation depth thresholds:<br>
|
|
86
|
+
Minor: 0.25 m<br>
|
|
87
|
+
Major: 2.0 m<br>
|
|
88
|
+
Destroyed: >2.0 m"""
|
|
89
|
+
image="https://openclipart.org/image/800px/302413"
|
|
90
|
+
scale=0.1
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[Charts]
|
|
2
|
+
[Charts.Impacted]
|
|
3
|
+
Name = "Impacted"
|
|
4
|
+
Image = "{image_path}/house.png"
|
|
5
|
+
[Charts.Displaced]
|
|
6
|
+
Name = "Displaced"
|
|
7
|
+
Image = "{image_path}/house.png"
|
|
8
|
+
|
|
9
|
+
[Categories]
|
|
10
|
+
[Categories.LowVulnerability]
|
|
11
|
+
Name = "LowVulnerability"
|
|
12
|
+
Color = "#D5DEE1"
|
|
13
|
+
[Categories.HighVulnerability]
|
|
14
|
+
Name = "HighVulnerability"
|
|
15
|
+
Color = "#88A2AA"
|
|
16
|
+
|
|
17
|
+
[Slices]
|
|
18
|
+
[Slices.Flooded_Low_Vulnerability_People]
|
|
19
|
+
Name = "Flooded low vulnerability homes"
|
|
20
|
+
Query = "FloodedLowVulnerability"
|
|
21
|
+
Chart = "Impacted"
|
|
22
|
+
Category = "LowVulnerability"
|
|
23
|
+
[Slices.Flooded_High_Vulnerability_People]
|
|
24
|
+
Name = "Flooded high vulnerability homes"
|
|
25
|
+
Query = "FloodedHighVulnerability"
|
|
26
|
+
Chart = "Impacted"
|
|
27
|
+
Category = "HighVulnerability"
|
|
28
|
+
[Slices.Displaced_Low_Vulnerability_People]
|
|
29
|
+
Name = "Displaced low vulnerability homes"
|
|
30
|
+
Query = "DisplacedLowVulnerability"
|
|
31
|
+
Chart = "Displaced"
|
|
32
|
+
Category = "LowVulnerability"
|
|
33
|
+
[Slices.Displaced_High_Vulnerability_People]
|
|
34
|
+
Name = "Displaced high vulnerability homes"
|
|
35
|
+
Query = "DisplacedHighVulnerability"
|
|
36
|
+
Chart = "Displaced"
|
|
37
|
+
Category = "HighVulnerability"
|
|
38
|
+
|
|
39
|
+
[Other]
|
|
40
|
+
[Other.Plot]
|
|
41
|
+
image_scale = 0.15
|
|
42
|
+
numbers_font = 20
|
|
43
|
+
height = 350
|
|
44
|
+
width = 600
|
|
45
|
+
[Other.Title]
|
|
46
|
+
text = "Homes"
|
|
47
|
+
font = 30
|
|
48
|
+
[Other.Subtitle]
|
|
49
|
+
font = 25
|
|
50
|
+
[Other.Legend]
|
|
51
|
+
font = 20
|
|
52
|
+
[Other.Info]
|
|
53
|
+
text="""Thresholds:<br>
|
|
54
|
+
Impacted: <= 6 feet<br>
|
|
55
|
+
Displaced: > 6 feet<br>"""
|
|
56
|
+
image="https://openclipart.org/image/800px/302413"
|
|
57
|
+
scale=0.1
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
[Charts]
|
|
2
|
+
[Charts.2Y]
|
|
3
|
+
Name = "2Y"
|
|
4
|
+
Image = "{image_path}/house.png"
|
|
5
|
+
[Charts.5Y]
|
|
6
|
+
Name = "5Y"
|
|
7
|
+
Image = "{image_path}/house.png"
|
|
8
|
+
[Charts.10Y]
|
|
9
|
+
Name = "10Y"
|
|
10
|
+
Image = "{image_path}/house.png"
|
|
11
|
+
[Charts.25Y]
|
|
12
|
+
Name = "25Y"
|
|
13
|
+
Image = "{image_path}/house.png"
|
|
14
|
+
[Charts.50Y]
|
|
15
|
+
Name = "50Y"
|
|
16
|
+
Image = "{image_path}/house.png"
|
|
17
|
+
[Charts.100Y]
|
|
18
|
+
Name = "100Y"
|
|
19
|
+
Image = "{image_path}/house.png"
|
|
20
|
+
|
|
21
|
+
[Categories]
|
|
22
|
+
[Categories.LowVulnerability]
|
|
23
|
+
Name = "LowVulnerability"
|
|
24
|
+
Color = "#D5DEE1"
|
|
25
|
+
[Categories.HighVulnerability]
|
|
26
|
+
Name = "HighVulnerability"
|
|
27
|
+
Color = "#88A2AA"
|
|
28
|
+
|
|
29
|
+
[Slices]
|
|
30
|
+
[Slices.Low_Vulnerability_2Y]
|
|
31
|
+
Name = "2Y Low Vulnerability"
|
|
32
|
+
Query = "ImpactedHomes2YLowSVI"
|
|
33
|
+
Chart = "2Y"
|
|
34
|
+
Category = "LowVulnerability"
|
|
35
|
+
[Slices.High_Vulnerability_2Y]
|
|
36
|
+
Name = "2Y High Vulnerability"
|
|
37
|
+
Query = "ImpactedHomes2YHighSVI"
|
|
38
|
+
Chart = "2Y"
|
|
39
|
+
Category = "HighVulnerability"
|
|
40
|
+
[Slices.Low_Vulnerability_5Y]
|
|
41
|
+
Name = "5Y Low Vulnerability"
|
|
42
|
+
Query = "ImpactedHomes5YLowSVI"
|
|
43
|
+
Chart = "5Y"
|
|
44
|
+
Category = "LowVulnerability"
|
|
45
|
+
[Slices.High_Vulnerability_5Y]
|
|
46
|
+
Name = "5Y High Vulnerability"
|
|
47
|
+
Query = "ImpactedHomes5YHighSVI"
|
|
48
|
+
Chart = "5Y"
|
|
49
|
+
Category = "HighVulnerability"
|
|
50
|
+
[Slices.Low_Vulnerability_10Y]
|
|
51
|
+
Name = "10Y Low Vulnerability"
|
|
52
|
+
Query = "ImpactedHomes10YLowSVI"
|
|
53
|
+
Chart = "10Y"
|
|
54
|
+
Category = "LowVulnerability"
|
|
55
|
+
[Slices.High_Vulnerability_10Y]
|
|
56
|
+
Name = "10Y High Vulnerability"
|
|
57
|
+
Query = "ImpactedHomes10YHighSVI"
|
|
58
|
+
Chart = "10Y"
|
|
59
|
+
Category = "HighVulnerability"
|
|
60
|
+
[Slices.Low_Vulnerability_25Y]
|
|
61
|
+
Name = "25Y Low Vulnerability"
|
|
62
|
+
Query = "ImpactedHomes25YLowSVI"
|
|
63
|
+
Chart = "25Y"
|
|
64
|
+
Category = "LowVulnerability"
|
|
65
|
+
[Slices.High_Vulnerability_25Y]
|
|
66
|
+
Name = "25Y High Vulnerability"
|
|
67
|
+
Query = "ImpactedHomes25YHighSVI"
|
|
68
|
+
Chart = "25Y"
|
|
69
|
+
Category = "HighVulnerability"
|
|
70
|
+
[Slices.Low_Vulnerability_50Y]
|
|
71
|
+
Name = "50Y Low Vulnerability"
|
|
72
|
+
Query = "ImpactedHomes50YLowSVI"
|
|
73
|
+
Chart = "50Y"
|
|
74
|
+
Category = "LowVulnerability"
|
|
75
|
+
[Slices.High_Vulnerability_50Y]
|
|
76
|
+
Name = "50Y High Vulnerability"
|
|
77
|
+
Query = "ImpactedHomes50YHighSVI"
|
|
78
|
+
Chart = "50Y"
|
|
79
|
+
Category = "HighVulnerability"
|
|
80
|
+
[Slices.Low_Vulnerability_100Y]
|
|
81
|
+
Name = "100Y Low Vulnerability"
|
|
82
|
+
Query = "ImpactedHomes100YLowSVI"
|
|
83
|
+
Chart = "100Y"
|
|
84
|
+
Category = "LowVulnerability"
|
|
85
|
+
[Slices.High_Vulnerability_100Y]
|
|
86
|
+
Name = "100Y High Vulnerability"
|
|
87
|
+
Query = "ImpactedHomes100YHighSVI"
|
|
88
|
+
Chart = "100Y"
|
|
89
|
+
Category = "HighVulnerability"
|
|
90
|
+
|
|
91
|
+
[Other]
|
|
92
|
+
[Other.Expected_Damages]
|
|
93
|
+
title = "Expected annual damages"
|
|
94
|
+
image = "{image_path}/money.png"
|
|
95
|
+
image_scale = 1.3
|
|
96
|
+
title_font_size = 25
|
|
97
|
+
numbers_font_size = 20
|
|
98
|
+
height = 300
|
|
99
|
+
|
|
100
|
+
[Other.Flooded]
|
|
101
|
+
title = "Number of homes with a high chance of being flooded in a 30-year period"
|
|
102
|
+
image = "{image_path}/house.png"
|
|
103
|
+
image_scale = 0.7
|
|
104
|
+
title_font_size = 25
|
|
105
|
+
numbers_font_size = 20
|
|
106
|
+
height = 300
|
|
107
|
+
|
|
108
|
+
[Other.Return_Periods]
|
|
109
|
+
title = "Buildings impacted"
|
|
110
|
+
font_size = 25
|
|
111
|
+
image_scale = 0.2
|
|
112
|
+
numbers_font = 15
|
|
113
|
+
subtitle_font = 22
|
|
114
|
+
legend_font = 20
|
|
115
|
+
plot_height = 300
|
|
116
|
+
|
|
117
|
+
[Other.Info]
|
|
118
|
+
text="""Thresholds:<br>
|
|
119
|
+
Impacted: >= 0.25 feet<br>"""
|
|
120
|
+
image="https://openclipart.org/image/800px/302413"
|
|
121
|
+
scale=0.1
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[Charts]
|
|
2
|
+
[Charts.Flooded_roads]
|
|
3
|
+
Name = "Flooded Roads"
|
|
4
|
+
|
|
5
|
+
[Categories]
|
|
6
|
+
[Categories.Slightly_Flooded]
|
|
7
|
+
Name = "Slightly Flooded"
|
|
8
|
+
Color = "#D5DEE1"
|
|
9
|
+
Image = "{image_path}/walking_person.png"
|
|
10
|
+
[Categories.Minor_Flooded]
|
|
11
|
+
Name = "Minor Flooded"
|
|
12
|
+
Color = "#88A2AA"
|
|
13
|
+
Image = "{image_path}/car.png"
|
|
14
|
+
[Categories.Major_Flooded]
|
|
15
|
+
Name = "Major Flooded"
|
|
16
|
+
Color = "#88A2AA"
|
|
17
|
+
Image = "{image_path}/truck.png"
|
|
18
|
+
[Categories.Fully_Flooded]
|
|
19
|
+
Name = "Fully Flooded"
|
|
20
|
+
Color = "#88A2AA"
|
|
21
|
+
Image = "{image_path}/ambulance.png"
|
|
22
|
+
|
|
23
|
+
[Slices]
|
|
24
|
+
[Slices.Slightly_Flooded]
|
|
25
|
+
Name = "Slightly Flooded"
|
|
26
|
+
Query = "SlightlyFloodedRoads"
|
|
27
|
+
Chart = "Flooded Roads"
|
|
28
|
+
Category = "Slightly Flooded"
|
|
29
|
+
[Slices.Minor_Flooded]
|
|
30
|
+
Name = "Minor Flooded"
|
|
31
|
+
Query = "MinorFloodedRoads"
|
|
32
|
+
Chart = "Flooded Roads"
|
|
33
|
+
Category = "Minor Flooded"
|
|
34
|
+
[Slices.Major_Flooded]
|
|
35
|
+
Name = "Major Flooded"
|
|
36
|
+
Query = "MajorFloodedRoads"
|
|
37
|
+
Chart = "Flooded Roads"
|
|
38
|
+
Category = "Major Flooded"
|
|
39
|
+
[Slices.Fully_Flooded]
|
|
40
|
+
Name = "Fully Flooded"
|
|
41
|
+
Query = "FullyFloodedRoads"
|
|
42
|
+
Chart = "Flooded Roads"
|
|
43
|
+
Category = "Fully Flooded"
|
|
44
|
+
|
|
45
|
+
[Other]
|
|
46
|
+
[Other.Plot]
|
|
47
|
+
image_scale = 0.1
|
|
48
|
+
numbers_font = 20
|
|
49
|
+
height = 350
|
|
50
|
+
width = 600
|
|
51
|
+
[Other.Title]
|
|
52
|
+
text = "Interrupted roads"
|
|
53
|
+
font = 30
|
|
54
|
+
[Other.Subtitle]
|
|
55
|
+
font = 25
|
|
56
|
+
[Other.Y_axis_title]
|
|
57
|
+
text = "Kilometers of interruption"
|
|
58
|
+
[Other.Info]
|
|
59
|
+
text="""Thresholds:<br>
|
|
60
|
+
Pedestrians: 0.05 m<br>
|
|
61
|
+
Cars: 0.10 m<br>
|
|
62
|
+
Trucks: 0.25 m<br>
|
|
63
|
+
Rescue vehicles: 0.40 m"""
|
|
64
|
+
image="{image_path}/info.png"
|
|
65
|
+
scale=0.1
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
* {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
html, body {
|
|
6
|
+
height: 10%;
|
|
7
|
+
margin: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.container {
|
|
11
|
+
height: 10vmin;
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
14
|
+
grid-template-rows: 1fr 1fr;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.top-half {
|
|
18
|
+
grid-column-start: 1;
|
|
19
|
+
grid-column-end: span 4;
|
|
20
|
+
grid-row-start: 1;
|
|
21
|
+
grid-row-end: span 1;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
display: block;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.bottom-left{
|
|
28
|
+
grid-column-start: 1;
|
|
29
|
+
grid-column-end: span 2;
|
|
30
|
+
grid-row-start: 2;
|
|
31
|
+
grid-row-end: span 1;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.bottom-right{
|
|
38
|
+
grid-column-start: 3;
|
|
39
|
+
grid-column-end: span 2;
|
|
40
|
+
grid-row-start: 2;
|
|
41
|
+
grid-row-end: span 1;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
[Charts]
|
|
2
|
+
[Charts.Homes]
|
|
3
|
+
Name = "Homes"
|
|
4
|
+
Image = "{image_path}/house.png"
|
|
5
|
+
[Charts.Businesses]
|
|
6
|
+
Name = "Businesses"
|
|
7
|
+
Image = "{image_path}/cart.png"
|
|
8
|
+
[Charts.Health]
|
|
9
|
+
Name = "Health facilities"
|
|
10
|
+
Image = "{image_path}/hospital.png"
|
|
11
|
+
[Charts.Schools]
|
|
12
|
+
Name = "Schools"
|
|
13
|
+
Image = "{image_path}/school.png"
|
|
14
|
+
[Charts.Emergency]
|
|
15
|
+
Name = "Emergency facilities"
|
|
16
|
+
Image = "{image_path}/firetruck.png"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
[Categories]
|
|
20
|
+
[Categories.Minor]
|
|
21
|
+
Name = "Minor"
|
|
22
|
+
Color = "#ffa500"
|
|
23
|
+
[Categories.Major]
|
|
24
|
+
Name = "Major"
|
|
25
|
+
Color = "#ff0000"
|
|
26
|
+
[Categories.Destroyed]
|
|
27
|
+
Name = "Destroyed"
|
|
28
|
+
Color = "#000000"
|
|
29
|
+
|
|
30
|
+
[Slices]
|
|
31
|
+
[Slices.Minor_Homes]
|
|
32
|
+
Name = "Minor Homes"
|
|
33
|
+
Query = "ResidentialMinorCount"
|
|
34
|
+
Chart = "Homes"
|
|
35
|
+
Category = "Minor"
|
|
36
|
+
[Slices.Major_Homes]
|
|
37
|
+
Name = "Major Homes"
|
|
38
|
+
Query = "ResidentialMajorCount"
|
|
39
|
+
Chart = "Homes"
|
|
40
|
+
Category = "Major"
|
|
41
|
+
[Slices.Destroyed_Homes]
|
|
42
|
+
Name = "Destroyed Homes"
|
|
43
|
+
Query = "ResidentialDestroyedCount"
|
|
44
|
+
Chart = "Homes"
|
|
45
|
+
Category = "Destroyed"
|
|
46
|
+
[Slices.Minor_Businesses]
|
|
47
|
+
Name = "Minor Businesses"
|
|
48
|
+
Query = "CommercialMinorCount"
|
|
49
|
+
Chart = "Businesses"
|
|
50
|
+
Category = "Minor"
|
|
51
|
+
[Slices.Major_Businesses]
|
|
52
|
+
Name = "Major Businesses"
|
|
53
|
+
Query = "CommercialMajorCount"
|
|
54
|
+
Chart = "Businesses"
|
|
55
|
+
Category = "Major"
|
|
56
|
+
[Slices.Destroyed_Businesses]
|
|
57
|
+
Name = "Destroyed Businesses"
|
|
58
|
+
Query = "CommercialDestroyedCount"
|
|
59
|
+
Chart = "Businesses"
|
|
60
|
+
Category = "Destroyed"
|
|
61
|
+
[Slices.Minor_Health]
|
|
62
|
+
Name = "Minor Health"
|
|
63
|
+
Query = "HealthMinorCount"
|
|
64
|
+
Chart = "Health facilities"
|
|
65
|
+
Category = "Minor"
|
|
66
|
+
[Slices.Major_Health]
|
|
67
|
+
Name = "Major Health"
|
|
68
|
+
Query = "HealthMajorCount"
|
|
69
|
+
Chart = "Health facilities"
|
|
70
|
+
Category = "Major"
|
|
71
|
+
[Slices.Destroyed_Health]
|
|
72
|
+
Name = "Destroyed Health"
|
|
73
|
+
Query = "HealthDestroyedCount"
|
|
74
|
+
Chart = "Health facilities"
|
|
75
|
+
Category = "Destroyed"
|
|
76
|
+
[Slices.Minor_Schools]
|
|
77
|
+
Name = "Minor Schools"
|
|
78
|
+
Query = "SchoolsMinorCount"
|
|
79
|
+
Chart = "Schools"
|
|
80
|
+
Category = "Minor"
|
|
81
|
+
[Slices.Major_Schools]
|
|
82
|
+
Name = "Major Schools"
|
|
83
|
+
Query = "SchoolsMajorCount"
|
|
84
|
+
Chart = "Schools"
|
|
85
|
+
Category = "Major"
|
|
86
|
+
[Slices.Destroyed_Schools]
|
|
87
|
+
Name = "Destroyed Schools"
|
|
88
|
+
Query = "SchoolsDestroyedCount"
|
|
89
|
+
Chart = "Schools"
|
|
90
|
+
Category = "Destroyed"
|
|
91
|
+
[Slices.Minor_Emergency]
|
|
92
|
+
Name = "Minor Emergency"
|
|
93
|
+
Query = "EmergencyMinorCount"
|
|
94
|
+
Chart = "Emergency facilities"
|
|
95
|
+
Category = "Minor"
|
|
96
|
+
[Slices.Major_Emergency]
|
|
97
|
+
Name = "Major Emergency"
|
|
98
|
+
Query = "EmergencyMajorCount"
|
|
99
|
+
Chart = "Emergency facilities"
|
|
100
|
+
Category = "Major"
|
|
101
|
+
[Slices.Destroyed_Emergency]
|
|
102
|
+
Name = "Destroyed Emergency"
|
|
103
|
+
Query = "EmergencyDestroyedCount"
|
|
104
|
+
Chart = "Emergency facilities"
|
|
105
|
+
Category = "Destroyed"
|
|
106
|
+
|
|
107
|
+
[Other]
|
|
108
|
+
[Other.Plot]
|
|
109
|
+
image_scale = 0.15
|
|
110
|
+
numbers_font = 20
|
|
111
|
+
height = 350
|
|
112
|
+
width = 1200
|
|
113
|
+
[Other.Title]
|
|
114
|
+
text = "Building damage"
|
|
115
|
+
font = 30
|
|
116
|
+
[Other.Subtitle]
|
|
117
|
+
font = 25
|
|
118
|
+
[Other.Legend]
|
|
119
|
+
font = 20
|
|
120
|
+
[Other.Info]
|
|
121
|
+
text="""Thresholds:<br>
|
|
122
|
+
Minor: <= 1 feet<br>
|
|
123
|
+
Major: > 1 and <= 6 feet<br>
|
|
124
|
+
Destroyed: > 6 feet<br>"""
|
|
125
|
+
image="https://openclipart.org/image/800px/302413"
|
|
126
|
+
scale=0.1
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
[Charts]
|
|
2
|
+
[Charts.Impacted]
|
|
3
|
+
Name = "Impacted"
|
|
4
|
+
Image = "{image_path}/house.png"
|
|
5
|
+
[Charts.Displaced]
|
|
6
|
+
Name = "Displaced"
|
|
7
|
+
Image = "{image_path}/house.png"
|
|
8
|
+
|
|
9
|
+
[Categories]
|
|
10
|
+
[Categories.LowVulnerability]
|
|
11
|
+
Name = "LowVulnerability"
|
|
12
|
+
Color = "#D5DEE1"
|
|
13
|
+
[Categories.HighVulnerability]
|
|
14
|
+
Name = "HighVulnerability"
|
|
15
|
+
Color = "#88A2AA"
|
|
16
|
+
|
|
17
|
+
[Slices]
|
|
18
|
+
[Slices.Flooded_Low_Vulnerability_People]
|
|
19
|
+
Name = "Flooded low vulnerability homes"
|
|
20
|
+
Query = "FloodedLowVulnerability"
|
|
21
|
+
Chart = "Impacted"
|
|
22
|
+
Category = "LowVulnerability"
|
|
23
|
+
[Slices.Flooded_High_Vulnerability_People]
|
|
24
|
+
Name = "Flooded high vulnerability homes"
|
|
25
|
+
Query = "FloodedHighVulnerability"
|
|
26
|
+
Chart = "Impacted"
|
|
27
|
+
Category = "HighVulnerability"
|
|
28
|
+
[Slices.Displaced_Low_Vulnerability_People]
|
|
29
|
+
Name = "Displaced low vulnerability homes"
|
|
30
|
+
Query = "DisplacedLowVulnerability"
|
|
31
|
+
Chart = "Displaced"
|
|
32
|
+
Category = "LowVulnerability"
|
|
33
|
+
[Slices.Displaced_High_Vulnerability_People]
|
|
34
|
+
Name = "Displaced high vulnerability homes"
|
|
35
|
+
Query = "DisplacedHighVulnerability"
|
|
36
|
+
Chart = "Displaced"
|
|
37
|
+
Category = "HighVulnerability"
|
|
38
|
+
|
|
39
|
+
[Other]
|
|
40
|
+
[Other.Plot]
|
|
41
|
+
image_scale = 0.15
|
|
42
|
+
numbers_font = 20
|
|
43
|
+
height = 350
|
|
44
|
+
width = 600
|
|
45
|
+
[Other.Title]
|
|
46
|
+
text = "Homes"
|
|
47
|
+
font = 30
|
|
48
|
+
[Other.Subtitle]
|
|
49
|
+
font = 25
|
|
50
|
+
[Other.Legend]
|
|
51
|
+
font = 20
|
|
52
|
+
[Other.Info]
|
|
53
|
+
text="""Thresholds:<br>
|
|
54
|
+
Impacted: <= 6 feet<br>
|
|
55
|
+
Displaced: > 6 feet<br>
|
|
56
|
+
'Since some homes do not have an SVI,<br>
|
|
57
|
+
total number of homes might be different <br>
|
|
58
|
+
between this and the above graph.'"""
|
|
59
|
+
image="https://openclipart.org/image/800px/302413"
|
|
60
|
+
scale=0.1
|