[gdal-dev] Error message in reading as

Frank Warmerdam warmerdam at pobox.com
Mon Feb 2 15:40:39 EST 2009


Limei Ran wrote:
> 
> Hi:
> 
> I have a question about reading a grib image file.  I opened this file 
> with GDALOpen to get the general information about the image.  Along the 
> information I printed out, I also I got an error message and warning:
> ==============
> Warning: Inside GRIB2Inventory, Message # 2
> ERROR: Ran out of file reading SECT0
> There were 78 trailing bytes in the file.
>        Driver: GRIB/GRIdded Binary (.grb)
>        Size is 1500x800x1
>        Origin = (-2996013.616997,5845025.240730)
>        Pixel Size = (4000.000,4000.000)
> ==============
> 
> Could you tell me what the warning and error messages are about?  Do 
> they affect how I read the data in the image?

Limei,

I don't know exactly what the error means.  It comes from the lower level
grib library.  I imagine you would need to experiment to see how well the
resulting dataset works.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list