libdballe 4.0.18
|
Shortcut IDs and functions to quickly refer to commonly used values inside a dba_msg. More...
#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_PREC1 0 |
Total precipitation in the last hour. | |
#define | DBA_MSG_TOT_PREC3 1 |
Total precipitation in the last 3 hours. | |
#define | DBA_MSG_TOT_PREC6 2 |
Total precipitation in the last 6 hours. | |
#define | DBA_MSG_TOT_PREC12 3 |
Total precipitation in the last 12 hours. | |
#define | DBA_MSG_TOT_PREC24 4 |
Total precipitation in the last 24 hours. | |
#define | DBA_MSG_PRESS_3H 5 |
3 hour pressure change at ground level | |
#define | DBA_MSG_PRESS_TEND 6 |
Characteristic of pressure tendency. | |
#define | DBA_MSG_PAST_WTR1 7 |
Past weather (1) | |
#define | DBA_MSG_PAST_WTR2 8 |
Past weather (2) | |
#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_REP_MEMO 42 |
Report mnemonic. | |
#define | DBA_MSG_POLL_LCODE 43 |
Air quality observing station local code. | |
#define | DBA_MSG_POLL_SCODE 44 |
Airbase air quality observing station code. | |
#define | DBA_MSG_POLL_GEMSCODE 45 |
GEMS air quality observing station code. | |
#define | DBA_MSG_POLL_SOURCE 46 |
Air quality observing station dominant emission source. | |
#define | DBA_MSG_POLL_ATYPE 47 |
Air quality observing station area type. | |
#define | DBA_MSG_POLL_TTYPE 48 |
Air quality observing station terrain type. | |
#define | DBA_MSG_ST_TYPE 49 |
Type of station. | |
#define | DBA_MSG_WIND_INST 50 |
Type of instrumentation for wind measurement. | |
#define | DBA_MSG_TEMP_PRECISION 51 |
Precision of temperature observation. | |
#define | DBA_MSG_SONDE_TYPE 52 |
Radiosonde type. | |
#define | DBA_MSG_SONDE_METHOD 53 |
Radiosonde computational method. | |
#define | DBA_MSG_NAVSYS 54 |
Aircraft navigational system. | |
#define | DBA_MSG_DATA_RELAY 55 |
Aircraft data relay system. | |
#define | DBA_MSG_FLIGHT_ROLL 56 |
Aircraft roll angle. | |
#define | DBA_MSG_LATLON_SPEC 57 |
Original specification of latitude/longitude. | |
#define | DBA_MSG_YEAR 58 |
Year of the observation. | |
#define | DBA_MSG_MONTH 59 |
Month of the observation. | |
#define | DBA_MSG_DAY 60 |
Day of the observation. | |
#define | DBA_MSG_HOUR 61 |
Hour of the observation. | |
#define | DBA_MSG_MINUTE 62 |
Minute of the observation. | |
#define | DBA_MSG_SECOND 63 |
Second of the observation. | |
#define | DBA_MSG_LATITUDE 64 |
Latitude of the station. | |
#define | DBA_MSG_LONGITUDE 65 |
Longiture of the station. | |
#define | DBA_MSG_HEIGHT 66 |
Height of station. | |
#define | DBA_MSG_ISOBARIC_SURFACE 67 |
Isobaric surface. | |
#define | DBA_MSG_HEIGHT_BARO 68 |
Height of barometer above mean sea level. | |
#define | DBA_MSG_FLIGHT_PHASE 69 |
Phase of aircraft flight. | |
#define | DBA_MSG_TIMESIG 70 |
Time significance. | |
#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_var * | dba_msg_var |
Functions | |
int | dba_msg_resolve_var (const char *name) |
Resolve a var name to a var ID. | |
int | dba_msg_resolve_var_substring (const char *name, int len) |
Resolve a var name to a var ID, avoiding to compute the length of name. | |
Variables | |
struct _dba_msg_var | dba_msg_vartable [] |
Array with all the full expansions of the shortcut IDs, indexed by shortcut ID. |
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.
typedef struct _dba_msg_var* dba_msg_var |
Full data corresponding to a shortcut ID.