Re: Read data from a sequence of TIF files

Shaunak De

Dear Sean,

Thank you for the recommendation and quick response. Was able to successfully create the VRT and read and reproject in rasterio.


On Mon, Aug 16, 2021, 6:06 PM Sean Gillies <sean.gillies@...> wrote:
Hi Shaunak,

A virtual mosaic using GDAL's VRT format is the best-tested approach for doing this. Rasterio can open and operate on such VRT XML files.

On Mon, Aug 16, 2021 at 4:58 PM <shaunakde@...> wrote:


I was trying to use the Global Surface Water dataset found here: 

The data is delivered as a sequence of TIF files tiles as 10x10 degree granules. For example the granule starting at 10N and 10E is here: 

I was wondering what the best way to read all the data intersecting an AOI was (without having to manually merge all the data)


Sean Gillies

Join to automatically receive all group messages.