Re: [gdal-dev] zarr urls need quoting

2025-03-26 Thread Michael Sumner via gdal-dev
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  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.
>
>
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] zarr urls need quoting

2025-03-26 Thread Even Rouault via gdal-dev

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.

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev