pyflwdir.FlwdirRaster.ucat_outlets#

FlwdirRaster.ucat_outlets(cellsize, uparea=None, method='eam_plus')[source]#

Returns linear indices of unit catchment outlet pixel.

For more information about the methods see upscale script.

Parameters:
  • cellsize (int) – size of unit catchment measured in no. of higres cells

  • uparea (2D array of float, optional) – upstream area

  • method ({"eam_plus", "dmm"}, optional) – method to derive outlet cell indices, by default ‘eam_plus’

Returns:

idxs_out – linear indices of unit catchment outlet cells

Return type:

2D array of int