Skip to content
Prev 13436 / 29559 Next

inconsistencies between readGDAL and other software (GrADS) when reading GRIB1 files

On Fri, 18 Nov 2011, Ariel Ortiz-Bobea wrote:

            
Which means that there is no way the GDAL driver can report the band 
names.
As I said, you are mixing up GDAL and rgdal. GDAL is 1.8.0, not rgdal. 
readGDAL() does nothing to the data values in the bands, they are read by 
the GDAL GRIB driver, and passed through from there. I doubt whether the 
GDAL driver attempts to understand what the bands are, since it does not 
access their metadata.

I assume that other software does that, or possibly mixes up signed and 
unsigned bytes if the temperatures are integers. GDAL simply allows us to 
handle well over a hundred different raster formats, many of which are 
poorly documented and used in varying ways by different organisations, 
thus increasing the confusion.

Roger