43 virtual bool isValid()
const {
return _metarValidNode->getBoolValue(); }
44 virtual const std::string &
getStationId()
const {
return _station_id; }
46 virtual void setMetar(SGSharedPtr<FGMetar> m);
50 const char * get_metar()
const;
51 void set_metar(
const char * metar );
53 const char * get_station_id()
const {
return _station_id.c_str(); }
54 void set_station_id(
const char * value );
55 const char * get_decoded()
const {
return _decoded.c_str(); }
56 const char * get_description()
const {
return _description.c_str(); }
57 double get_magnetic_variation_deg()
const;
58 double get_magnetic_dip_deg()
const;
59 double get_wind_from_north_fps()
const {
return _wind_from_north_fps; }
60 double get_wind_from_east_fps()
const {
return _wind_from_east_fps; }
61 double get_base_wind_dir()
const {
return _base_wind_dir; }
62 double get_wind_speed()
const {
return _wind_speed; }
63 void set_wind_from_north_fps(
double value );
64 void set_wind_from_east_fps(
double value );
65 void set_base_wind_dir(
double value );
66 void set_wind_speed(
double value );
68 SGSharedPtr<FGMetar> _metar;
69 SGPropertyNode_ptr _rootNode;
70 SGPropertyNode_ptr _metarValidNode;
72 std::string _metarData;
74 std::string _station_id;
75 double _station_elevation;
76 double _station_latitude;
77 double _station_longitude;
78 double _min_visibility;
79 double _max_visibility;
81 int _base_wind_range_from;
82 int _base_wind_range_to;
84 double _wind_from_north_fps;
85 double _wind_from_east_fps;
91 double _sea_level_temperature;
92 double _sea_level_dewpoint;
93 double _sea_level_pressure;
103 std::string _description;