ECCC-MSC / libecbufr

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

The decoding of some BUFR files generates warnings but it seems that LIBECBUFR doesn't return the flag BUFR_FLAG_INVALID in these cases. #22

Open vsouvan opened 4 years ago

vsouvan commented 4 years ago

Hi,

The decoding of some files (see the example provided) generates warnings but it seems that LIBECBUFR doesn't return the flag BUFR_FLAG_INVALID in these cases.

Warning example: Warning: NBINC=3 is bigger than (2 bits)

Thanks, Isabelle


Imported from Launchpad using lp2gh.

vsouvan commented 4 years ago

(by isabelle-provost)

vsouvan commented 4 years ago

(by vanh-souvanlasy) there seems to be a few places where error encountered while decoding only have warning printed, the error code is not returned.

vsouvan commented 4 years ago

(by vanh-souvanlasy) for compressed messages, when NBINC > NBITS, need to set return code as error