pyflwdir.FlwdirRaster.to_array#
- FlwdirRaster.to_array(ftype: Literal['d8', 'ldd', 'nextxy'] | None = None) ndarray[source]#
Return 2D flow direction raster.
- Parameters:
ftype ({'d8', 'ldd', 'nextxy'}, optional) – name of flow direction type, by default None; use input ftype.
- Returns:
flow direction raster
- Return type:
2D array of int