mirror of https://github.com/ecmwf/eccodes.git
GRIB-262: Fix the issue with wave spectra. The key octetAtWichPackedDataBegins was overflowing!
This commit is contained in:
parent
16f5132c5a
commit
467a2c0ea6
|
@ -87,7 +87,9 @@ if(matrixOfValues == 0)
|
||||||
) : read_only;
|
) : read_only;
|
||||||
alias data.packedValues = codedValues;
|
alias data.packedValues = codedValues;
|
||||||
meta values data_apply_bitmap(codedValues,bitmap,missingValue,binaryScaleFactor) : dump;
|
meta values data_apply_bitmap(codedValues,bitmap,missingValue,binaryScaleFactor) : dump;
|
||||||
when(changed(values)) {set octetAtWichPackedDataBegins=numberOfCodedValues;}
|
# See GRIB-262: The octetAtWichPackedDataBegins cannot be set to a value bigger than 65535!
|
||||||
|
# This is historic stuff which no longer applies
|
||||||
|
# when(changed(values)) {set octetAtWichPackedDataBegins=numberOfCodedValues;}
|
||||||
} else {
|
} else {
|
||||||
# For grib1 -> grib2
|
# For grib1 -> grib2
|
||||||
constant bitMapIndicator = 255;
|
constant bitMapIndicator = 255;
|
||||||
|
|
Loading…
Reference in New Issue