[gdal-dev] netCDF with virtual file system (/vsicurl/) not working

Stefan Blumentrath Stefan.Blumentrath at nina.no
Wed Feb 2 00:35:47 PST 2022


Hi,

I have been using GDAL to access online data sources in netCDF successfully.
With Ubuntu 20.04, this unfortunately no longer works with the netCDF driver.

Here is a reproducible example:
gdalinfo -if netCDF /vsicurl/https://nbstds.met.no/thredds/fileServer/NBS/S2A/2021/02/28/S2A_MSIL1C_20210228T103021_N0202_R108_T35WPU_20210228T201033_DTERRENGDATA.nc

The original error message (before working around the HDF5 driver) has been that permissions for the userfaultfd system call were denied. But if I specify the netCDF driver, the format is not recognized. Downloading the dataset and opening It locally works.

I saw some possibly relevant changes:
https://github.com/OSGeo/gdal/pull/4508
https://github.com/OSGeo/gdal/issues/2412

Any hint on how to get that functionality back would be very much appreciated!

Cheers
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220202/c8dc9c23/attachment-0001.html>


More information about the gdal-dev mailing list