Home

metaf2xml can download, parse and decode aviation routine weather reports (METAR, SPECI, SAO), aerodrome forecasts (TAF), synoptic observations (SYNOP), observations from buoys (BUOY) and meteorological reports from aircrafts (AMDAR). Data can also be taken from decoded BUFR messages. The extracted data can be written as XML or passed to a user-defined function (all done in Perl).

It also provides XSLT style sheets to convert the XML to plain language (text, HTML), or XML with different schemas. A web-based (CGI) user interface can be used to download and display up-to-date weather data from NOAA, Ogimet, and other sources.

Project Members:
Latest news:

version 2.11 released

by metaf2xml 2026-04-17

If metaf.pl is used with format=text, the output is now XHTML (with the UI) if the client accepts this media type, otherwise plain text (without the UI); this avoids issues with the encoding of special HTML symbols in messages and translations. The release has further changes to adapt to the new NOAA AWC Data API. Obscuration in METAR remarks can now have multiple cloud layers. A missing prevailing visibility in METAR is now warned about. The total cloud cover in SYNOP BUFR is not converted to oktas anymore.


MongoDB Logo MongoDB