ARPA-SIMC / wreport

C++ library and applications to work with weather reports. The library provides featureful BUFR and CREX encoding and decoding.
Other
9 stars 9 forks source link

Error on compressed strings #38

Closed dcesari closed 4 years ago

dcesari commented 4 years ago

The attachment GPS_bufr.zip contains two almost equal GPS bufr messages, with a different coding of station name. The decoding of GPSR_fail.bufr fails with the error message compressed strings with 20 bit deltas have non-zero reference value. According to the source code, this seems to be due to an unimplemented feature.

Is the interpretation correct? Could that feature be implemented? Or any workaround?

spanezz commented 4 years ago

I don't know what the encoders were trying to do: they transmitted one non-zero reference value, then overrode it in each subset. I don't understand why the reference value was nonzero if it was not used, but I guess it's a quirk of the encoder they used.