22 #ifndef DBALLE_MSG_WREXPORTER_BASE_H
23 #define DBALLE_MSG_WREXPORTER_BASE_H
41 wreport::Subset* subset;
46 void add(wreport::Varcode code,
const msg::Context* ctx,
int shortcut)
const;
47 void add(wreport::Varcode code,
const msg::Context* ctx, wreport::Varcode srccode)
const;
48 void add(wreport::Varcode code,
const msg::Context* ctx)
const;
49 void add(wreport::Varcode code,
const wreport::Var* var)
const;
52 void init(
const Msg& msg, wreport::Subset& subset);
55 void add_ecmwf_synop_head();
80 const wreport::Var* v_press;
81 const wreport::Var* v_pressmsl;
82 const wreport::Var* v_pchange3;
83 const wreport::Var* v_pchange24;
84 const wreport::Var* v_ptend;
85 const wreport::Var* v_geopotential;
87 void init(
const Msg& msg, wreport::Subset& subset);
103 void add_geopotential(wreport::Varcode code);
114 void add_ecmwf_synop_weather();
119 void add_ecmwf_ice();
125 void add_plain_waves();
Store an array of physical data all on the same level.
Definition: context.h:44
Storage for related physical data.
Definition: msg.h:133
Definition: wr_exporters/common.h:37
Information on how a value has been sampled or computed with regards to time.
Definition: types.h:565
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.
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17
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:58
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:6
void add_cloud_data()
Add cloud data, as D02004 and a delayed replication of D02005.