[gdal-dev] accessing netCDF files with /vsicurl fails
Joaquim Luis
jluis at ualg.pt
Sun Apr 27 12:50:36 PDT 2014
Hi,
This type of command used to work before, but it now errors (fresh Win7
64 GDAL)
gdalinfo /vsicurl/ftp://topex.ucsd.edu/pub/srtm30_plus/srtm30/grd/w020n40.nc
ERROR 4:
`/vsicurl/ftp://topex.ucsd.edu/pub/srtm30_plus/srtm30/grd/w020n40.nc'
not recognised as a supported file format.
gdalinfo failed - unable to open
'/vsicurl/ftp://topex.ucsd.edu/pub/srtm30_plus/srtm30/grd/w020n40.nc'.
and if I try with a closer site it still errors but prints quite some
more info
gdalinfo /vsicurl/http://w3.ualg.pt/~jluis/ftp/srtm30/w020n40.nc
HDF5-DIAG: Error detected in HDF5 (1.8.12) thread 0:
#000: C:\programs\compa_libs\hdf5-1.8.12\src\H5F.c line 1585 in
H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file
#001: C:\programs\compa_libs\hdf5-1.8.12\src\H5F.c line 1274 in
H5F_open(): unable to open file: time = Sun Apr 27 20:45:25 2014
, name = '/vsicurl/http://w3.ualg.pt/~jluis/ftp/srtm30/w020n40.nc',
tent_flags = 0
major: File accessibilty
minor: Unable to open file
#002: C:\programs\compa_libs\hdf5-1.8.12\src\H5FD.c line 987 in
H5FD_open(): open failed
major: Virtual File Layer
minor: Unable to initialize object
#003: C:\programs\compa_libs\hdf5-1.8.12\src\H5FDsec2.c line 343 in
H5FD_sec2_open(): unable to open file: name =
'/vsicurl/http://w3.ualg.pt/~jluis/ftp/srtm30/w020n40.nc', errno = 22,
error message = 'Invalid argument', flags = 0, o_flags = 0
major: File accessibilty
minor: Unable to open file
ERROR 4: `/vsicurl/http://w3.ualg.pt/~jluis/ftp/srtm30/w020n40.nc' not
recognised as a supported file format.
gdalinfo failed - unable to open
'/vsicurl/http://w3.ualg.pt/~jluis/ftp/srtm30/w020n40.nc'.
More information about the gdal-dev
mailing list