WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: daybreak on May 15, 2020, 10:09:12 AM

Title: advforecast2
Post by: daybreak on May 15, 2020, 10:09:12 AM
My NWS station (St. Louis LSX) forecast keeps reverting to the Zone forecast http://www.daybreakimagery.com/weather/forecast.php (http://www.daybreakimagery.com/weather/forecast.php) It has done this off and on for the past few days.  I've dropped them an email, but no response yet.  Is anyone else experiencing this or is just LSX?   :lol:

Thanks,
Richard
Title: Re: advforecast2
Post by: ALITTLEweird1 on May 15, 2020, 10:43:48 AM
Its nation wide.  This is what i got back from our local NWS office..
Quote
Unfortunately they're having some issues with that service at a national level. We don't have a timeframe for when it might be restored but they're working on it. We apologize for the inconvenience!/quote]
Title: Re: advforecast2
Post by: daybreak on May 15, 2020, 11:03:17 AM
That's what I suspected.  Thanks Mark!
Title: Re: advforecast2
Post by: Jasiu on May 15, 2020, 12:02:33 PM
I'm seeing a lot of hit and miss via the NWS API right now. Of course, this happens on a day when the SPC has us in Slight to Enhanced severe risk...
Title: Re: advforecast2
Post by: ALITTLEweird1 on May 15, 2020, 03:09:36 PM
Just now from the NWS....

Quote
For those of you who use http://api.weather.gov, emergency work on the servers is still being completed so it will continue to experience issues until this is complete. We apologize for inconvenience!
Title: Re: advforecast2
Post by: Jasiu on May 15, 2020, 03:37:09 PM
Just now from the NWS....

Quote
For those of you who use http://api.weather.gov, emergency work on the servers is still being completed so it will continue to experience issues until this is complete. We apologize for inconvenience!

Thanks!  Where did you see this?

Alert fetches recovered for me just in time to get our tornado watch.
Title: Re: advforecast2
Post by: saratogaWX on May 15, 2020, 04:54:33 PM
For those using the Saratoga template, there's an easy way to keep the version checker happy AND switch to the older V4 advforecast2.php script.

First, download https://saratoga-weather.org/advforecast2-V4.05.php?sce=view and save it as advforecast2-old.php on your site.

What you can do to use the old script AND keep the version checker happy is:

Then change Settings.php from
Code: [Select]
$SITE['fcstscript'] = 'advforecast2.php';  // USA-only NWS Forecast script
to
Code: [Select]
$SITE['fcstscript'] = 'advforecast2-old.php';  // USA-only NWS Forecast script

And your site will use the old script, and the version checker thinks all is well...

When the NWS api.weather.gov returns to full function again, you can put the original setting back and restart using the V5 JSON script again.