22 #ifndef DBALLE_MSG_WREXPORTER_BASE_H
23 #define DBALLE_MSG_WREXPORTER_BASE_H
41 wreport::Subset* subset;
45 void add(wreport::Varcode code,
const msg::Context* ctx,
int shortcut)
const;
46 void add(wreport::Varcode code,
const msg::Context* ctx, wreport::Varcode srccode)
const;
47 void add(wreport::Varcode code,
const msg::Context* ctx)
const;
48 void add(wreport::Varcode code,
const wreport::Var* var)
const;
51 void init(wreport::Subset& subset);
56 void add_year_to_minute();
57 void add_latlon_coarse();
58 void add_latlon_high();
59 void add_station_name(wreport::Varcode code);
60 void add_station_height();
61 void add_ecmwf_synop_head();
91 const wreport::Var* v_press;
92 const wreport::Var* v_pressmsl;
93 const wreport::Var* v_pchange3;
94 const wreport::Var* v_pchange24;
95 const wreport::Var* v_ptend;
96 const wreport::Var* v_geopotential;
98 void init(wreport::Subset& subset);
114 void add_geopotential(wreport::Varcode code);
125 void add_ecmwf_synop_weather();
130 void add_ecmwf_ice();
136 void add_plain_waves();
Store an array of physical data all on the same level.
Definition: msg/context.h:44
Definition: wr_exporters/common.h:37
void add_marine_sensor_height(const msg::Context &c, const wreport::Var *sample_var=NULL)
Add B07032 and B07033 sensor heights, taking the value from the var attributes or the context...
void add_xtemp_group(wreport::Varcode code, const msg::Context *c)
Add an extreme temperature group, with the measured value added with the given code, from temperature data found on the given context.
void add_time_period(wreport::Varcode code, const msg::Context &c, const wreport::Var *sample_var, const Trange &tr_std)
Add a B04025 or B04025 time period variable, with data taken from its parameters as needed...
void add_prec_group(const msg::Context *c)
Add time period and total precipitation from the given context.
Abstraction for a weather report message which is independent from the encoding, used to make sense o...
void add_wind_gust(const msg::Context *c)
Add a wind gust block with info from the given context.
Definition: wr_exporters/common.h:69
void add_sensor_height(const msg::Context &c, const wreport::Var *sample_var=NULL)
Add B07032 sensor height, taking the value from the var attributes or the context, as appropriate.
Definition: conversion.h:31
void add_cloud_data()
Add cloud data, as D02004 and a delayed replication of D02005.