libwreport 3.36
codetables.h
Go to the documentation of this file.
1#ifndef WREPORT_CODETABLES
2#define WREPORT_CODETABLES
3
11namespace wreport {
12
13// 7 bit, leftmost is bit 1
14namespace BUFR08001 {
16
17const unsigned int MISSING = 0x01; /* 7 */
18const unsigned int SIGWIND = 0x02; /* 6 */
19const unsigned int SIGTH = 0x04; /* 5 */
20const unsigned int MAXWIND = 0x08; /* 4 */
21const unsigned int TROPO = 0x10; /* 3 */
22const unsigned int STD = 0x20; /* 2 */
23const unsigned int SURFACE = 0x40; /* 1 */
24const unsigned int ALL_MISSING = 0x7f;
26}
27
28// 18 bit, leftmost is bit 1
29namespace BUFR08042 {
31
32const unsigned int MISSING = 0x00001; /* 18 */
33const unsigned int H2PRESS = 0x00002; /* 17 */
34const unsigned int RESERVED = 0x00004; /* 16 */
35const unsigned int REGIONAL = 0x00008; /* 15 */
36const unsigned int TOPWIND = 0x00010; /* 14 */
37const unsigned int ENDMISSW = 0x00020; /* 13 */
38const unsigned int BEGMISSW = 0x00040; /* 12 */
39const unsigned int ENDMISSH = 0x00080; /* 11 */
40const unsigned int BEGMISSH = 0x00100; /* 10 */
41const unsigned int ENDMISST = 0x00200; /* 9 */
42const unsigned int BEGMISST = 0x00400; /* 8 */
43const unsigned int SIGWIND = 0x00800; /* 7 */
44const unsigned int SIGHUM = 0x01000; /* 6 */
45const unsigned int SIGTEMP = 0x02000; /* 5 */
46const unsigned int MAXWIND = 0x04000; /* 4 */
47const unsigned int TROPO = 0x08000; /* 3 */
48const unsigned int STD = 0x10000; /* 2 */
49const unsigned int SURFACE = 0x20000; /* 1 */
50const unsigned int ALL_MISSING = 0x3ffff;
52}
53
54}
55
56#endif
const unsigned int MISSING
BUFR08001 code table constants.
Definition: codetables.h:17
String functions.
Definition: benchmark.h:13