Re: [gdal-dev] HDF4 python add band

2014-04-27 Thread Etienne Tourigny
It might be easier to use dedicated software for this. No the same but related, there are quite a few libraries out there for joining and editing netcdf files, there is probably the same for hdf files. cheers Etienne On Mon, Apr 28, 2014 at 2:58 AM, Luca Delucchi wrote: > On 27 April 2014 11:2

Re: [gdal-dev] HDF4 python add band

2014-04-27 Thread Luca Delucchi
On 27 April 2014 11:20, Even Rouault 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, > Currently, with current code,

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 wrote: > On 27-04-2014 21:25, Even Rouault wrote: > >> Le dimanche 27 av

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 sys

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 t

[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. gdalin

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() t