Re: [gdal-dev] Accessing to a NetCDF subdataset with Python

2013-05-26 Thread Paolo Corti
On Sat, May 25, 2013 at 7:11 PM, Even Rouault even.roua...@mines-paris.org wrote: Le samedi 25 mai 2013 17:47:59, Paolo Corti a écrit : Hi list I am with GDAL 1.10. I thought it was possible to access to a netCDF subdataset in the usual manner (using GetRasterBand), but it does not seem to

[gdal-dev] Accessing to a NetCDF subdataset with Python

2013-05-25 Thread Paolo Corti
Hi list I am with GDAL 1.10. I thought it was possible to access to a netCDF subdataset in the usual manner (using GetRasterBand), but it does not seem to work in my local box: from osgeo import gdal from osgeo.gdalconst import * gdal.AllRegister() file_nc =

Re: [gdal-dev] Accessing to a NetCDF subdataset with Python

2013-05-25 Thread Even Rouault
Le samedi 25 mai 2013 17:47:59, Paolo Corti a écrit : Hi list I am with GDAL 1.10. I thought it was possible to access to a netCDF subdataset in the usual manner (using GetRasterBand), but it does not seem to work in my local box: from osgeo import gdal from osgeo.gdalconst import *