flood-adapt 0.3.13__py3-none-any.whl → 0.3.15__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 CHANGED
@@ -1,5 +1,5 @@
1
1
  # has to be here at the start to avoid circular imports
2
- __version__ = "0.3.13"
2
+ __version__ = "0.3.15"
3
3
 
4
4
  from flood_adapt import adapter, database_builder, dbs_classes, objects
5
5
  from flood_adapt.config.config import Settings
@@ -888,7 +888,8 @@ class FiatAdapter(IImpactAdapter):
888
888
  )
889
889
  new_dev_geom = new_dev_geom.to_crs(self.model.exposure.crs)
890
890
  # Replace file with the reprojected one
891
- new_dev_geom.to_file(area_path, driver="GPKG", mode="w")
891
+ os.remove(area_path)
892
+ new_dev_geom.to_file(area_path)
892
893
  # Use hydromt function
893
894
  self.model.exposure.setup_new_composite_areas(
894
895
  percent_growth=population_growth,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: flood-adapt
3
- Version: 0.3.13
3
+ Version: 0.3.15
4
4
  Summary: A software package support system which can be used to assess the benefits and costs of flood resilience measures
5
5
  Author-email: Gundula Winter <Gundula.Winter@deltares.nl>, Panos Athanasiou <Panos.Athanasiou@deltares.nl>, Frederique de Groen <Frederique.deGroen@deltares.nl>, Tim de Wilde <Tim.deWilde@deltares.nl>, Julian Hofer <Julian.Hofer@deltares.nl>, Daley Adrichem <Daley.Adrichem@deltares.nl>, Luuk Blom <Luuk.Blom@deltares.nl>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -691,7 +691,7 @@ Requires-Dist: cht-observations==0.2.1
691
691
  Requires-Dist: cht-tide==0.1.1
692
692
  Requires-Dist: dask==2024.11.2
693
693
  Requires-Dist: numba_celltree==0.2.2
694
- Requires-Dist: fiat-toolbox==0.1.18
694
+ Requires-Dist: fiat-toolbox==0.1.20
695
695
  Requires-Dist: fiona<2.0,>=1.0
696
696
  Requires-Dist: geojson<4.0,>=3.0
697
697
  Requires-Dist: geopandas<2.0,>=1.0
@@ -1,7 +1,7 @@
1
- flood_adapt/__init__.py,sha256=_o0HF796SslLRvNHJwcrVMHtIr-z6uzMpcSX9RXInj0,819
1
+ flood_adapt/__init__.py,sha256=A2dDuu2A7-jl-sleKIRk-uWwXB0nCFFnJSZ5kl2V9e8,819
2
2
  flood_adapt/flood_adapt.py,sha256=szovzFyApBeT-XPMZ-GNsWH-ap63ejouP7hZZjadMVU,38364
3
3
  flood_adapt/adapter/__init__.py,sha256=UuiuVz5vKDoXnvBUMJ7Yybk0pjZkYLREgTA4G1Pzj8c,258
4
- flood_adapt/adapter/fiat_adapter.py,sha256=Lrj4avXNQrAcAw1Wmc6QJPJtRsl9DYzNnm8_fMDsHb8,60144
4
+ flood_adapt/adapter/fiat_adapter.py,sha256=UsCY2zUM_ihRb-606ZbUlgWCJOKaxgcm3Q3FbhbYQXQ,60149
5
5
  flood_adapt/adapter/sfincs_adapter.py,sha256=4Je6xd_6CWTQpqqvC8kB6QdCOiv0AD4WY5eFbCgJz74,79244
6
6
  flood_adapt/adapter/sfincs_offshore.py,sha256=QWJBD1ReQuVrQn3enyQeKR-YTHTQmGxzrLOjnOJkths,7486
7
7
  flood_adapt/adapter/interface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -132,8 +132,8 @@ flood_adapt/workflows/benefit_runner.py,sha256=VtYt0sHFymNyErpzOtuN55cKJGVm5hT2a
132
132
  flood_adapt/workflows/floodmap.py,sha256=8PMd9PBep4nkrOtavW_UXeLU15J7AZMk1QEonQxVNk0,3017
133
133
  flood_adapt/workflows/impacts_integrator.py,sha256=zPJrb3Fm6gXPCmlA3vMh-2nmIwH_DWGrJGS1BUDqHLU,2495
134
134
  flood_adapt/workflows/scenario_runner.py,sha256=o6x_p7oF0apmo6Zq-_4uBXVeL6saRJZlIX6lTCPN2Rc,2984
135
- flood_adapt-0.3.13.dist-info/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
136
- flood_adapt-0.3.13.dist-info/METADATA,sha256=1xQzURHQA-NHJ_1-1PHgvWzqTH7w3Fbx2oauHHG43e0,52578
137
- flood_adapt-0.3.13.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
138
- flood_adapt-0.3.13.dist-info/top_level.txt,sha256=JvzMi6cTcQPEThCfpgMEeVny3ghI1urSH0CCgVIqSzw,12
139
- flood_adapt-0.3.13.dist-info/RECORD,,
135
+ flood_adapt-0.3.15.dist-info/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
136
+ flood_adapt-0.3.15.dist-info/METADATA,sha256=HdtLFflfaUcaCQE7pDwFlYunlX5mCwwXhL2nNTS6XUQ,52578
137
+ flood_adapt-0.3.15.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
138
+ flood_adapt-0.3.15.dist-info/top_level.txt,sha256=JvzMi6cTcQPEThCfpgMEeVny3ghI1urSH0CCgVIqSzw,12
139
+ flood_adapt-0.3.15.dist-info/RECORD,,