pyflwdir.FlwdirRaster.index# FlwdirRaster.index(xs, ys, **kwargs)[source]# Returns linear cell indices based on x, y coordinates. Parameters: xs (ndarray of float) – x, y coordinates. ys (ndarray of float) – x, y coordinates. Returns: idxs – linear cell indices Return type: ndarray of int