ECCC-MSC / libecbufr

libecbufr is a general purpose, template-oriented BUFR encoding/decoding library
Other
10 stars 7 forks source link

cannot decode BUFR messages with section 2 #21

Open vsouvan opened 4 years ago

vsouvan commented 4 years ago

The decoder is unable to decode any message that has a section 2, with the bit1 of octet 8 in section 1 enabled.


Imported from Launchpad using lp2gh.

vsouvan commented 4 years ago

(by chris-beauregard) At least some messages with section 2 are supported. Otherwise, Test/test_section2 would fail.

vsouvan commented 4 years ago

(by chris-beauregard) I use section 2 heavily for various kinds of my own regression tests (by encoding expected decode output in section 2). But I generate those cases with LibECBUFR, too.

vsouvan commented 4 years ago

(by vanh-souvanlasy) current value used in octet 8 of section 1 is set to 1, according to documentation, the right value should be 128.

vsouvan commented 4 years ago

(by vanh-souvanlasy) Fix commited in rev 278 and 279