hydromt_fiat.components.ExposureGeomsComponent.setup#

ExposureGeomsComponent.setup(exposure_fname: Path | str, exposure_type_column: str, *, exposure_link_fname: Path | str | None = None, exposure_type_fill: str | None = None) None[source]#

Set up the exposure from a data source.

Will link with the vulnerability data to set a curve for each exposure type.

Warning

Run setup_vulnerability beforehand (see vulnerability component).

Parameters:
  • exposure_fname (Path | str) – The name of/ path to the raw exposure dataset.

  • exposure_type_column (str) – The name of column in the raw dataset that specifies the object type, e.g. the occupancy type.

  • exposure_link_fname (Path | str | None, optional) – The name of/ path to the dataset containing the mapping of the exposure types to the vulnerability data, by default None.

  • exposure_type_fill (str, optional) – Value to which missing entries in the exposure type column will be mapped to, if provided. By default None.