[gdal-dev] vsicurl and HDF5
Joe Lee
hyoklee at hdfgroup.org
Thu Jan 5 10:14:34 PST 2023
Hi, Paolo!
I tested on mac:
Darwin nene.ad.hdfgroup.org 21.6.0 Darwin Kernel Version 21.6.0: Sun Nov 6 23:31:16 PST 2022; root:xnu-8020.240.14~1/RELEASE_X86_64 x86_64
I’m using `brew install gdal.`
I just tested with 3.6.2 and also worked fine. ☺
I hope it works on your Mac too!
From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> on behalf of Paolo Corti <pcorti at gmail.com>
Date: Thursday, January 5, 2023 at 12:10 PM
To: Even Rouault <even.rouault at spatialys.com>
Cc: gdal-dev at lists.osgeo.org <gdal-dev at lists.osgeo.org>
Subject: Re: [gdal-dev] vsicurl and HDF5
On Thu, Jan 5, 2023 at 6:03 PM Even Rouault <even.rouault at spatialys.com> wrote:
>
> Paolo,
>
> Le 05/01/2023 à 17:56, Paolo Corti a écrit :
> > Hi all
> >
> > Do you know if I can read HDF5 files with vsicurl?
> > I made a few tests, but I am getting this error, so I was wondering it
> > it is even possible:
>
> yes this is possible. If you get the error message you mention, it means
> that the HDF5 driver is not used, but rather the netCDF one, since the
> Linux userfaultfd system call is the trick used by the netCDF driver to
> allow /vsicurl/ usage. Perhaps you are running from a container (like
> Docker) that doesn't enable that system call by default. With Docker,
> you might need to start your container with --privileged=true
>
> If you have the HDF5 driver available, it is better integrated with the
> VSI virtual file systems and that shoud work on any operating systems,
> whereas /vsicurl/ with the netCDF driver can only work with Linux
>
Thanks Even!
I just tried with the osgeo GDAL container, and it is working, many thanks!
Previously I tried to run it from OSX, and I got that error.
Thanks also to Joe for testing that :)
--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
#drt3jc1
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230105/cdbb187d/attachment-0001.htm>
More information about the gdal-dev
mailing list