metaf2xml / News: Recent posts

version 2.2 released

BUFR messages with multiple observations are split into one report per observation. Multiple observations of past weather (with different time periods) are allowed (not backwards compatible). A few minor bugs were fixed and several smaller improvements were made.

Posted by metaf2xml 2017-06-17

Multiple reports from one BUFR message

Starting with the next version, metaf2xml will split BUFR messages with multiple observations (i.e. taken at different times) and generate one report per observation. Therefore the callback function configured via start_cb() will possibly be called with data from more than one report during one call of parse_report() or process_bufr(). If the callback function does not process the data immediately (or at the latest at the end of a report) it needs to be made capable of storing multiple reports which need to be processed after parse_report()/process_bufr() finish.

Posted by metaf2xml 2017-03-14

version 2.1 released

The URL for fetching data from NOAA/IWS and NOAA/NWS was adapted, the search in data files was optimised and/or fixed. The friction coefficient for the runway state in METAR is allowed to be 0, all values are now decoded.

Posted by metaf2xml 2016-10-27

version 2.0 released

Processing of decoded BUFR messages was extended. BUFR decoding of section 4 (data) can be skipped depending on fields in BUFR sections 1..3 with Geo::BUFR 1.33+. Multiple observations in an AMDAR message are allowed. The pseudo-BUFR (text) format was improved. Missing BUFR values are not reported as unprocessed. The CGI script recognises BUFR report types (IOB, IUA, ...). Decoding of binary BUFR messages was moved to Precipitation and cloud information is shown as list in one field instead of using 1..3 fields in the summary. Many smaller improvements were made and a few minor bugs were fixed.

Posted by metaf2xml 2016-07-09

version 1.58 released

The processing of meteorological reports from aircrafts (AMDAR) was added. Several minor improvements were made and a few minor bugs were fixed.

Posted by metaf2xml 2015-12-23

version 1.57 released

Perl 5.10.1 or newer (was: 5.8.1) is required. BUFR processing was extended. The download of data from Ogimet and NOAA/NWS dataserver was adapted. Several smaller improvements were made.

Posted by metaf2xml 2015-07-12

Removal of old released files

To prevent the accidental download of old released files (e.g. via links on web sites providing outdated information about the project), Files will contain files for the latest release, only.

To get a ZIP archive for releases 1.47 or newer, go to the "Code" page, select the desired release tag (e.g. "r1.47"), and click "Download Snapshot". Or, from the command line, execute:... read more

Posted by metaf2xml 2015-06-29

Perl 5.10.1+ required

The next release will require Perl version 5.10.1 or newer. If you have to use an older version of Perl please tell me which version you need (via ticket, forum, or message).

Posted by metaf2xml 2015-06-09

version 1.56 released

The processing of pre-analyzed BUFR messages was prepared. Pipe opens in the CGI script have been improved. Pod::Usage is used for the usage information. The Makefile was reduced to a bare minimum. The option -n (dry run) was added for Several minor improvements were made and a few minor bugs were fixed.

Posted by metaf2xml 2015-01-10

version 1.55 released

The translation files were renamed from .xsl to .xml. The translation for weather was improved. The functions finish_cb() and finish_xml() of metaf2xml::parser were merged to finish(). Some minor bugs were fixed and some smaller improvements were made.

Posted by metaf2xml 2014-06-01

Migration to BUFR

According to the plan (from 2010) for the migration from traditional alphanumeric codes (TAC) to BUFR (see, the parallel distribution of SYNOP and BUOY as TAC and BUFR will stop in November. metaf2xml cannot decode BUFR, so it cannot be used to process SYNOP and BUOY messages encoded as BUFR. If you depend on having up-to-date SYNOP and BUOY information after the migration is completed please check alternative software (e.g. on the web site above).

Posted by metaf2xml 2014-05-08

version 1.54 released

The message prefixes SYNOP and BUOY are deprecated. TAF reports are now also fetched and displayed for mode summary. The QNH and temperature forecast for TAF is processed. Several minor improvements were made and a few minor bugs were fixed.

Posted by metaf2xml 2013-12-28

version 1.53 released

Five more groups are processed for SYNOP sections 3 and 9. The summary also shows the direction for wind gusts and the offset to the exact observation time. If a DB is used as message source, station information is also fetched from this DB. In the UIs, SYNOP stations are now distinguished by station type instead of source. The GUI demo now works with browsers based on WebKit. The check for the exact Perl module version was improved. Style information for the UI was moved to a CSS file. The installation script was improved. Some minor bugs were fixed anda few smaller improvements were made.

Posted by metaf2xml 2013-09-29

version 1.52 released

The module was merged into XML output is now buffered. Changes to the standard effective from November were implemented. Many smaller improvements were made and a few minor bugs were fixed.

Posted by metaf2xml 2013-06-27

Module merged into

In the next version, the code from the module will be merged into This simplifies some code and maintenance. This change also removes the "internal interface" between them, a variable containing the parsed data. The use of this variable other than by was never intended and advised against, its structure undocumented and susceptible to changes without notice and backwards compatibility. If you are using this variable and need help with switching to the callback mechanism, please say so. In the request, please specify how the data should be provided to fit your software best, and if any of the examples in comes close to your expected solution.

Posted by metaf2xml 2013-04-18

version 1.51 released

SAO processing was extended further. FMH rules are now used for cloud bases in METAR, TAF and SYNOP from the US. Many smaller improvements were made and a few minor bugs were fixed.

Posted by metaf2xml 2013-02-20

version 1.50 released

The source for messages can now also be an SQL database. SAO processing was extended. The Russian translation was improved (thanks to Roman Nikitin). The processing of SYNOP section 5 was extended for RU and LT. Yet another example callback function (producing XML) was added. There are a few other minor changes.

Posted by metaf2xml 2012-11-01

version 1.49 released

The number of errors raised for invalid groups in METAR and TAF was reduced significantly: more groups and variants are recognised, certain unrecognised groups are skipped. The processing of BUOY messages is now complete and Canadian automatic SAO are also processed. The option -x for was renamed to -o; the option is honored now also by the example callback functions. A few minor bugs were fixed.

Posted by metaf2xml 2012-07-19

version 1.48 released

Groups in SYNOP section 5 from RU and some in BUOY section 4 are now processed. Parsing of METAR and TAF was extended. The CGI script and the user interface was adapted to NOAA/IWS going out of service. The documentation was extended. Another example callback function was added to A minor bug was fixed and there are a few other minor improvements.

Posted by metaf2xml 2012-04-18

version 1.47 released

This release extends parsing for BUOY and SYNOP messages. There are many smaller changes and other extensions.

Posted by metaf2xml 2012-01-06

Additional Git commit for installable files

Starting with release 1.47, there will be an additional commit containing the changes for the released package. Thus installable files for releases are now also accessible from a local Git clone or the link "snapshot" of the Git web interface at SourceForge. This commit will have the tag rVERSION (e.g. r1.47). Immediately after a release, the branch "unstable" will also point to this commit instead of a commit containing installable files for a dummy version "0.YYYYmmdd".

Posted by metaf2xml 2012-01-04

version 1.46 released

Starting with this release, the parsed data can be accessed via a callback function. Releases are now installed with a Perl script. The hourly temperature in METAR remarks is processed as an observed value, not an 1 hour average. Missing data for weather history (RABMM) and 24h min./max. temperature in METAR remarks is recognised. Many smaller changes and bugfixes have been made.

Posted by metaf2xml 2011-10-26

Access to parsed data via callback function

Until now, the only supported output format for the data was XML, as this was the project's original purpose. But one question was (implicitely) raised some time ago in a forum here, and now again in another forum: what if the data is needed in a different format? Conversion from XML was always possible, but the XML had to be created and parsed again even if the program using the data was also Perl. It was never really an option to use the return value of parse_report(): it is an internal interface, with a data structure cumbersome to process and prone to frequent changes.
This triggered the idea to add 2 functions to metaf2xml:XML (the name now doesn't fit exactly anymore). One function, start_cb(), is be used to hook up a callback function which is passed the same data in the same sequence used for writing the data as XML; in fact, the function to write the data as XML is now also a callback function. The callback function can then format, filter, and/or aggregate the data, and pass it to other functions. As an example, the callback function simpleDump() was added to
A preliminary version of this feature is in Git 'unstable', there may be some changes until it is released. You are invited to try it out, feedback is welcome.

Posted by metaf2xml 2011-10-17

version 1.45 released

Two small but nasty bugs were fixed.

Posted by metaf2xml 2011-07-22

version 1.44 released and now use the module; less forking is now required. The source "Ogimet ship" can now be used to fetch ship data. The display of wind, pressure (change) and temperature in the summary was extended. Many smaller improvements and bugfixes were made.

Posted by metaf2xml 2011-07-21