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