Skip to content

Commit

Permalink
ADD IF STATEMENT GFH CONVERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
Santonia27 committed Nov 20, 2024
1 parent 8bf6c4d commit efc8ba0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydromt_fiat/workflows/exposure_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,8 @@ def setup_ground_floor_height(
)

# Unit conversion
self.unit_conversion("Ground Floor Height", gfh_unit)
if gfh_unit:
self.unit_conversion("Ground Floor Height", gfh_unit)

if "geometry" in self.exposure_db.columns:
self.exposure_db.drop(columns=["geometry"], inplace=True)
Expand Down

0 comments on commit efc8ba0

Please sign in to comment.