This class is a set of tools to manage SYNOP data. More...
#include "../include/SynopTool.h"
Public Types | |
| enum | RepType { UNK, LAND, SHIP, BUOY, DRIBU, CMAN, MISC } |
| enum | { KNT, MPS } |
Static Public Member Functions | |
| static int | decode (SfcWmoData &data, SfcData &sfcdata) |
| static int | decode (char *data, SfcData &sfcdata) |
| static float | ceiling (int cb) |
| static float | visibility (int vis) |
| static int | toCeilingCode (float cb) |
| static int | weather (int wx, char *wx_str) |
| static int | autoweather (int wx, char *wx_str) |
This class is a set of tools to manage SYNOP data.
| int SynopTool::decode | ( | char * | data, | |
| SfcData & | sfcdata | |||
| ) | [static] |
| int SynopTool::decode | ( | SfcWmoData & | data, | |
| SfcData & | sfcdata | |||
| ) | [static] |
Decodes SYNOP reports
| data | Data structure containing data to decode |
| sfcdata | Output SfcData class to put data |
References WXP::Date::adjustHour(), WXP::Date::adjustMinute(), WXP::Convert::CtoK(), WXP::Calc::dewTemp(), WXP::Scanp::inc(), WXP::SfcData::init(), WXP::Const::MISS, WXP::Convert::MPStoKT(), WXP::Wxp::outDebug(), WXP::Scanp::scan(), WXP::Scanp::set(), WXP::Date::setMinute(), and WXP::Scanp::string().
Referenced by decode().
1.6.1