Submitted TAF messages from the network interface

pellelil

New member
I am developing a program called Flightplan Visualizer which lets the user Visualize and search accross (AI) flightplans. In the current development- (not yet released) version I have added support for METAR and TAF, so the users can see these messages when looking at the detailed airport info. As of now I have 3 different "providers" of these METAR messages, one is downloading real time METAR and TAF from the web, and the 2 others obtain these from Active Sky - one is filebased using the "current_wx_snapshot.txt" file, and the other is network based using the web-interface listening on port 19285).

The file-based provider works like a charm, and I simply tracks when AS have created/changed the file in which case I reload it the next time a user requests METAR/TAF-weather. However the web-based access to AS on port 19285 only supports METAR (or at least as I have been able to figure out). Hence I have so far had to "cheat" to get TAF. In order to fake a TAF message I collect multiple METAR message from the samestation offset by 4 hours - e.g.:

Code:
EDDF 060850Z 31009KT 280V340 9999 FEW014 SCT017 BKN042 07/03 Q1030 NOSIG 
EDDF 061315Z 30011KT 9999 BKN012 07/03 Q1030
EDDF 061715Z 30011KT 9999 SCT012 BKN020 07/03 Q1030
EDDF 062115Z 30011KT 9999 SCT012 BKN020 07/03 Q1030
EDDF 070115Z 30011KT 9999 BKN012 07/03 Q1030
EDDF 070515Z 28006KT 9999 SCT020 07/03 Q1030
EDDF 070915Z 28006KT 9999 SCT020 07/03 Q1030
After a little reformatting I turn these multiple METAR-messages into a pseudo TAF-message:

Code:
EDDF 060850Z 31009KT 280V340 9999 FEW014 SCT017 BKN042 07/03 Q1030 NOSIG 
FM061315 30011KT 9999 BKN012 07/03 Q1030
FM061715 30011KT 9999 SCT012 BKN020 07/03 Q1030
FM062115 30011KT 9999 SCT012 BKN020 07/03 Q1030
FM070115 30011KT 9999 BKN012 07/03 Q1030
FM070515 28006KT 9999 SCT020 07/03 Q1030
FM070915 28006KT 9999 SCT020 07/03 Q1030
However I would like to see the support for (real) TAF-messages to be added to the web-interface - e.g. http://localhost:19285/ActiveSky/API/GetTafInfoAt?ICAO=XXXX
 
Top