diff --git a/pyresample/geometry.py b/pyresample/geometry.py index a3458a26c..234682394 100644 --- a/pyresample/geometry.py +++ b/pyresample/geometry.py @@ -1667,7 +1667,7 @@ def get_array_coordinates_from_lonlat(self, lon, lat) -> (int, int): def get_array_coordinates_from_projection_coordinates(self, xm, ym): """Find the floating-point grid cell index for a specified projection coordinate. - If cols, rows is a tuple of sequences of projection coordinates, a tuple + If xm, ym is a tuple of sequences of projection coordinates, a tuple of arrays are returned. Args: @@ -1721,8 +1721,8 @@ def get_array_indices_from_lonlat(self, lon, lat): def get_array_indices_from_projection_coordinates(self, xm, ym): """Find the closest integer grid cell index for a specified projection coordinate. - If cols, rows is a point, a ValueError is raised if it is outside the area - domain. If cols, rows is a tuple of sequences of projection coordinates, a + If xm, ym is a point, a ValueError is raised if it is outside the area + domain. If xm, ym is a tuple of sequences of projection coordinates, a tuple of masked arrays are returned. Args: