PEAR::Services_Weather_Metar
This class acts as an interface to the metar service of weather.noaa.gov. It searches for locations given in ICAO notation and retrieves the current weather data.
Of course the parsing of the METAR-data has its limitations, as it follows the Federal Meteorological Handbook No.1 with modifications to accomodate for non-US reports, so if the report deviates from these standards, you won't get it parsed correctly. Anything that is not parsed, is saved in the "noparse" array-entry, returned by getWeather(), so you can do your own parsing afterwards. This limitation is specifically given for remarks, as the class is not processing everything mentioned there, but you will get the most common fields like precipitation and temperature-changes. Again, everything not parsed, goes into "noparse".
If you think, some important field is missing or not correctly parsed, please file a feature- request/bugreport at http://pear.php.net/ and be sure to provide the METAR report with a _detailed_ explanation!
For a working example, please take a look at docs/Services_Weather/examples/metar-basic.php