

def init_worker(path, profile):
    global base_kwds, src
    base_kwds = profile.copy()
    src = rasterio.open(path)

dataset/ETHPy150Open mapbox/rio-mbtiles/mbtiles/__init__.py init_worker/original