[gdal-dev] vsicurl access to a netcdf file does not see the coordinates

Even Rouault even.rouault at spatialys.com
Sat Jun 1 01:37:39 PDT 2019


On vendredi 31 mai 2019 23:49:09 CEST Joaquim Manuel Freire Luís wrote:
> Hi,
> 
> GDAL master here
> 
> When I run gdalinfo on a remote nc file, instead of reporting the
> coordinates it prints the array size

Joaquim,

Note that in the /vsicurl/ case, the file gets opened by the HDF5Image driver 
whereas in the non vsicurl case, by the netCDF driver, hence the difference.
A recent enough version (4.5 I believe) of libnetcdf must be used so that /
vsicurl/ can be used by the netCDF driver (you must see 'NetCDF has 
netcdf_mem.h: yes' in configure output)

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list