/usr/include/wreport/codetables.h is in libwreport-dev 3.6-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | #ifndef WREPORT_CODETABLES
#define WREPORT_CODETABLES
/** @file
* Constants from BUFR/CREX code tables that are used in code.
*
* See http://www.wmo.int/pages/prog/www/WMOCodes/WMO306_vI2/LatestVERSION/LatestVERSION.html
* as Code and Flag Tables associated with BUFR/CREX Table B
*/
namespace wreport {
// 7 bit, leftmost is bit 1
namespace BUFR08001 {
//@{
/// BUFR08001 code table constants
const unsigned int MISSING = 0x01; /* 7 */
const unsigned int SIGWIND = 0x02; /* 6 */
const unsigned int SIGTH = 0x04; /* 5 */
const unsigned int MAXWIND = 0x08; /* 4 */
const unsigned int TROPO = 0x10; /* 3 */
const unsigned int STD = 0x20; /* 2 */
const unsigned int SURFACE = 0x40; /* 1 */
const unsigned int ALL_MISSING = 0x7f;
//@}
}
// 18 bit, leftmost is bit 1
namespace BUFR08042 {
//@{
/// BUFR08042 code table constants
const unsigned int MISSING = 0x00001; /* 18 */
const unsigned int H2PRESS = 0x00002; /* 17 */
const unsigned int RESERVED = 0x00004; /* 16 */
const unsigned int REGIONAL = 0x00008; /* 15 */
const unsigned int TOPWIND = 0x00010; /* 14 */
const unsigned int ENDMISSW = 0x00020; /* 13 */
const unsigned int BEGMISSW = 0x00040; /* 12 */
const unsigned int ENDMISSH = 0x00080; /* 11 */
const unsigned int BEGMISSH = 0x00100; /* 10 */
const unsigned int ENDMISST = 0x00200; /* 9 */
const unsigned int BEGMISST = 0x00400; /* 8 */
const unsigned int SIGWIND = 0x00800; /* 7 */
const unsigned int SIGHUM = 0x01000; /* 6 */
const unsigned int SIGTEMP = 0x02000; /* 5 */
const unsigned int MAXWIND = 0x04000; /* 4 */
const unsigned int TROPO = 0x08000; /* 3 */
const unsigned int STD = 0x10000; /* 2 */
const unsigned int SURFACE = 0x20000; /* 1 */
const unsigned int ALL_MISSING = 0x3ffff;
//@}
}
}
#endif
|