cloudy cloudy

Author Topic: ec-radar.php V2.04 released  (Read 161 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Global Moderator
  • Posts: 5,920
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Saratoga Weather
ec-radar.php V2.04 released
« on: April 17, 2019, 06:04:16 PM »
I was noticing a lot of error_log entries due to queries for non-existent radar sites with ec-radar.php, so I've updated the script to include the 'allowed' list of Environment Canada siteids that the script can use.  It returns a 'invalid site' message if the site selected is not in the known list.  Also, some improvements in the fetching of the overlay data.

Standalone: download from the script page

Saratoga template users, use the update tool with a query of Base-Canada, Plugin-*, 17-Apr-2019

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline lgRich

  • Posts: 74
  • QC, Canada, 46.0304N, 73.0406W
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
    • LogiGestion - Météo locale en direct
Re: ec-radar.php V2.04 released
« Reply #1 on: June 03, 2019, 06:04:27 PM »
Problem with this update…

The image *.PNG don’t match the real time…

 
                                             


 
Sorry for my English! (French Canadian).
Honeywell: TE923W, 2 extra sensor.
WebCam: Dahua PTZ DH-SD3282D-GN

Offline saratogaWX

  • Global Moderator
  • Posts: 5,920
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • iOS 12.3.1
  • Safari 12.1.1
    • Saratoga Weather
Re: ec-radar.php V2.04 released
« Reply #2 on: June 03, 2019, 06:32:21 PM »
The radar images may be 10 minutes behind “real time” on the EC site.  I just checked your page and it was working normally.  You may be seeing images cached in your browser.
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline lgRich

  • Posts: 74
  • QC, Canada, 46.0304N, 73.0406W
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
    • LogiGestion - Météo locale en direct
Re: ec-radar.php V2.04 released
« Reply #3 on: June 03, 2019, 06:53:04 PM »
Thanks for your fast reply Ken, effectively after clearing the cache, everything is OK...
Sorry for my English! (French Canadian).
Honeywell: TE923W, 2 extra sensor.
WebCam: Dahua PTZ DH-SD3282D-GN