Skip to content

Commit

Permalink
remove buggy code
Browse files Browse the repository at this point in the history
  • Loading branch information
Santonia27 committed Nov 14, 2024
1 parent 8752b7b commit f4d929f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions hydromt_fiat/fiat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,15 +1382,6 @@ def write_geoms(self):
f"exposure.geom.file{str(i+1)}",
fn.format(name=name),
)
# At the very last clip based on the region
if not self.region.empty:
idx = gpd.sjoin(
self.region.to_crs(geom.crs),
geom,
predicate="contains_properly",
how="inner",
).index_right
geom = geom.loc[idx]
geom.to_file(_fn)

if self.geoms:
Expand Down

0 comments on commit f4d929f

Please sign in to comment.