Hi:

I have the same problem.  I just installed 1.5.2 version on Linux. When I do:
gdalinfo --formats | grep GRIB

Nothing came out.  Also when I do:
gdalinfo abc.grb I got: not recognised as a supported file format

My grb file is GRIB2 format. Do we need to download the GRIB driver before the installation?

Thanks,

Limei
--
Limei Ran, Research Associate
Center for Environmental Modeling for Policy Development
the Institute for the Environment University of North Carolina at Chapel Hill
Bank of American Plaza - CB#6116
137 E. Franklin, Room 661
Chapel Hill, NC 27599-6116

Email: [EMAIL PROTECTED]
Phone:  919-966-2245
Fax:    919-843-3113




Quoting Lucena, Ivan:

Just a comment: There are some grib files generated by SPRING that are not compatible with the GRIB driver. It might be a version issue GRIB1, GRIB2 or something. Ex.:

C:\Data\SpringDB\SP\SPaulo>gdalinfo I000355.grb
ERROR 4: `I000355.grb' not recognised as a supported file format.

gdalinfo failed - unable to open 'I000355.grb'.

Mateusz Loskot wrote:
Frank Peacock wrote:
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.

Frank,

What version of GDAL do you use?
What does the following command return:

$ gdalinfo --formats | grep GRIB

Have you tried to open your dataset using gdalinfo?

Best regards,
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev



_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to