WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
SynopTool.h
1#ifndef _WINC_SYNOPTOOL
2#define _WINC_SYNOPTOOL
3
4#include <WXP/SfcData.h>
5#include <WXP/SfcWmoData.h>
6
7namespace WXP {
8 class SynopTool {
9 public:
10 static int decode( SfcWmoData &data, SfcData &sfcdata);
11 static int decode( char *data, SfcData &sfcdata);
12 static float ceiling( int cb );
13 static float visibility( int vis );
14 static int toCeilingCode( float cb );
15
16 static int weather( int wx, char *wx_str );
17 static int autoweather( int wx, char *wx_str );
18
19 enum RepType {
20 UNK,
21 LAND,
22 SHIP,
23 BUOY,
24 DRIBU,
25 MOBIL,
26 CMAN,
27 MISC
28 };
29
30 enum {
31 KNT,
32 MPS
33 };
34 };
35}
36#endif
This class stores surface data.
Definition: SfcData.h:12
This class hold information about raw surface reports (METAR, SAO).
Definition: SfcWmoData.h:8
This class is a set of tools to manage SYNOP data.
Definition: SynopTool.h:8
static int decode(SfcWmoData &data, SfcData &sfcdata)
Definition: SynopTool.cc:28
All WXP classes fall under the WXP namespace.
Definition: Angle.h:4