hydromt_fiat.components.ExposureGeomsComponent.setup_max_damage#

ExposureGeomsComponent.setup_max_damage(exposure_name: str, exposure_type: str, exposure_cost_table_fname: Path | str, exposure_cost_link_fname: Path | str | None = None, **select: dict[str, Any]) None[source]#

Set up the maximum potential damage per object in an existing dataset.

Warning

Run setup_vulnerability beforehand (see vulnerability component).

Parameters:
  • exposure_name (str) – The name of the existing dataset.

  • exposure_type (str) – Type of exposure corresponding with the vulnerability data, e.g. ‘damage’.

  • exposure_cost_table_fname (Path | str) – The name of/ path to the mapping of the costs per subtype of the exposure type, e.g. ‘residential_structure’ or ‘residential_content’.

  • exposure_cost_link_fname (Path | str, optional) – A linking table to like the present object type with the identifiers defined in the cost table. If None, it is assumed the present object type matches the identifiers in the cost table. By default None.

  • **select (dict) – Keyword arguments used to select data from the exposure cost table. E.g. a column is present named ‘country’ and the wanted values are in the row with ‘UK’, provided country=’UK’ as keyword argument.