hydromt_delft3dfm.utils.read_structures#

hydromt_delft3dfm.utils.read_structures(branches: GeoDataFrame, fm_model: FMModel) GeoDataFrame[source]#

Read structures into hydrolib-core structures objects.

Returns structures geodataframe.

Will drop compound structures.

Parameters:
  • branches (geopandas.GeoDataFrame) – gdf containing the branches

  • fm_model (hydrolib.core FMModel) – DflowFM model object from hydrolib

Returns:

gdf_structures – geodataframe of the structures and data

Return type:

geopandas.GeoDataFrame