hydromt_delft3dfm.utils.write_branches_gui#
- hydromt_delft3dfm.utils.write_branches_gui(gdf: GeoDataFrame, savedir: str) str [source]#
write branches.gui file from branches geodataframe.
- Parameters:
gdf (geopandas.GeoDataFrame) – gdf containing the branches
savedir (str) – path to the directory where to save the file.
manholes (geopandas.GeoDataFrame, optional) – If exists add manholes attributes
- Returns:
branchgui_fn (str) – relative filepath to branches_gui file.
#TODO (branches.gui is written with a [general] section which is not recongnised by)
GUI. Improvement of the GUI is needed.
#TODO (branches.gui has a column is custumised length written as bool, which is not)
recongnised by GUI. improvement of the hydrolib-core writer is needed.