Re: [gdal-dev] Prevent GDAL reads for .aux or any other s3 objects that do not exist

2021-03-03 Thread Vincent Sarago
Hi Darren You can do this by setting `GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR` or by narrowing the allowed extension with "CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.tif" Kyle is working on some docs that explains those env in TiTiler: - https://github.com/developmentseed/titiler/blob/0a5288de30845865256

[gdal-dev] Prevent GDAL reads for .aux or any other s3 objects that do not exist

2021-03-03 Thread Darren Weber
In https://github.com/mapbox/rasterio/issues/2119#issuecomment-790024225 I've noted how s3-COG reads can use retries to handle s3 rate throttling (503) by enabling the `GDAL_HTTP_MAX_RETRY`. Our dataset on s3 only contains *.tif files and we need to prevent GDAL from issuing any GET/HEAD requests