Skip to content

Commit

Permalink
Merge pull request #131 from Deltares/correct_risk_mapping
Browse files Browse the repository at this point in the history
changed back to working version
  • Loading branch information
panosatha authored Sep 14, 2023
2 parents 6cc1093 + 5a03a21 commit c0e1a36
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hydromt_fiat/fiat.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,13 @@ def read_geoms(self):
for f in exposure_files
]
self.exposure.read_geoms(exposure_fn)

exposure_names = [f.stem for f in exposure_fn]
for name, geom in zip(exposure_names, self.exposure.exposure_geoms):
self.set_geoms(
geom=geom,
name=name,
)

def write(self):
"""Method to write the complete model schematization and configuration to file."""
Expand Down

0 comments on commit c0e1a36

Please sign in to comment.