Re: [gdal-dev] get gdalinfo output with a python script

2010-06-09 Thread Eloi Ribeiro
Thanks for the link Even! There was everything I needed to know in line 338 - "Loop over bands". I was missing this: Description = banda.GetDescription(). Thanks, Eloi On Tue, Jun 8, 2010 at 9:41 PM, Even Rouault wrote: > > http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/gda

Re: [gdal-dev] get gdalinfo output with a python script

2010-06-08 Thread Even Rouault
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/gdalinfo.py Would need just a few minor changes to work against GDAL 1.7 python bindings Le Tuesday 08 June 2010 19:51:50 Eloi Ribeiro, vous avez écrit : > Hi, > > I don't manage to get all the info from a GRIB file with a python s

[gdal-dev] get gdalinfo output with a python script

2010-06-08 Thread Eloi Ribeiro
Hi, I don't manage to get all the info from a GRIB file with a python script as it's possible with gdalinfo output. gdalinfo output example from a GRIB band: *Band 1 Block=720x1 Type=Float64, ColorInterp=Undefined* * Description = 2[m] HTGL="Specified height level above ground"* * Metadata:* *