hydromt_fiat.fiat.FiatModel.setup_vulnerability_from_csv#

FiatModel.setup_vulnerability_from_csv(vulnerability_curves: str | Path, vulnerability_identifiers_and_linking_fn: str, unit: str) None[source]#

Setup the vulnerability curves from one or multiple csv files.

Each vulnerability curve CSV file must contain the following columns: - waterdepth: The inundation depth, which should be in the same unit (meters or feet) for all curves. - factor: The factor of damage per water depth.

The linking file cv must contain the following columns: - Fiat Damage Function Name: The name of the vulnerability curve file. - Exposure Link: The primary or secondary object type in the exposure data to link the vulnerability curve. - Damage Type: The type of damage. This can be structural, content or any other damage the user would like to assess. - Type: This is the occupancy type and may be the same as in the Exposure Link column but can also be a more descriptive classification.

Parameters:
  • vulnerability_curves (str) – The full path to either the directory which holds the single vulnerability curves or a single csv file with the aggregated vulnerability curves.

  • vulnerability_identifiers_and_linking_fn (Union[str, Path]) – The (relative) path to the table that links the vulnerability functions and exposure categories.

  • unit (str) – The unit of the water depth column for all vulnerability functions (e.g. meter).