hydromt_delwaq.workflows.geometry.compute_geometry#

hydromt_delwaq.workflows.geometry.compute_geometry(ds: Dataset, mask: DataArray) ndarray[source]#

Compute geometry data for demission.

Parameters:
  • ds (xr.Dataset) –

    Dataset containing the geometry data.

    • Required variables: fraction of paved area “PathFrac”, fraction of open water

      ”WaterFrac”

  • mask (xr.DataArray) – Mask to select the gactive cells (segments) in ds.

Returns:

geometry – Array containing the geometry data.

Return type:

np.ndarray