6.0.0-beta1
7/8/25

[#11010] WeatherUnderground forecast only reports three days
Summary WeatherUnderground forecast only reports three days
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester arjen+horde (at) de-korte (dot) org
Created 02/18/2012 (4889 days ago)
Due
Updated 02/18/2012 (4889 days ago)
Assigned
Resolved 02/18/2012 (4889 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
02/18/2012 06:45:00 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (develop):

commit 92dd38c2c78ab8380bc435848f3ae7f582d13eac
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat Feb 18 12:13:20 2012 -0500

     Allow emulating a smaller forecast length.

     Emulate shorter forecast length by requesting longer forecast and setting
     a top to the number of days returned. Implemented now that 
WeatherUnderground
     has done away with previously supported 5 day forecast. We now emulate it
     with 7 day forecast and limitDays() call.

     Bug: 11010

  .../lib/Horde/Service/Weather/Forecast/Base.php    |   20 
+++++++++++++++++++-
  .../Horde/Service/Weather/WeatherUnderground.php   |    3 ++-
  framework/Service_Weather/package.xml              |   12 ++++++++----
  3 files changed, 29 insertions(+), 6 deletions(-)

http://git.horde.org/horde-git/-/commit/92dd38c2c78ab8380bc435848f3ae7f582d13eac
02/18/2012 05:15:52 PM Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Apparently the WeatherUnderground API has changed. The 'forecast' 
now only reports three days, so we can't use that for a five day 
forecast anymore.
Fixed with the commit listed below.
The seven day forecast is no longer mentioned in the documentation, 
so it might be better to use 'forecast10day' instead (for anything 
longer than 3 days).
This was fixed in git yesterday.

02/18/2012 05:15:06 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 92dd38c2c78ab8380bc435848f3ae7f582d13eac
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat Feb 18 12:13:20 2012 -0500

     Allow emulating a smaller forecast length.

     Emulate shorter forecast length by requesting longer forecast and setting
     a top to the number of days returned. Implemented now that 
WeatherUnderground
     has done away with previously supported 5 day forecast. We now emulate it
     with 7 day forecast and limitDays() call.

     Bug: 11010

  .../lib/Horde/Service/Weather/Forecast/Base.php    |   20 
+++++++++++++++++++-
  .../Horde/Service/Weather/WeatherUnderground.php   |    3 ++-
  framework/Service_Weather/package.xml              |   12 ++++++++----
  3 files changed, 29 insertions(+), 6 deletions(-)

http://git.horde.org/horde-git/-/commit/92dd38c2c78ab8380bc435848f3ae7f582d13eac
02/18/2012 04:30:58 PM arjen+horde (at) de-korte (dot) org Comment #1
Priority ⇒ 1. Low
New Attachment: WeatherUnderground.diff Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ WeatherUnderground forecast only reports three days
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Apparently the WeatherUnderground API has changed. The 'forecast' now 
only reports three days, so we can't use that for a five day forecast 
anymore.

The seven day forecast is no longer mentioned in the documentation, so 
it might be better to use 'forecast10day' instead (for anything longer 
than 3 days).

Saved Queries