Closed vincentsarago closed 4 years ago
@kylebarron answering your previous questions
Is aws_session still important to pass to rasterio? So that fetching assets happens with the same session?
let's keep it for now.
How to pass specialized arguments to an automatically-chosen backend? I.e. if you want to use the same AWS client for interacting with S3, you might want to pass client to auto_backend but only used if the url points to s3...
sadly we won't use the same session we use at startup and in the backend because if someone passes a http url, the HTTPBackend will raise an error not knowing the client argument. IMO this is ok for now.
Everywhere where you have mosaicid if mosaicid else
you can just have mosaicid or ...
Update to latest cogeo-mosaic module