Howto:Fetch live aloft data: Difference between revisions

m
Line 8: Line 8:
When enabling the <tt>--real-weather-fetch</tt> option, FlightGear searches for the nearest airport to your present position that has a METAR service. If it finds one, it propagates the environmental settings and the station id of the airport the METAR was fetched for. A tiny add-on sends this station-id to a listening daemon program called aloftd.  
When enabling the <tt>--real-weather-fetch</tt> option, FlightGear searches for the nearest airport to your present position that has a METAR service. If it finds one, it propagates the environmental settings and the station id of the airport the METAR was fetched for. A tiny add-on sends this station-id to a listening daemon program called aloftd.  


The aloftd waits for input from FlightGear and interprets it as station ids. If the station id changes, it retrieves the aloft forcast from Jeppesen(R), parses the data, connects to the FlightGear telnet server and sets the aloft data in the property tree.
The aloftd waits for input from FlightGear and interprets it as station ids. If the station id changes, it retrieves the aloft forecast from Jeppesen(R), parses the data, connects to the FlightGear telnet server and sets the aloft data in the property tree.


== What to do ==
== What to do ==
115

edits