wreport library and software overview
Definitions
- low level d/encoding
- physically-based data model: unique, high-level, physically-based data model (lon, lat, time, level, parameter, etc.)
Provided by wreport
- C++ Library for encoding-decoding BUFR and CREX messages at low level
- It includes a simple command line BUFR dumper
- It has a minimal dependency on external libraries
- It cannot convert BUFR between different templates
- It can use tables in standard XML format as distributed by WMO (easy maintenance)
Core library features
- BUFR table loading and querying.
- An abstraction for BUFR variables, storing values with the correct number of significant digits (no artifacts introduced by floats or doubles), and with access to metadata (description, measurement unit, significant digits...) for each variable.
- Unit conversion, transparent unit conversion when working with variables, conversion functions between related code tables.
- Variables can be annotated using other variables, to store values that reference other values, such as quality control statistics or substituted values.
- Script to download and acquire the latest BUFR and CREX tables from WMO.
BUFR decoder features
The decoder supports BUFR editions 2, 3 and 4, both uncompressed and compressed.
C operators supported are:
- 1 change data width
- 2 change data scale
- 4 add associated field, limited to 32 bits of associated fields and to associated field significances 1, 2, and 6.
- 5 character data
- 6 local descriptor with explicit length
- 8 override length of character data
- 22 quality information matched via data present bitmap
- 23 substituted values matched via data present bitmap
- 24 first order statistical values matched via data present bitmap
BUFR encoder features
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.
CREX decoder features
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.
CREX encoder features
All features supported by the decoder are supported by the encoder, and tested via decode/reencode/decode runs.
wrep: a tool to print the contents of BUFR and CREX messages.
Provided by DB-All.e
It can import observations from various sources into a unique, high-level, physically-based data model (lon, lat, time, level, parameter, etc.) and export them back
Provided by bufr2netcdf
-
...
BUFR preprocessor for observation COSMO data ingest.
It's a tools for decoding BUFR reports and creating input files for COSMO model assimilation.
-
COSMO model requires observations in netcdf format (AOF is considered obsolete)
- The COSMO netcdf format is the translation of a BUFR structure in netcdf, difficult to write directly from user applications and not following any standard specification
- The physical interpretation of the data is done into the COSMO model (>14K lines)
- The natural source of observed data for COSMO model should be BUFR following a predefined template (e.g. WMO reports)
- This conversion is an almost literal translation of a BUFR into a netcdf data structure