[gdal-dev] GRIB2 file produces None on opening
Frank Peacock
fepeacock at bulldoghome.com
Fri Aug 15 07:01:31 EDT 2008
Hello
I have a GRIB2 file called "a" which I have tested and is correct. I use
the following code:
from osgeo import gdal
src_ds = gdal.Open("a")
print src_ds
The result of the print is None.
I have also run a test with a tif file and it works correctly producing
<osgeo.gdal.Dataset; proxy of <Swig Object of type 'GDALDatasetShadow *' at
0x14381b8> >
Can anyone help to explain why the GRIB2 file is not being read correctly.
Thanks
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080815/ed0a0370/attachment.html
More information about the gdal-dev
mailing list