libwreport
3.29
|
The decoder supports BUFR editions 2, 3 and 4, both uncompressed and compressed.
C operators supported are:
All features supported by the decoder are supported by the encoder, and tested via decode/reencode/decode runs.
The encoder however does not yet support compression of multisubset data sections.
The decoder supports CREX edition 1.
B, R and D opcodes are supported. Some C modifiers may be supported, but are untested due to lack of real-world samples.
All features supported by the decoder are supported by the encoder, and tested via decode/reencode/decode runs.
BUFR and CREX header information is stored in member variables of wreport::Bulletin or, for encoding-specific cases, wreport::BufrBulletin and wreport::Crexbulletin.
The contents of the data descriptor section are stored in wreport::Bulletin::datadesc.
The data section is split in 1 or more wreport::Subset objects, stored in wreport::Bulletin::subsets.
BUFR decoding details (such as pointers to beginning and end of the various message sections) are stored in wreport::BufrBulletin::raw_details.
Decoded values are stored as wreport::Var inside wreport::Subset objects. Values that refer to other values (such as associated fields, quality information, substituted values and so on) are stored as attributes of the variable they refer to.
Data Present Bitmaps and other C modifier parameters are stored as special wreport::Var objects, using ad-hoc wreport::Varinfo information that is not found in the usual tables: