Home » Web Services » Services_Weather
This class acts as an interface to various online weather-services.
This package is unmaintained.
Download latest release 1.4.7 (archived versions might be outdated)
License: BSD License
Description
Services_Weather searches for given locations and retrieves current
weather data and, dependent on the used service, also forecasts. Up to
now, 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 get included, if they become available, have a
usable API and are properly documented.
Documentation
Maintainers
- Alexander Wirtz (eru) — lead, active
Dependencies
Required
- PHP (>= 4.0.0, <= 6.0.0)
- PEAR Installer (>= 1.4.0)
- HTTP_Request (>= 1.2.0)
- ctype (extension)
- pcre (extension)
Optional
- Net_FTP (>= 1.3.1)
- Cache (>= 1.5.3)
- DB (>= 1.4.0)
- SOAP (>= 0.7.5)
- XML_Serializer (>= 0.8)
Releases
- 1.4.7 (stable, 2012-10-22)
Release notes
License: BSD License
QA Release
Bug #19228 Fatal error: Cannot use object of type PEAR_Error
Bug #19213 Undefined array index in Metar.php - 1.4.6 (stable, 2011-12-10)
Release notes
License: BSD License
QA Release
Bug #16801 Wrong temperature calculation on current day eru
Bug #16802 Location used without being processed eru
Request # 16803 Caching without cache eru
Bug #16899 Pressure conversion from inHg to hPa calculated wrong eru
Bug #16928 getWeatherIcon() vs. grains eru
Request #17856 getWeatherIcon() / time issue eru
Request #18502 Moon data not avaolable eru
Request #18503 Use of Cache_Lite eru - 1.4.5 (stable, 2009-11-04)
- 1.4.4 (stable, 2009-03-12)
- 1.4.3 (stable, 2008-05-10)
- 1.4.2 (stable, 2007-04-17)
- 1.4.1 (stable, 2007-04-16)
- 1.4.0 (stable, 2006-03-08)
- 1.3.2 (stable, 2005-07-18)
- 1.3.1 (stable, 2004-10-01)
- 1.3.0 (stable, 2004-07-12)
- 1.2.2 (stable, 2004-03-31)
- 1.2.1 (stable, 2004-02-16)
- 1.2.0 (stable, 2004-01-14)
- 1.1.0 (stable, 2003-12-30)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #412 | Closed | Bug | 2003-12-12 | Invalid INSERT syntax | |
| #621 | Closed | Bug | 2004-01-24 | Call to undefined function | |
| #692 | Bogus | Bug | 2004-02-05 | testing strlen on array create unwanted warning in weatherdotcom module | |
| #896 | Closed | Bug | 2004-02-26 | PEAR QA: improvement for get_class()-usage | |
| #1074 | Closed | Bug | 2004-03-26 | Set timeout for requests | |
| #3411 | Suspended | Bug | 2005-02-09 | Weatherdotcom.php not locale safe | |
| #3419 | Bogus | Req | 2005-02-09 | METAR units conversion hard coded | |
| #3616 | No Feedback | Bug | 2005-02-27 | Globalweather generates notices | |
| #4814 | Closed | Bug | 2005-07-13 | References fix | |
| #4929 | Closed | Bug | 2005-07-26 | Fractional visibility not parsed correctly | |
| #5287 | Bogus | Bug | 2005-09-03 | Error handling failure | |
| #5653 | Bogus | Req | 2005-10-10 | I've made some tweaks | |
| #6327 | Open | Req | 2005-12-22 | add MDB2 | |
| #6420 | Bogus | Bug | 2006-01-05 | Bug in searchLocation in Metar.php | |
| #6652 | Closed | Bug | CVS | 2006-02-01 | When ' is used in city on country name searchLocation() returns error |
| #6781 | Closed | Bug | 1.3.2 | 2006-02-14 | METAR Location ID check rejects valid ICAO codes |
| #7928 | Bogus | Bug | 1.4.0 | 2006-06-16 | Problems parsing array in Weather/Metar.php |
| #9471 | Closed | Bug | 1.4.0 | 2006-11-26 | Undefined variable |
| #9617 | Bogus | Bug | 1.4.0 | 2006-12-14 | getWeatherIcon always shows night |
| #10713 | Closed | Bug | 1.4.0 | 2007-04-13 | ctype dependency missing |
| #11437 | Bogus | Bug | 1.4.2 | 2007-06-26 | When using script, returns with lengthy PHP error. |
| #11438 | Bogus | Req | 1.4.2 | 2007-06-26 | When using script, returns with lengthy PHP error. |
| #13845 | Closed | Bug | 1.4.2 | 2008-05-06 | Weather.com service requires link request in all xoap requests |
| #13941 | Closed | Bug | 1.4.3 | 2008-05-19 | Errors when fewer forecasts returned as requested |
| #14732 | Closed | Bug | 1.4.3 | 2008-10-02 | Parsing weird TAFs |
| #15637 | Closed | Bug | 1.4.3 | 2009-01-14 | New TAF format breaks date groups |
| #15738 | Closed | Bug | 1.4.3 | 2009-01-23 | not initialized variable in Metar.php |
| #16748 | Bogus | Bug | 1.4.4 | 2009-10-29 | Array to string conversion |
| #16801 | Closed | Bug | 1.4.5 | 2009-11-18 | Wrong temperature calculation on current day |
| #16802 | Closed | Bug | 1.4.5 | 2009-11-18 | Location used without being processed |
| #16803 | Closed | Req | 1.4.5 | 2009-11-18 | Caching without cache |
| #16899 | Closed | Bug | 1.4.5 | 2009-12-10 | Pressure conversion from inHg to hPa calculated wrong |
| #16928 | Closed | Bug | 1.4.5 | 2009-12-18 | getWeatherIcon() vs. grains |
| #17856 | Closed | Req | 1.4.5 | 2010-09-09 | getWeatherIcon() / time issue |
| #18502 | Closed | Req | 1.4.5 | 2011-05-04 | Moon data not avaolable |
| #18503 | Closed | Req | 1.4.5 | 2011-05-04 | Use of Cache_Lite |
| #19213 | Closed | Bug | 1.4.6 | 2012-01-10 | Undefined array index in Metar.php |
| #19215 | Open | Req | 1.4.6 | 2012-01-10 | Yahoo! Weather |
| #19228 | Closed | Bug | 1.4.6 | 2012-01-16 | Fatal error: Cannot use object of type PEAR_Error |
| #19860 | Open | Bug | 1.4.7 | 2013-03-19 | Extract tarball FAILED Release is invalid |
| #19861 | Bogus | Bug | 1.4.7 | 2013-03-19 | Extract tarball FAILED Release is invalid |