def load_raster_tile_lookup(iso3):
    '\n    Load in the preprocessed raster tile lookup.\n\n    Parameters\n    ----------\n    iso3 : string\n        Country iso3 code.\n\n    Returns\n    -------\n    lookup : dict\n        A lookup table containing raster tile boundary coordinates\n        as the keys, and the file paths as the values.\n\n    '
    path = os.path.join(DATA_INTERMEDIATE, iso3, 'raster_lookup.csv')
    data = pd.read_csv(path)
    data = data.to_records('dicts')
    lookup = {}
    for item in data:
        coords = (item['x1'], item['y1'], item['x2'], item['y2'])
        lookup[coords] = item['path']
    return lookup
Load in the preprocessed raster tile lookup.

Parameters
----------
iso3 : string
    Country iso3 code.

Returns
-------
lookup : dict
    A lookup table containing raster tile boundary coordinates
    as the keys, and the file paths as the values.
def load_raster_tile_lookup(iso3):
    '\n    Load in the preprocessed raster tile lookup.\n\n    Parameters\n    ----------\n    iso3 : string\n        Country iso3 code.\n\n    Returns\n    -------\n    lookup : dict\n        A lookup table containing raster tile boundary coordinates\n        as the keys, and the file paths as the values.\n\n    '
    path = os.path.join(DATA_INTERMEDIATE, iso3, 'raster_lookup.csv')
    data = pd.read_csv(path)
    data = data.to_records('dicts')
    lookup = {}
    for item in data:
        coords = (item['x1'], item['y1'], item['x2'], item['y2'])
        lookup[coords] = item['path']
    return lookup