hydromt_delft3dfm.utils.write_structures#

hydromt_delft3dfm.utils.write_structures(gdf: GeoDataFrame, savedir: str) str[source]#

write structures into hydrolib-core structures objects.

Will add compound structures.

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

  • savedir (str) – path to the directory where to save the file.

Returns:

structures_fn – relative path to structures file.

Return type:

str