Given an ICAO station plus a host of options, pulls a METAR from the NWS server, decodes it, and returns the result as a string. Options include line starts and stops, plus weather details displayed in either metric (imperial) or imperial (metric) or other, depending on context. Most standard and some non-standard remarks decoded. Emphasis on weblogger-controlled output, therefore darn near everything is optional.
See readme for details.
Available for download at http://pericat.ca/downloads/weatherreport.tar.gz
(Portions derived from PHP Weather. Licensed as Open Source.)