vars.h File Reference


Detailed Description

Shortcut IDs and functions to quickly refer to commonly used values inside a dba_msg.

The shortcuts are defined in the file vars.csv, which maps a name to the tuple (preferred C type, BLocal, Level type, L1, L2, P indicator, P1, P2). The file vars.csv is used to generate code (vars.h and vars.c) that provides a set of getters and setters for every named value.

#include <dballe/msg/msg.h>

Go to the source code of this file.

Data Structures

struct  _dba_msg_var
 Full data corresponding to a shortcut ID. More...

Defines

#define DBA_MSG_TOT_PREC24   0
 Total precipitation in the last 24 hours.
#define DBA_MSG_TOT_PREC12   1
 Total precipitation in the last 12 hours.
#define DBA_MSG_TOT_PREC6   2
 Total precipitation in the last 6 hours.
#define DBA_MSG_TOT_PREC3   3
 Total precipitation in the last 3 hours.
#define DBA_MSG_TOT_PREC1   4
 Total precipitation in the last hour.
#define DBA_MSG_PRESS_3H   5
 3 hour pressure change at ground level
#define DBA_MSG_PAST_WTR1   6
 Past weather (1).
#define DBA_MSG_PAST_WTR2   7
 Past weather (2).
#define DBA_MSG_PRESS_TEND   8
 Characteristic of pressure tendency.
#define DBA_MSG_GEOPOTENTIAL   9
 Geopotential.
#define DBA_MSG_PRESS   10
 Pressure at ground level.
#define DBA_MSG_HEIGHT_ANEM   11
 Anemometer height.
#define DBA_MSG_TOT_SNOW   12
 Total show depth.
#define DBA_MSG_VISIBILITY   13
 Visibility.
#define DBA_MSG_PRES_WTR   14
 Present weather.
#define DBA_MSG_METAR_WTR   15
 General weather indicator (TAF/METAR).
#define DBA_MSG_WATER_TEMP   16
 Sea/water surface temperature.
#define DBA_MSG_PRESS_MSL   17
 Pressure reduced to mean sea level.
#define DBA_MSG_QNH   18
 Altimeter setting (QNH).
#define DBA_MSG_TEMP_2M   19
 Temperature at 2 metres above ground.
#define DBA_MSG_WET_TEMP_2M   20
 Wet bulb temperature at 2 metres above ground.
#define DBA_MSG_DEWPOINT_2M   21
 Dew point at 2 metres above ground.
#define DBA_MSG_HUMIDITY   22
 Humidity at 2 metres above ground.
#define DBA_MSG_WIND_DIR   23
 Wind direction at 10 metres above ground.
#define DBA_MSG_WIND_SPEED   24
 Wind speed at 10 metres above ground.
#define DBA_MSG_EX_CCW_WIND   25
 Extreme counterclockwise wind direction of a variable wind at 10 metres above ground.
#define DBA_MSG_EX_CW_WIND   26
 Extreme clockwise wind direction of a variable wind at 10 metres above ground.
#define DBA_MSG_WIND_MAX   27
 Maximum wind gust speed at 10 metres above ground.
#define DBA_MSG_CLOUD_N   28
 Total cloud cover (N).
#define DBA_MSG_CLOUD_NH   29
 Cloud amount (NH).
#define DBA_MSG_CLOUD_HH   30
 Height of base of cloud (HH).
#define DBA_MSG_CLOUD_CL   31
 Cloud type (CL).
#define DBA_MSG_CLOUD_CM   32
 Cloud type (CM).
#define DBA_MSG_CLOUD_CH   33
 Cloud type (CH).
#define DBA_MSG_BLOCK   34
 WMO block number.
#define DBA_MSG_STATION   35
 WMO station number.
#define DBA_MSG_FLIGHT_REG_NO   36
 Aircraft registration number or other identification.
#define DBA_MSG_IDENT   37
 Mobile station identifier.
#define DBA_MSG_ST_DIR   38
 Direction of motion of moving observing platform.
#define DBA_MSG_ST_SPEED   39
 Speed of motion of moving observing platform.
#define DBA_MSG_ST_NAME   40
 Station or site name.
#define DBA_MSG_ST_NAME_ICAO   41
 ICAO location indicator.
#define DBA_MSG_POLL_LCODE   42
 Air quality observing station local code.
#define DBA_MSG_POLL_SCODE   43
 Airbase air quality observing station code.
#define DBA_MSG_POLL_GEMSCODE   44
 GEMS air quality observing station code.
#define DBA_MSG_POLL_SOURCE   45
 Air quality observing station dominant emission source.
#define DBA_MSG_POLL_ATYPE   46
 Air quality observing station area type.
#define DBA_MSG_POLL_TTYPE   47
 Air quality observing station terrain type.
#define DBA_MSG_ST_TYPE   48
 Type of station.
#define DBA_MSG_WIND_INST   49
 Type of instrumentation for wind measurement.
#define DBA_MSG_TEMP_PRECISION   50
 Precision of temperature observation.
#define DBA_MSG_SONDE_TYPE   51
 Radiosonde type.
#define DBA_MSG_SONDE_METHOD   52
 Radiosonde computational method.
#define DBA_MSG_NAVSYS   53
 Aircraft navigational system.
#define DBA_MSG_DATA_RELAY   54
 Aircraft data relay system.
#define DBA_MSG_FLIGHT_ROLL   55
 Aircraft roll angle.
#define DBA_MSG_LATLON_SPEC   56
 Original specification of latitude/longitude.
#define DBA_MSG_YEAR   57
 Year of the observation.
#define DBA_MSG_MONTH   58
 Month of the observation.
#define DBA_MSG_DAY   59
 Day of the observation.
#define DBA_MSG_HOUR   60
 Hour of the observation.
#define DBA_MSG_MINUTE   61
 Minute of the observation.
#define DBA_MSG_SECOND   62
 Second of the observation.
#define DBA_MSG_LATITUDE   63
 Latitude of the station.
#define DBA_MSG_LONGITUDE   64
 Longiture of the station.
#define DBA_MSG_HEIGHT   65
 Height of station.
#define DBA_MSG_ISOBARIC_SURFACE   66
 Isobaric surface.
#define DBA_MSG_HEIGHT_BARO   67
 Height of barometer above mean sea level.
#define DBA_MSG_FLIGHT_PHASE   68
 Phase of aircraft flight.
#define DBA_MSG_TIMESIG   69
 Time significance.
#define DBA_MSG_FLIGHT_PRESS   70
 Pressure at aircraft position.
#define DBA_MSG_CLOUD_N1   71
 Cloud amount (N1).
#define DBA_MSG_CLOUD_C1   72
 Cloud amount (C1).
#define DBA_MSG_CLOUD_H1   73
 Height of base of cloud (H1).
#define DBA_MSG_CLOUD_N2   74
 Cloud amount (N2).
#define DBA_MSG_CLOUD_C2   75
 Cloud amount (C2).
#define DBA_MSG_CLOUD_H2   76
 Height of base of cloud (H2).
#define DBA_MSG_CLOUD_N3   77
 Cloud amount (N3).
#define DBA_MSG_CLOUD_C3   78
 Cloud amount (C3).
#define DBA_MSG_CLOUD_H3   79
 Height of base of cloud (H3).
#define DBA_MSG_CLOUD_N4   80
 Cloud amount (N4).
#define DBA_MSG_CLOUD_C4   81
 Cloud amount (C4).
#define DBA_MSG_CLOUD_H4   82
 Height of base of cloud (H4).
#define DBA_MSG_VARTABLE_SIZE   82
 Number of items in dba_msg_vartable.

Typedefs

typedef struct _dba_msg_vardba_msg_var
 Full data corresponding to a shortcut ID.

Variables

struct _dba_msg_var dba_msg_vartable []
 Array with all the full expansions of the shortcut IDs, indexed by shortcut ID.


Generated on Sun May 18 18:41:51 2008 for libdballe by  doxygen 1.5.5