mirror of https://github.com/ecmwf/eccodes.git
ECC-433: BUFR operator 206YYY not working. Fix case for ECMWF local descriptor which we can decode
This commit is contained in:
parent
80c8056f28
commit
86a32f4dda
|
@ -642,9 +642,11 @@ static int expand(grib_accessor* a)
|
|||
operator206yyy_width = aDescriptor1->Y; /* Store the width for the following descriptor */
|
||||
}
|
||||
else if (operator206yyy_width>0) {
|
||||
err = 0; /* Clear any error generated due to local descriptor */
|
||||
if (err == GRIB_NOT_FOUND) {
|
||||
err = 0; /* Clear any error generated due to local descriptor */
|
||||
aDescriptor1->nokey = aDescriptor2->nokey = 1; /* Do not show this descriptor in dump */
|
||||
}
|
||||
aDescriptor1->width = aDescriptor2->width = operator206yyy_width;
|
||||
aDescriptor1->nokey = aDescriptor2->nokey = 1; /* Do not show this descriptor in dump */
|
||||
operator206yyy_width = 0; /* Restore. Operator no longer in scope */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue