-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create mosaic from S3 requester-pays tiffs #35
Comments
👋 @kylebarron Note: the mosaic won't work in the regular cogeo-mosaic-tiler stac because we don't support requester-pays bucket |
Ah, that did work once I set And yeah, I'm assuming I'll have to fork/edit some part of |
so to support Requester-pays bucket you'll need to add it in https://github.com/developmentseed/cogeo-mosaic-tiler/blob/master/serverless.yml#L44 |
Is there a way to print rasterio errors to stdout? Setting the export AWS_REQUEST_PAYER="requester"
echo s3://naip-visualization/wa/2015/100cm/rgb/45122/m_4512229_ne_10_1_20150728.tif | cogeo-mosaic create - -o test_naip.json gave the following opaque error that I've found results from no downloads succeeding
After a bit more research, I discovered that export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt (from cogeotiff/rio-tiler#19, rasterio/rasterio#942), |
oh thanks @kylebarron, I'm sorry you had to spent some time debuging this |
I think it's an issue with I haven't researched how to add a handler, but changing cogeo-mosaic/cogeo_mosaic/utils.py Line 65 in f8bc8e6
to logger.warning(str(err)) prints
|
It appears that currently the only way to create a mosaic is with http links. Would it be possible to add functionality to create a mosaic through
s3://
URIs? For requester pays buckets like NAIP/CBERS, I don't know if it's possible to use an http url to fetch the tiffs.I did attempt
but that threw an exception
ValueError: max() arg is an empty sequence
.The text was updated successfully, but these errors were encountered: