Skip to content

Commit

Permalink
Update geospatial_utilities.py
Browse files Browse the repository at this point in the history
make float
  • Loading branch information
Dobson committed Apr 29, 2024
1 parent 725bcfe commit 85f6959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swmmanywhere/geospatial_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def derive_rc(subcatchments: gpd.GeoDataFrame,
)

# Store as impervious area in subcatchments
subcatchments["impervious_area"] = 0
subcatchments["impervious_area"] = 0.0
subcatchments.loc[areas.index, "impervious_area"] = areas
subcatchments["rc"] = subcatchments["impervious_area"] / \
subcatchments.geometry.area * 100
Expand Down

0 comments on commit 85f6959

Please sign in to comment.