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

Updating the main branch #71

Merged
merged 19 commits into from
May 2, 2023
Merged

Updating the main branch #71

merged 19 commits into from
May 2, 2023

Conversation

frederique-hub
Copy link
Contributor

Updates comprise of:

  • Changes in the Vulnerability class. The vulnerability functions are saved in Vulnerability.functions as a dictionary of the function name as keys and as values the fraction values as a list.
  • Added hazard_values as an attribute to the Vulnerability class, this variable is updated according to the added damage functions
  • Added an 'add' function in the Vulnerability class that adds new damage functions and updates the existing ones if the hazard values added are different from those already existing. This function interpolates and extrapolates the damage fraction values.
  • Added the truncate damage function option to flood proof buildings
  • Added other FloodAdapt integrator functionalities, i.e.: update_max_potential_damage, raise_ground_floor_height
  • Changed the way HydroMT FIAT writes the exposure and vulnerability files.
  • Changes of the Hazard Class should still be incorporated.

@frederique-hub frederique-hub requested a review from Mares2022 May 1, 2023 15:46
Copy link
Contributor

@Mares2022 Mares2022 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed

@Mares2022 Mares2022 merged commit 64fc05b into main May 2, 2023
@frederique-hub frederique-hub deleted the save_fiat_config branch May 3, 2023 10:01
panosatha pushed a commit that referenced this pull request Feb 8, 2024
* remove filter options in setup_aggregation_areas

* reverse commit

* remove overlap-error for aggregation_areas
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.

2 participants