pyflwdir.FlwdirRaster.xy# FlwdirRaster.xy(idxs: ndarray, **kwargs) → tuple[ndarray, ndarray][source]# Returns x, y coordinates of the cell center based on linear cell indices. Parameters: idxs (ndarray of int) – linear cell indices **kwargs (dict) – Additional coordinate-conversion options passed to gis.idxs_to_coords, such as offset. Returns: xs (ndarray of float) – x coordinates. ys (ndarray of float) – y coordinates.