Re: Occasional "not recognized as a supported file format" errors when reading from S3

Sean Gillies

Hi Dion,

That error comes from these lines in GDALOpenEx when the function fails to return successfully: The way the errors are re-raised obscures the problem.

First, are the /vsis3/ identifiers for the datasets correct? Is Rasterio mangling them? Can you access the data successfully any time at all?

Are you using any advanced HTTP features? HTTP/2? The Rasterio wheels use a slightly old version of curl and that project is ever fixing bugs.

Is multithreading involved? I recommend that you consult as soon as it is back online. Multithreaded access to VRTs is complicated.

If the error occurs every time 

On Fri, May 24, 2019 at 8:13 AM Dion Häfner <dion.haefner@...> wrote:

We've only tried rasterio wheels.

On 23/05/2019 21.23, vincent.sarago via Groups.Io wrote:
This is not something I've been seen for now. does this happens with Rasterio wheels and rasterio build on gdal source ? 

Sean Gillies

Join to automatically receive all group messages.