def get_mask_indices(path):
    """Helper function to get raster mask for NYC

    Returns:
      list: returns list of tuples (row, column) that represent area of interest
    """
    raster = tiff_to_array(path)
    indices = []
    it = np.nditer(raster, flags=['multi_index'])
    while not it.finished:
        if it[0] > 1:
            r, c = it.multi_index
            indices.append((r, c))
        it.iternext()
    return indices
dataset/ETHPy150Open notthatbreezy/nyc-taxi-spark-ml/python/geo_vars.py/get_mask_indices/operator `==` -> `>`