pyflwdir.FlwdirRaster.xy#

FlwdirRaster.xy(idxs, **kwargs)[source]#

Returns x, y coordinates of the cell center based on linear cell indices.

Parameters:

idxs (ndarray of int) – linear cell indices

Returns:

  • xs (ndarray of float) – x coordinates.

  • ys (ndarray of float) – y coordinates.