Skip to content

Commit

Permalink
remove country as exposurevector input
Browse files Browse the repository at this point in the history
  • Loading branch information
Santonia27 committed Nov 20, 2024
1 parent 174f6a1 commit 8c99569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions hydromt_fiat/api/exposure_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ def set_asset_locations_source_and_get_data(
region=region,
crs=crs,
length_unit=Units.feet.value,
country="United States",
)

self.exposure.setup_buildings_from_single_source(
source,
ground_floor_height,
Expand Down Expand Up @@ -122,8 +121,8 @@ def set_asset_locations_source_and_get_data(
region=region,
crs=crs,
length_unit=Units.meters.value,
country=country,
)
)

self.exposure.setup_buildings_from_multiple_sources(
asset_locations=source,
occupancy_source=source,
Expand Down
1 change: 0 additions & 1 deletion hydromt_fiat/workflows/exposure_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def __init__(
region: gpd.GeoDataFrame = None,
crs: str = None,
length_unit: Units = Units.feet.value,
country: str = None,
damage_unit=Currency.dollar.value,
) -> None:
"""Transforms data into Vector Exposure data for Delft-FIAT.
Expand Down

0 comments on commit 8c99569

Please sign in to comment.