Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hydromt fiat exposure output names #403

Merged

Conversation

Santonia27
Copy link
Collaborator

No description provided.

@Santonia27 Santonia27 merged commit 562f6d6 into setup_impacted_population Oct 24, 2024
@Santonia27 Santonia27 deleted the update_hydromt_fiat_exposure_output_names branch October 24, 2024 12:47
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

Santonia27 added a commit that referenced this pull request Dec 12, 2024
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant