def latlon_to_cell(lat, lon):
    """
    Return the cell that contains the given lat/lon pair

    NOTE: x of cell represents min (contained) lon value but y of cell represents max (not contained) lat value
        that is, 120/-20 contains lon values 120->120.99999 but lat values -19->-19.99999
        that is, that is, 120/-20 does NOT contain lat value of -20

    :param lat: latitude
    :param lon: longitude
    :return: cell as x, y pair
    """
    x = int(lon)
    y = int(lat) - 1

    return x, y