-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to newest Delft version and setup impacted population (#406)
* start to setup a method to add affected population * fix method name impacted pop * add code to provide one file for occupancy and asset location * add docstring * fix self.get_geodataframe * fix asset location * add handling for multipolygons * write exposure geopackage * Update hydromt fiat exposure output names (#403) * make variable names compatible with new Delft Fiat version * add gfh attribute to setup exposure buildings * update primary and secondary classification * add docstring, add ground elevation unit, fix naming structure content * setup populatoin remove geometry * remove capitalized * update gis * uncomment zonal means * revert code * name fix ground_elevtn * bugfix setup occupancy condition warning message. Add condition for gorund elevation unit * clip exposure when setup hazard to hazard bounds. Add fn affected people step function * replace max_damage with max_damages * fix fn_damage_{ to fn_damages_{ * bugfix object_id and Object ID * remove method=nearest * add again method nearest just so it can run. need fixing * remove method nearest * revert to original (main) * remove bug write geoms * add additional/aggregation attributes to read geoms * add aggregation and additional attributes to read() * remove # * revert old naming from merge of main to new naming * #if isinstance(asset_locations, str): * ead spatial joints incl bf * ADD IF STATEMENT GFH CONVERSION * get_full_gdf if-statement for old and new model object id (temporary) * update damages to damage * update damages to damage * bugfix Object ID and object_id transition code * update geometry files Object ID to object_id * update notebooks * fix tests * fix tests * fox road network notebook * replace Max Potential Damage * replace Max Potential Damage * refactor multipolygon function * snakecase segment_length
- Loading branch information
1 parent
bc7330f
commit 18a2e66
Showing
108 changed files
with
15,568 additions
and
14,911 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+8 KB
(100%)
examples/data/aggregation_zones/fiat_model/exposure/buildings.gpkg
Binary file not shown.
1,000 changes: 500 additions & 500 deletions
1,000
examples/data/aggregation_zones/fiat_model/exposure/exposure.csv
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...es/data/aggregation_zones/fiat_model/output/aggregation_zones_test1/exposure/exposure.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/data/aggregation_zones/fiat_model/output/aggregation_zones_test2/exposure/exposure.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+8 KB
(100%)
examples/data/aggregation_zones/fiat_model_aggregation1/exposure/buildings.gpkg
Binary file not shown.
Binary file added
BIN
+692 KB
...ples/data/aggregation_zones/fiat_model_aggregation1/exposure/buildings_full_exposure.gpkg
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.