Author Topic: Canadian radar script , not working ?  (Read 477 times)

0 Members and 1 Guest are viewing this topic.

Offline Total

  • Web dude ..
  • Senior Contributor
  • ****
  • Posts: 151
    • weather station ..
Canadian radar script , not working ?
« on: July 08, 2023, 10:39:46 PM »
Hello All :  The Canadian radar script  , not working anymore ?  Do I need to update the script ?  Thanks   https://www.strutherslakeweather.ca/wxecradar-iframe.php

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Canadian radar script , not working ?
« Reply #1 on: July 08, 2023, 11:38:37 PM »
It's possible...I'd not been updating the github version of the script set, only updating the Base-Canada Saratoga template set.

The github distribution is now updated, and I've attached the likely updates you are missing.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Total

  • Web dude ..
  • Senior Contributor
  • ****
  • Posts: 151
    • weather station ..
Re: Canadian radar script , not working ?
« Reply #2 on: July 08, 2023, 11:49:38 PM »
Thanks and appreciated.

Offline Total

  • Web dude ..
  • Senior Contributor
  • ****
  • Posts: 151
    • weather station ..
Re: Canadian radar script , not working ?
« Reply #3 on: July 15, 2023, 01:44:10 PM »
Hello and thanks for the update files . Any idea why sometimes the radar looks great but the next time I just have the top bar being displayed ?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Canadian radar script , not working ?
« Reply #4 on: July 15, 2023, 02:05:51 PM »
If the HAnIS JavaScript is unable to load the image files, it will do that.  View the source of the page with view-source:http... and see what the HTML status comments say.  There may be a temporary problem with getting the EC website data.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Total

  • Web dude ..
  • Senior Contributor
  • ****
  • Posts: 151
    • weather station ..
Re: Canadian radar script , not working ?
« Reply #5 on: July 15, 2023, 03:03:01 PM »
That is the issue .  I guess wait and try later :)

<!-- curl fetching 'https://dd.weather.gc.ca/radar/CAPPI/GIF/CASRA/' -->
<!-- curl Error: Connection timed out after 5001 milliseconds -->
<!-- HTTP stats:  RC=0 dest= port=0 (from sce=)
      Times: dns=0.002 conn=0.000 pxfer=0.000 get=5.002 total=5.002 secs -->
<!-- theData returns 0 bytes -->
<!-- curl fetching 'https://dd.weather.gc.ca/radar/PRECIPET/GIF/CASRA/' -->
<!-- curl Error: Connection timed out after 5001 milliseconds -->
<!-- HTTP stats:  RC=0 dest= port=0 (from sce=)
      Times: dns=0.000 conn=0.000 pxfer=0.000 get=5.002 total=5.002 secs -->
<!-- theData returns 0 bytes -->
<!-- found 0 images for radar CASRA -->
<!-- using these 10 images for display
array (
  0 => NULL,
  1 => NULL,
  2 => NULL,
  3 => NULL,
  4 => NULL,
  5 => NULL,
  6 => NULL,
  7 => NULL,
  8 => NULL,
  9 => NULL,
) -->