Author Topic: ec-forecast.php V3.02 available  (Read 898 times)

saratogaWX

  • Strong Breeze
  • ***
  • Posts: 139
  • Weather website programming enthusiast
    • Saratoga-Weather.org
  • Station Details: Davis VP1 +, iMAC 21, OSX 10.6.8
ec-forecast.php V3.02 available
« on: April 29, 2015, 06:29:10 PM »
Environment Canada changed their website design on 28-Apr-2015 which made the ec-forecast.php V3.01 script only partly functional.

ec-forecast.php V3.02 (29-Apr-2015) is now available:

Standalone: Download from the script page
V3 Template: Download using the update tool with a query of Base-Canada, Plugin-*, 29-Apr-2015

This version has a major change in how the Min/Max temperatures are extracted.  Prior versions would get this information from the raw HTML around the icons.  This proved problematic as the Min temperatures were placed 'between' day icons, so didn't properly align with a specific day/night forecast icon in the extract.
V3.02 fixes this issue by extracting the temperature forecast from the detailed forecast text.

Best regards,
Ken

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub, WeatherSnoop, WeatherCat
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP