Re: [gdal-dev] HDF4 python add band

2014-04-27 Thread Even Rouault
Luca, very few drivers (and formats) support AddBand (the only ones are MEM and VRT), mostly because it would imply in most cases to completely rewrite the structure of what is already on disk. Currently, with current code, your only option is to specify the right number of bands at Create()

[gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-27 Thread Joaquim Luis
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.

Re: [gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-27 Thread Even Rouault
Le dimanche 27 avril 2014 21:50:36, Joaquim Luis a écrit : Hi, This type of command used to work before, but it now errors (fresh Win7 64 GDAL) Joaquim, I doubt it has ever worked with netCDF. The netCDF driver doesn't support the VSI Virtual file system API, since the I/O is done by the

Re: [gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-27 Thread Joaquim Luis
On 27-04-2014 21:25, Even Rouault wrote: Le dimanche 27 avril 2014 21:50:36, Joaquim Luis a écrit : Hi, This type of command used to work before, but it now errors (fresh Win7 64 GDAL) Joaquim, I doubt it has ever worked with netCDF. The netCDF driver doesn't support the VSI Virtual file

Re: [gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-27 Thread Etienne Tourigny
Even is right - it never worked with the netcdf driver. But - it works if you use the vsipreload mechanism e.g. http://lists.osgeo.org/pipermail/gdal-dev/2013-May/036359.html On Sun, Apr 27, 2014 at 6:03 PM, Joaquim Luis jl...@ualg.pt wrote: On 27-04-2014 21:25, Even Rouault wrote: Le

Re: [gdal-dev] HDF4 python add band

2014-04-27 Thread Luca Delucchi
On 27 April 2014 11:20, Even Rouault even.roua...@mines-paris.org wrote: Luca, Hi Even, very few drivers (and formats) support AddBand (the only ones are MEM and VRT), mostly because it would imply in most cases to completely rewrite the structure of what is already on disk. ok,