hydromt.gis.flw.outlet_map#
- hydromt.gis.flw.outlet_map(da_flw: DataArray, *, ftype: str = 'infer') DataArray [source]#
Return a mask of basin outlets/pits from a flow direction raster.
- Parameters:
da_flw (
xr.DataArray
) – Flow direction data arrayftype (
{'d8', 'ldd', 'nextxy', 'nextidx', 'infer'}
, optional) – name of flow direction type, infer from data if ‘infer’, by default is ‘infer’
- Returns:
da_basin – basin outlets/pits ID map
- Return type:
xarray.DataArray
ofint32