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