hydromt_delft3dfm.mesh_utils.mesh1d_network1d_from_hydrolib_network#

hydromt_delft3dfm.mesh_utils.mesh1d_network1d_from_hydrolib_network(network: Network, crs: CRS) Tuple[UgridDataset, UgridDataset][source]#

Create xugrid mesh1d and network1d UgridDataset from hydrolib-core network object.

Parameters:
  • network (Network) – Network hydrolib-core object.

  • crs (pyproj.CRS) – Coordinate reference system of the network.

Returns:

  • uds_mesh1d (xu.UgridDataset) – Mesh1d UgridDataset.

  • uds_network1d (xu.UgridDataset) – Network1d UgridDataset.