<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:"Apple Color Emoji";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"\@Malgun Gothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi, Paolo!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tested on mac:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using `brew install gdal.`<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I just tested with 3.6.2 and also worked fine. <span style="font-family:"Apple Color Emoji"">
☺</span><o:p></o:p></p>
<p class="MsoNormal">I hope it works on your Mac too!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">gdal-dev <gdal-dev-bounces@lists.osgeo.org> on behalf of Paolo Corti <pcorti@gmail.com><br>
<b>Date: </b>Thursday, January 5, 2023 at 12:10 PM<br>
<b>To: </b>Even Rouault <even.rouault@spatialys.com><br>
<b>Cc: </b>gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org><br>
<b>Subject: </b>Re: [gdal-dev] vsicurl and HDF5<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">On Thu, Jan 5, 2023 at 6:03 PM Even Rouault <even.rouault@spatialys.com> wrote:<br>
><br>
> Paolo,<br>
><br>
> Le 05/01/2023 à 17:56, Paolo Corti a écrit :<br>
> > Hi all<br>
> ><br>
> > Do you know if I can read HDF5 files with vsicurl?<br>
> > I made a few tests, but I am getting this error, so I was wondering it<br>
> > it is even possible:<br>
><br>
> yes this is possible. If you get the error message you mention, it means<br>
> that the HDF5 driver is not used, but rather the netCDF one, since the<br>
> Linux userfaultfd system call is the trick used by the netCDF driver to<br>
> allow /vsicurl/ usage. Perhaps you are running from a container (like<br>
> Docker) that doesn't enable that system call by default. With Docker,<br>
> you might need to start your container with --privileged=true<br>
><br>
> If you have the HDF5 driver available, it is better integrated with the<br>
> VSI virtual file systems and that shoud work on any operating systems,<br>
> whereas /vsicurl/ with the netCDF driver can only work with Linux<br>
><br>
<br>
Thanks Even!<br>
I just tried with the osgeo GDAL container, and it is working, many thanks!<br>
Previously I tried to run it from OSX, and I got that error.<br>
<br>
Thanks also to Joe for testing that :)<br>
<br>
<br>
--<br>
Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
#drt3jc1<br>
_______________________________________________<br>
gdal-dev mailing list<br>
gdal-dev@lists.osgeo.org<br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><o:p></o:p></p>
</div>
</div>
</body>
</html>