def limit_to_bounding_box(df, coords):
    """
    Drop rows with coordinates outside of the bounding box.
    """
    min_lat, max_lat, min_lon, max_lon = coords
    df = df[df['LAT'] < max_lat]
    df = df[df['LAT'] > min_lat]
    df = df[df['LON'] < max_lon]
    df = df[df['LON'] > min_lon]
    return df