ds.rst.outside_image() or Raster.outside_image()# RasterBase.outside_image(xi, yj, index=True)[source]# Check whether a given point falls outside the bounds of the raster. Parameters: xi (ArrayLike) – Indices (or coordinates) of x direction to check. yj (ArrayLike) – Indices (or coordinates) of y direction to check. index (bool) – Interpret ij as raster indices (default is True). If False, assumes ij is coordinates. Returns is_outside: True if ij is outside the bounds. Return type: bool