PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#412ClosedBug2003-12-12Invalid INSERT syntax
#621ClosedBug2004-01-24Call to undefined function
#692BogusBug2004-02-05testing strlen on array create unwanted warning in weatherdotcom module
#896ClosedBug2004-02-26PEAR QA: improvement for get_class()-usage
#1074ClosedBug2004-03-26Set timeout for requests
#3411SuspendedBug2005-02-09Weatherdotcom.php not locale safe
#3419BogusReq2005-02-09METAR units conversion hard coded
#3616No FeedbackBug2005-02-27Globalweather generates notices
#4814ClosedBug2005-07-13References fix
#4929ClosedBug2005-07-26Fractional visibility not parsed correctly
#5287BogusBug2005-09-03Error handling failure
#5653BogusReq2005-10-10I've made some tweaks
#6327OpenReq2005-12-22add MDB2
#6420BogusBug2006-01-05Bug in searchLocation in Metar.php
#6652ClosedBugCVS2006-02-01When ' is used in city on country name searchLocation() returns error
#6781ClosedBug1.3.22006-02-14METAR Location ID check rejects valid ICAO codes
#7928BogusBug1.4.02006-06-16Problems parsing array in Weather/Metar.php
#9471ClosedBug1.4.02006-11-26Undefined variable
#9617BogusBug1.4.02006-12-14getWeatherIcon always shows night
#10713ClosedBug1.4.02007-04-13ctype dependency missing
#11437BogusBug1.4.22007-06-26When using script, returns with lengthy PHP error.
#11438BogusReq1.4.22007-06-26When using script, returns with lengthy PHP error.
#13845ClosedBug1.4.22008-05-06Weather.com service requires link request in all xoap requests
#13941ClosedBug1.4.32008-05-19Errors when fewer forecasts returned as requested
#14732ClosedBug1.4.32008-10-02Parsing weird TAFs
#15637ClosedBug1.4.32009-01-14New TAF format breaks date groups
#15738ClosedBug1.4.32009-01-23not initialized variable in Metar.php
#16748BogusBug1.4.42009-10-29Array to string conversion
#16801ClosedBug1.4.52009-11-18Wrong temperature calculation on current day
#16802ClosedBug1.4.52009-11-18Location used without being processed
#16803ClosedReq1.4.52009-11-18Caching without cache
#16899ClosedBug1.4.52009-12-10Pressure conversion from inHg to hPa calculated wrong
#16928ClosedBug1.4.52009-12-18getWeatherIcon() vs. grains
#17856ClosedReq1.4.52010-09-09getWeatherIcon() / time issue
#18502ClosedReq1.4.52011-05-04Moon data not avaolable
#18503ClosedReq1.4.52011-05-04Use of Cache_Lite
#19213ClosedBug1.4.62012-01-10Undefined array index in Metar.php
#19215OpenReq1.4.62012-01-10Yahoo! Weather
#19228ClosedBug1.4.62012-01-16Fatal error: Cannot use object of type PEAR_Error
#19860OpenBug1.4.72013-03-19Extract tarball FAILED Release is invalid
#19861BogusBug1.4.72013-03-19Extract tarball FAILED Release is invalid