<div dir="ltr"><div>Hi,</div><div><br></div><div>I'm mosaicking a large number of small tiles using the GDAL python bindings (python 3.7, gdal 3.0.1, but also tested on 2.4.2). Code is something like</div><div><br></div><div>```</div><div><b><span style="font-family:monospace">output_fname = "/something/or/other.vrt"<br></span></b></div><div><b><span style="font-family:monospace">fnames = ["file1.tif", ..., "fileN.tif"]</span></b></div><div><b><span style="font-family:monospace">dst_ds = gdal.BuildVRT(<br>            output_fname,<br>            fnames,<br>            options=gdal.BuildVRTOptions(separate=True),<br>        )</span></b></div><div><b><span style="font-family:monospace">dst_ds = None</span></b></div><div>```</div><div><br></div><div>This fails with lots of errors like<br></div><div><span style="font-family:monospace">ERROR 4: fileXXX.tif: No such file or directory<br>Warning 1: Can't open fileXXX.tif. Skipping it</span></div><div><br></div><div>The files are available on disk, and gdalinfo identifies them with no issues.</div><div><br></div><div>Piping the files on a text file and using gdalbuildvrt results in the same issue. The overall effect is that no information goes into the mosaic.</div><div><br></div><div>This approach works well when I tested with a handful of files (e.g. 4), but I am now mosaicking a large number of files (>1000), and I was wondering whether this could be an issue due to limits on opened files and so on? This is on Linux.<br></div><div><br></div><div>The aim of this is to create a VRT mosaic that can then be converted to GeoTIFF.</div><div><br></div><div>Any pointers?</div><div>many thanks</div><div>Jose<br></div></div>