[gdal-dev] zarr urls need quoting
Michael Sumner
mdsumner at gmail.com
Wed Mar 26 10:32:23 PDT 2025
Ok, thank you that's totally understandable and I will champion your
choices here
Appreciate the (fast) response very much
Cheers, Mike
On Thu, Mar 27, 2025, 04:28 Even Rouault <even.rouault at spatialys.com> wrote:
> Michael,
>
>
> >
> > gdalmdiminfo
> > ZARR:"/vsicurl/
> https://data.source.coop/dynamical/noaa-gefs-analysis/v0.0.1-dev.zarr"
>
> This is a shell issue. It will strip those quotes, and thus be seen by
> GDAL as your below string without quotes.
>
>
> > Does it need to be this way for some special zarr reason?
>
> The requirement for the path to be surrounded by double-quotes is to
> make it more bullet proof to extract it. Particularly for windows with
> c:\bla . Other drivers such as netCDF have workarounds for those use
> cases, but I wasn't willing to implement them again for the new driver.
>
> The ZARR: prefix is needed for remote datasets to force either probing
> for a few known files in the pointed path or issue a directory listing
> (when available).
>
> Even
>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250327/313363d0/attachment.htm>
More information about the gdal-dev
mailing list