libdballe
6.8
|
Public Member Functions | |
AOFImporter (const Options &opts=Options()) | |
virtual void | from_rawmsg (const Rawmsg &msg, Msgs &msgs) const |
Decode a message from its raw encoded representation. More... | |
virtual void | from_bulletin (const wreport::Bulletin &msg, Msgs &msgs) const |
Import a decoded BUFR/CREX message. | |
![]() | |
Importer (const Options &opts) | |
Static Public Member Functions | |
static void | get_category (const Rawmsg &msg, int *category, int *subcategory) |
Get category and subcategory of an AOF message. More... | |
static void | dump (const Rawmsg &msg, FILE *out) |
Print the contents of the AOF message. More... | |
![]() | |
static std::auto_ptr< Importer > | create (Encoding type, const Options &opts=Options()) |
Instantiate the right importer for the given type. | |
Static Protected Member Functions | |
static void | read_synop (const uint32_t *obs, int obs_len, Msg &msg) |
static void | read_flight (const uint32_t *obs, int obs_len, Msg &msg) |
static void | read_satob (const uint32_t *obs, int obs_len, Msg &msg) |
static void | read_dribu (const uint32_t *obs, int obs_len, Msg &msg) |
static void | read_temp (const uint32_t *obs, int obs_len, Msg &msg) |
static void | read_pilot (const uint32_t *obs, int obs_len, Msg &msg) |
static void | read_satem (const uint32_t *obs, int obs_len, Msg &msg) |
static void | parse_st_block_station (const uint32_t *obs, Msg &msg) |
Parse WMO block and station numbers in the Observation Header. | |
static void | parse_altitude (const uint32_t *obs, Msg &msg) |
Parse station altitude the Observation Header. | |
static void | parse_st_ident (const uint32_t *obs, Msg &msg) |
Parse string ident in the Observation Header. | |
static int | parse_lat_lon_datetime (const uint32_t *obs, Msg &msg) |
Parse latitude, longitude, date and time in the Observation Header. More... | |
static void | parse_weather_group (const uint32_t *obs, Msg &msg, int hour) |
Parse 27 Weather group in Synop observations. | |
static void | parse_general_cloud_group (const uint32_t *obs, Msg &msg) |
Parse 28 General cloud group in Synop observations. | |
static void | parse_cloud_group (uint32_t val, int *ns, int *c, int *h) |
Parse a bit-packed cloud group in Synop observations. | |
Additional Inherited Members | |
![]() | |
Options | opts |
|
static |
Print the contents of the AOF message.
msg | The encoded message to dump |
out | The stream to use to print the message |
|
virtual |
Decode a message from its raw encoded representation.
rmsg | Encoded message |
msgs | The resulting ::dba_msg |
Implements dballe::msg::Importer.
|
static |
Get category and subcategory of an AOF message.
msg | The message to scan |
category | The AOF category of the message |
subcategory | The AOF subcategory of the message |
|
staticprotected |
Parse latitude, longitude, date and time in the Observation Header.