wreport library

# Introduction

This C++ library provides BUFR and CREX encoding and decoding functions, supported by functions to manage weather bulletin variables. See Library features for a list of features.

The infrastructure for working with variable is based on wreport::Var variables (see var.h) that are described by wreport::Varinfo structures (see varinfo.h) that can be created on the fly or read from on-disk tables (see vartable.h).

All variables are annotated with information including significant digits and measurement units, and unit conversions (see conv.h) are performed when needed.

Weather bulletins (see bulletin.h) can be decoded and encoded in WMO FM 94 BUFR and WMO FM 95 CREX formats.

Error handling is done via exceptions. wreport has its own lightweight exception tree (see error.h) with a common root on wreport::error, which in turn descends from std::exception, meaning error handling works as expected..

For coding style, see Coding style.