ECC-1402: GRIB1: Nearest point incorrect for second order boustrophedonic

This commit is contained in:
Shahram Najm 2022-06-11 12:24:32 +01:00
parent e0188ee4e7
commit 7f1473f1be
1 changed files with 5 additions and 8 deletions

View File

@ -90,8 +90,8 @@ if(bitmapPresent) {
}
} else {
if (boustrophedonicOrdering) {
meta numericValues data_g1second_order_general_extended_packing(
# See ECC-1402
meta numericValues data_g1second_order_general_extended_packing(
#simple_packing args
section4Length,
offsetBeforeData,
@ -126,8 +126,7 @@ if(bitmapPresent) {
SPD,
widthOfSPD,
orderOfSPD,
numberOfPoints
) : read_only;
numberOfPoints) : read_only;
meta values data_apply_boustrophedonic(numericValues,numberOfRows,numberOfColumns,numberOfPoints,pl) : dump;
alias data.codedValues = values;
} else {
@ -166,12 +165,10 @@ if(bitmapPresent) {
SPD,
widthOfSPD,
orderOfSPD,
numberOfPoints
) : dump;
numberOfPoints) : dump;
alias codedValues=values;
}
alias data.packedValues = values;
alias data.packedValues = values;
}
meta packingError simple_packing_error(bitsPerValue,binaryScaleFactor,decimalScaleFactor,referenceValue,ibm) : no_copy;