[gdal-dev] vsicurl and --range byte-range

Joaquim Manuel Freire Luís jluis at ualg.pt
Thu May 8 14:48:41 PDT 2025


Hi,

I'm writing a tool to download ECMWF forecast data in gring2 format. But since those files have > 150 bands and most of times I'm only interested in a couple of them, I'm using the only documented mechanism that I found [1], which is the "curl -range start-stop". That works fine but what I would really like is to be able to use

gdal_translate /vsicurl/...

because then I should be able to save the result directly in netCDF and even get only a sub-region. But I'm not able to find a way to use both /vsicurl/ and a (equivalent) -range option. Is that possible and I didn't find how to, or we simple cannot do it?

Thanks

Joaquim

[1] https://confluence.ecmwf.int/display/DAC/ECMWF+open+data%3A+real-time+forecasts+from+IFS+and+AIFS#ECMWFopendata:realtimeforecastsfromIFSandAIFS-DownloadASingleFieldWithWget
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250508/01ce86c4/attachment.htm>


More information about the gdal-dev mailing list