flood-adapt 1.0.4__py3-none-any.whl → 1.1.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.
Files changed (45) hide show
  1. flood_adapt/__init__.py +2 -3
  2. flood_adapt/adapter/fiat_adapter.py +8 -3
  3. flood_adapt/adapter/sfincs_adapter.py +2 -2
  4. flood_adapt/adapter/sfincs_offshore.py +1 -1
  5. flood_adapt/config/fiat.py +1 -1
  6. flood_adapt/config/gui.py +185 -8
  7. flood_adapt/database_builder/database_builder.py +155 -129
  8. flood_adapt/database_builder/metrics_utils.py +1834 -0
  9. flood_adapt/dbs_classes/database.py +23 -28
  10. flood_adapt/dbs_classes/dbs_benefit.py +0 -26
  11. flood_adapt/dbs_classes/dbs_event.py +2 -2
  12. flood_adapt/dbs_classes/dbs_measure.py +2 -2
  13. flood_adapt/dbs_classes/dbs_scenario.py +0 -24
  14. flood_adapt/dbs_classes/dbs_static.py +4 -4
  15. flood_adapt/dbs_classes/dbs_strategy.py +2 -4
  16. flood_adapt/dbs_classes/dbs_template.py +65 -25
  17. flood_adapt/flood_adapt.py +63 -12
  18. flood_adapt/misc/exceptions.py +43 -6
  19. {flood_adapt-1.0.4.dist-info → flood_adapt-1.1.0.dist-info}/METADATA +3 -3
  20. {flood_adapt-1.0.4.dist-info → flood_adapt-1.1.0.dist-info}/RECORD +24 -44
  21. flood_adapt/database_builder/templates/infographics/OSM/config_charts.toml +0 -90
  22. flood_adapt/database_builder/templates/infographics/OSM/config_people.toml +0 -57
  23. flood_adapt/database_builder/templates/infographics/OSM/config_risk_charts.toml +0 -121
  24. flood_adapt/database_builder/templates/infographics/OSM/config_roads.toml +0 -65
  25. flood_adapt/database_builder/templates/infographics/US_NSI/config_charts.toml +0 -126
  26. flood_adapt/database_builder/templates/infographics/US_NSI/config_people.toml +0 -60
  27. flood_adapt/database_builder/templates/infographics/US_NSI/config_risk_charts.toml +0 -121
  28. flood_adapt/database_builder/templates/infographics/US_NSI/config_roads.toml +0 -65
  29. flood_adapt/database_builder/templates/infographics/US_NSI/styles.css +0 -45
  30. flood_adapt/database_builder/templates/infometrics/OSM/metrics_additional_risk_configs.toml +0 -4
  31. flood_adapt/database_builder/templates/infometrics/OSM/with_SVI/infographic_metrics_config.toml +0 -143
  32. flood_adapt/database_builder/templates/infometrics/OSM/with_SVI/infographic_metrics_config_risk.toml +0 -153
  33. flood_adapt/database_builder/templates/infometrics/OSM/without_SVI/infographic_metrics_config.toml +0 -127
  34. flood_adapt/database_builder/templates/infometrics/OSM/without_SVI/infographic_metrics_config_risk.toml +0 -57
  35. flood_adapt/database_builder/templates/infometrics/US_NSI/metrics_additional_risk_configs.toml +0 -4
  36. flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config.toml +0 -191
  37. flood_adapt/database_builder/templates/infometrics/US_NSI/with_SVI/infographic_metrics_config_risk.toml +0 -153
  38. flood_adapt/database_builder/templates/infometrics/US_NSI/without_SVI/infographic_metrics_config.toml +0 -178
  39. flood_adapt/database_builder/templates/infometrics/US_NSI/without_SVI/infographic_metrics_config_risk.toml +0 -57
  40. flood_adapt/database_builder/templates/infometrics/mandatory_metrics_config.toml +0 -9
  41. flood_adapt/database_builder/templates/infometrics/mandatory_metrics_config_risk.toml +0 -65
  42. /flood_adapt/database_builder/templates/infographics/{OSM/styles.css → styles.css} +0 -0
  43. {flood_adapt-1.0.4.dist-info → flood_adapt-1.1.0.dist-info}/LICENSE +0 -0
  44. {flood_adapt-1.0.4.dist-info → flood_adapt-1.1.0.dist-info}/WHEEL +0 -0
  45. {flood_adapt-1.0.4.dist-info → flood_adapt-1.1.0.dist-info}/top_level.txt +0 -0
@@ -1,65 +0,0 @@
1
- aggregateBy = []
2
-
3
- [[queries]]
4
- name = "ExpectedAnnualDamages"
5
- description = "Expected annual damages"
6
- select = "SUM(`Risk (EAD)`)"
7
- filter = ""
8
- long_name = "Expected Annual Damages"
9
- show_in_metrics_table = "True"
10
-
11
- [[queries]]
12
- name = "TotalDamageRP1"
13
- description = "Total damage with return period of 1 years"
14
- select = "SUM(`Total Damage (1Y)`)"
15
- filter = ""
16
- long_name = "Total Damage (RP 1)"
17
- show_in_metrics_table = "True"
18
-
19
- [[queries]]
20
- name = "TotalDamageRP2"
21
- description = "Total damage with return period of 2 years"
22
- select = "SUM(`Total Damage (2Y)`)"
23
- filter = ""
24
- long_name = "Total Damage (RP 2)"
25
- show_in_metrics_table = "True"
26
-
27
- [[queries]]
28
- name = "TotalDamageRP5"
29
- description = "Total damage with return period of 5 years"
30
- select = "SUM(`Total Damage (5Y)`)"
31
- filter = ""
32
- long_name = "Total Damage (RP 5)"
33
- show_in_metrics_table = "True"
34
-
35
- [[queries]]
36
- name = "TotalDamageRP10"
37
- description = "Total damage with return period of 10 years"
38
- select = "SUM(`Total Damage (10Y)`)"
39
- filter = ""
40
- long_name = "Total Damage (RP 10)"
41
- show_in_metrics_table = "True"
42
-
43
- [[queries]]
44
- name = "TotalDamageRP25"
45
- description = "Total damage with return period of 25 years"
46
- select = "SUM(`Total Damage (25Y)`)"
47
- filter = ""
48
- long_name = "Total Damage (RP 25)"
49
- show_in_metrics_table = "True"
50
-
51
- [[queries]]
52
- name = "TotalDamageRP50"
53
- description = "Total damage with return period of 50 years"
54
- select = "SUM(`Total Damage (50Y)`)"
55
- filter = ""
56
- long_name = "Total Damage (RP 50)"
57
- show_in_metrics_table = "True"
58
-
59
- [[queries]]
60
- name = "TotalDamageRP100"
61
- description = "Total damage with return period of 100 years"
62
- select = "SUM(`Total Damage (100Y)`)"
63
- filter = ""
64
- long_name = "Total Damage (RP 100)"
65
- show_in_metrics_table = "True"