[gdal-dev] zarr urls need quoting
Even Rouault
even.rouault at spatialys.com
Wed Mar 26 10:28:13 PDT 2025
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.
More information about the gdal-dev
mailing list