Unidata/thredds — pull request #53 by lost-carrier (2014-06-02 16:11:58+00:00)
Title: Fixed problem for thin grid with bitmaps...

Hi,

this one was not reported to the mailing list, yet.

However: when opening Grib 1 files with reduced gaussian grids AND a bitmap applied, there was an error reported to the log file and the record was skipped.
"Grib1DataReader - Bitmap section length = 105438 != grid length"

The problem was in Grib1DataReader.getData(..). There was an array copied and the length of the array was exptected to be nx * ny as for regular grid. Since reduced gaussian grids contain less data, this failed.

Should be fixed with this pull request.

Cheers,
Jochen