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

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Wed Feb 2 00:49:10 PST 2022


Hi,

What is your GDAL version? Check with "gdalinfo --version"

-Jukka Rahkonen-

Lähettäjä: gdal-dev <gdal-dev-bounces at lists.osgeo.org> Puolesta Stefan Blumentrath
Lähetetty: keskiviikko 2. helmikuuta 2022 10.36
Vastaanottaja: gdal-dev <gdal-dev at lists.osgeo.org>
Aihe: [gdal-dev] netCDF with virtual file system (/vsicurl/) not working

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/8baf1e29/attachment.html>


More information about the gdal-dev mailing list