<div dir="auto"><div>Thanks Even!<div dir="auto"><br></div><div dir="auto">I THOUGHT I TRIED THAT 🙏 doh. Very much appreciated.</div><div dir="auto"><br></div><div dir="auto">Cheers, Mike</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 8 Sept 2022, 19:39 Even Rouault, <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <p>Michael,</p>
    <p>This is both a usage issue, and the driver not erroring out on
      that invalid use whereas it should.<br>
    </p>
    <p>You should prefix the URL with /vsicurl/ , and if you use Bash as
      a shell, to make sure the double quotes are preserved up to GDAL,
      you need to surround the whole string with single quote
      characters.</p>
    <p>So:<br>
    </p>
    <p>gdalmdiminfo 'ZARR:"<a href="https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr" target="_blank" rel="noreferrer">/vsicurl/https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr</a>"'</p>
    <p>and similarly for gdalinfo:</p>
    <p>gdalinfo 
'ZARR:"/vsicurl/<a href="https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr" target="_blank" rel="noreferrer">https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr</a>"'</p>
    <p>gdalinfo
'ZARR:"/vsicurl/<a href="https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr" target="_blank" rel="noreferrer">https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr</a>":/precip:0'  
      (0 here for the 2D slice at time index = 0)<br>
      <br>
    </p>
    <p>In <a href="https://github.com/OSGeo/gdal/pull/6330" target="_blank" rel="noreferrer">https://github.com/OSGeo/gdal/pull/6330</a>, I've improved doc and
      error messages.</p>
    <p>Even<br>
    </p>
    <p><br>
    </p>
    <div>Le 08/09/2022 à 05:53, Michael Sumner a
      écrit :<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hello, I'm trying to connect to this zarr: 
        <div><br>
        </div>
        <div><a href="https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr" target="_blank" rel="noreferrer">https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr</a><br>
        </div>
        <div><br>
        </div>
        <div>I can get this sort of hull description with mdim, but only
          "cannot find group" with gdalinfo. </div>
        <div><br>
        </div>
        <div>gdalmdiminfo ZARR:"<a href="https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr" target="_blank" rel="noreferrer">https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr</a>"<br>
          {<br>
            "type": "group",<br>
            "driver": "Zarr",<br>
            "name": "/"<br>
          }<br>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>gdalinfo ZARR:"<a href="https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr" target="_blank" rel="noreferrer">https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/gpcp-feedstock/gpcp.zarr</a>"<br>
            ERROR 1: Cannot find group <a href="http://ncsa.osn.xsede.org" target="_blank" rel="noreferrer">ncsa.osn.xsede.org</a><br>
          </div>
          <div><br>
          </div>
          <div>That group error makes me think there's a kind of nested
            dataset issue to navigate?  But I can't see how zarr or gdal
            would expose those?   There is a variable called 'precip'. </div>
          <div><br>
          </div>
          <div>I'm comparing to the python in this notebook, which works
            fine on the same system. I'm using GDAL built from source. </div>
          <div><br>
          </div>
          <div><a href="https://notebooksharing.space/view/c6c1f3a7d0c260724115eaa2bf78f3738b275f7f633c1558639e7bbd75b31456#displayOptions=%5C" target="_blank" rel="noreferrer">https://notebooksharing.space/view/c6c1f3a7d0c260724115eaa2bf78f3738b275f7f633c1558639e7bbd75b31456#displayOptions=\</a><br>
          </div>
          <div><br>
          </div>
          <div>Cheers, Mike</div>
          <div><br>
          </div>
          <div><br>
          </div>
          -- <br>
          <div dir="ltr" data-smartmail="gmail_signature">Michael Sumner<br>
            Software and Database Engineer<br>
            Australian Antarctic Division<br>
            Hobart, Australia<br>
            e-mail: <a href="mailto:mdsumner@gmail.com" target="_blank" rel="noreferrer">mdsumner@gmail.com</a></div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank" rel="noreferrer">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </div>

</blockquote></div></div></div>