WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Custom Website Templates => Topic started by: WpgWeather on February 05, 2023, 01:03:16 PM

Title: Saratoga Scripts for Environment Canada Not Updating
Post by: WpgWeather on February 05, 2023, 01:03:16 PM
Anyone else having an issue with With the Saratoga scripts for Environment Canada not loading the correct data? Seems to be the case on the Demo script for certain locations as well?
https://saratoga-weather.org/scripts-ECforecast.php?z=6#ECforecast
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: blainec on February 05, 2023, 01:08:41 PM
I am having the same issue. It has been down since friday
I had to change over to WU forecast for now
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: blainec on February 05, 2023, 01:21:13 PM
it appears that my saratoga template is getting a current forecast, but my PWS_Dashboard is not.
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: WpgWeather on February 05, 2023, 01:41:41 PM
I am having the same issue. It has been down since friday
Thanks for confirming that it isn't just me. I wonder if its a data problem on the other end as certain locations in the demo script seem to be working.
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: blainec on February 05, 2023, 01:43:33 PM
It appears to be working now for Calgary,   Winnipeg still not updated.   
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: blainec on February 05, 2023, 02:10:48 PM
I spoke to soon, mine is down again
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: WpgWeather on February 05, 2023, 02:34:34 PM
I noticed that as well that occasionally it would properly populate.
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: WpgWeather on February 05, 2023, 02:41:00 PM
Winnipeg data feed is currently looking correct.
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: WpgWeather on February 05, 2023, 02:49:45 PM
and then Friday again. -sigh-
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: WpgWeather on February 05, 2023, 03:42:43 PM
What is odd is the XML feed seems to be consistently up to date so I don't understand where the PHP is getting the Friday feed from.

I have a simple script that displays the XML in the RSS feed and that is current.
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: blainec on February 05, 2023, 04:00:18 PM
I am seeing the same thing here
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: blainec on February 05, 2023, 04:16:01 PM
Deleted the files (ec-forecast-0-ab-52-s0000047-en.txt  , yours will be slightly different)from the cache folder and it seems to load with current values
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: blainec on February 05, 2023, 04:41:53 PM
now it jumped back to friday.
I think I am going to wait until tomorrow to see if it fixes itself
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: WpgWeather on February 05, 2023, 07:23:55 PM
Agreed, hopefully Monday morning some fixes the RSS feed and it all goes back to normal.
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: blainec on February 05, 2023, 08:24:55 PM
I just checked the demo scripts, They have updated with current  data
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: saratogaWX on February 06, 2023, 01:12:21 PM
There appeared to be an issue with stale data from https://dd.weather.gc.ca/citypage_weather/xml/... .. the script uses that XML feed for weather conditions and forecasts and just formats what is in the RSS feed.
Title: Re: Saratoga Scripts for Environment Canada Not Updating
Post by: WpgWeather on February 13, 2023, 09:16:35 PM
Yes, it was interesting to see how some cities seemed unaffected while many were. I wonder if they have an after-hours contact for when a failure like that occurs.