PEAR::Services_Weather searches for given locations and retrieves current weather data and forecasts (depending on the used service). GlobalWeather from CapeScience, Weather XML from EJSE (US only), a XOAP service from Weather.com, and METAR/TAF from NOAA are supported. Further services will be included if they become available, have a usable API, and are properly documented.
|Tags||Internet Web Dynamic Content Scientific/Engineering Software Development Libraries php classes|
|Operating Systems||OS Independent|
Release Notes: A bug concerning parsing weird TAFs has been fixed again in Metar.php, since the first fix was incorrect.
Release Notes: In Metar.php, bug #9471 (undefined variable ($status)), bug #15637 (new TAF format broke date groups), and bug #14732 (parsing weird TAFs) have been fixed. In Weatherdotcom.php, default forecast days has been set to 5.
Release Notes: Various additions to the METAR/TAF service, including cloud types, pressure tendencies and the US version of ice pellets in the conditions. Parsing has been changed for the FMC notations and the wind and cloud related groups. EJSE has been fixed to make it work again with the demand for registration. Globalweather seems to be back online after more than a year, but apparently the service is broken, because the replies are all invalid; thus it is tagged for removal unless Capescience fixes this.
Release Notes: The license was changed to a BSD-style license to accomodate for Debian requests. PEAR 1.4 compatibility was added by using the file package2.xml. Various minor bugfixes were made, especially in the METAR code. HTTP_Request is now almost exclusively used to retrieve HTTP or SOAP-based information. Calculation of sunrise/sunset times was added for METAR. METAR now features an icon to represent the current conditions. Caching of data was improved.
Release Notes: A return-by-reference fix was made for PHP 4.4.