Author Topic: NWS Forecasts down since April 5, 2018...  (Read 2207 times)

0 Members and 1 Guest are viewing this topic.

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: NWS Forecasts down since April 5, 2018...
« Reply #25 on: April 13, 2018, 03:50:29 PM »
The Lion King! - Hakuna Matatta - No Worries  :D

With you around, that is a very true saying! Thanks again.
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s150,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam (off-line)
--- RIPE Atlas Probe - 32849

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1308
  • BismarckWeather.net
    • BismarckWeather.net
Re: NWS Forecasts down since April 5, 2018...
« Reply #26 on: April 13, 2018, 05:55:47 PM »
Looks like my V5 forecast just started working.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS Forecasts down since April 5, 2018...
« Reply #27 on: April 14, 2018, 01:59:33 PM »
I've done another set of enhancements to advforecast2.php V5.07 - 14-Apr-2018:

1) I've added an URL cache (forecast-URLcache.txt) for the point->gridpoint forecast to skip the access to api.weather.gov for a 302 redirect they provide for a /points/ request to a /gridpoints/ request.  The URL cache file will auto-update as needed.  This saves one HTTPS access when loading a freshened forecast.
2) I've added the WFO phone and email contact info and details about the gridpoint involved to the notice box when a Zone forecast is displayed due to a point forecast not being available.  The box now contains info like
Quote
The detailed point forecast weather data is not currently available.
The zone forecast data for CAZ513 (Santa Clara Valley Including San Jose) will be displayed
until the point forecast data is again available.
If this persists, contact the NWS San Francisco Bay Area/Monterey, CA WFO
at (831) 656-1725 or email at w-mtr.webmaster@noaa.gov
to have them update the point forecast for /gridpoints/MTR/97,101 on api.weather.gov
(area in italics is added). This allows you to contact the responsible NWS field office with the details about which gridpoint forecast is failing.. hopefully this will reduce the time to get the point forecast back.  I was hesitant to include the NWS phone and email, but after checking the real weather.gov pages, they already display that info in the footer, so it is 'public'.  Be aware that calling the phone number may result in a voice-response system, and not a person, but the voice may give an additional number to call to talk with a forecaster.. use that one instead.  Emails to the address shown may take longer to resolve those stale/unavailable gridpoint forecast issues.

Standalone users download from the script page
Template users use the update tool page with a query Base-USA, Plugin-*, 14-Apr-2018

Hopefully this update will improve (a bit) the load-time for the script by eliminating one HTTPS access and help you to resolve stale point forecasts easily.

Best regards,
Ken
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 mikeym2m

  • Senior Contributor
  • ****
  • Posts: 153
    • MikeyM's Thornhurst PA Weather
Re: NWS Forecasts down since April 5, 2018...
« Reply #28 on: April 15, 2018, 11:49:10 AM »
Thanks Ken!  :grin:

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: NWS Forecasts down since April 5, 2018...
« Reply #29 on: April 15, 2018, 01:06:58 PM »
Thanks very much, Ken.  Note and appreciate the faster load times! \:D/ =D> \:D/
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline daybreak

  • Senior Member
  • **
  • Posts: 96
    • Alma Weather
NWS Forecast acting up again
« Reply #30 on: May 03, 2018, 07:24:39 AM »
Hi Ken,

My local NWS must be changing things again.  My forecast has been acting up the past couple of days.  http://www.daybreakimagery.com/weather/ or this page http://www.daybreakimagery.com/weather/forecast.php.

Yesterday the home page showed an old forecast from March and this morning it is showing yesterday's forecast.  Both pages are extremely slow to load.  I was running Version 5.05 but changed to Version 5.07, but no change.

Thanks for your help.

Richard

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: NWS Forecast acting up again
« Reply #31 on: May 03, 2018, 07:54:20 AM »
Hi Ken,

My local NWS must be changing things again.  My forecast has been acting up the past couple of days.  http://www.daybreakimagery.com/weather/ or this page http://www.daybreakimagery.com/weather/forecast.php.

Yesterday the home page showed an old forecast from March and this morning it is showing yesterday's forecast.  Both pages are extremely slow to load.  I was running Version 5.05 but changed to Version 5.07, but no change.

Thanks for your help.

Richard

Repeated from earlier in the thread... the 5.** version of the file uses a beta service from the NWS. It IS going to be flaky. If you want stable, stick with the 4.** until the new API has been declared ready for action.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline daybreak

  • Senior Member
  • **
  • Posts: 96
    • Alma Weather
Re: NWS Forecasts down since April 5, 2018...
« Reply #32 on: May 03, 2018, 08:49:49 AM »
Ok thanks.

Richard

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: NWS Forecasts down since April 5, 2018...
« Reply #33 on: May 03, 2018, 11:27:33 AM »
I tried the new script it still gives the weird numbers. Back on the older script at least I get zone numbers.

 [ You are not allowed to view attachments ]
Randy

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS Forecasts down since April 5, 2018...
« Reply #34 on: May 06, 2018, 10:24:32 AM »
That is a previously observed issue with the NWS API -- sometimes bad data is loaded in their servers from the GFS forecast.  Sometimes it's just temperatures.. other times it's wind speeds.

Not something you can fix except by calling the local NWS WFO and alerting them to the problem.  Version 5.07 of the script now pulls WFO info and you can see it by doing a view-source on the forecast page -- it will appear in HTML comments like this for my forecast
Quote
<!-- advforecast2.php (JSON) - V5.07 - 14-Apr-2018 on PHP 7.2.4-->
<!-- RAW NWS URL: http://forecast.weather.gov/MapClick.php?lat=37.26383&lon=-122.02301460000001&unit=0&lg=english&FcstType=text&TextType=2 -->
<!-- zone=CAZ513 -->
<!-- loaded URLcache from ./cache/forecast-URLcache.txt with 5 entries -->
<!-- corrected NWS API URL='https://api.weather.gov/points/37.2638,-122.023/forecast' -->
<!-- loaded cache file ./cache/forecast-CAZ513-0-json.txt - 9901 bytes -->
<!-- meta info re: point='37.2638,-122.023' zone='CAZ513' metacache= './cache/forecast-CAZ513-0-json-meta.txt' -->
<!-- metaZoneURL='https://api.weather.gov/zones/forecast/CAZ513' -->
<!-- loaded meta info from ./cache/forecast-CAZ513-0-json-meta.txt -->
<!-- META
Array
(
    [city] => Saratoga
    [state] => CA
    [point] => 37.2638,-122.023
    [forecastOfficeURL] => https://api.weather.gov/offices/MTR
    [forecastZoneURL] => https://api.weather.gov/zones/forecast/CAZ513
    [forecastZone] => CAZ513
    [forecastHourlyURL] => https://api.weather.gov/points/37.2638,-122.023/forecast/hourly
    [forecastGridDataURL] => https://api.weather.gov/gridpoints/MTR/97,101
    [observationStationsURL] => https://api.weather.gov/points/37.2638,-122.023/stations
    [countyZoneURL] => https://api.weather.gov/zones/county/CAC085
    [countyZone] => CAC085
    [fireWeatherZoneURL] => https://api.weather.gov/zones/fire/CAZ513
    [fireWeatherZone] => CAZ513
    [timeZone] => America/Los_Angeles
    [radarStation] => KMUX
    [zoneName] => Santa Clara Valley Including San Jose
    [WFOname] => San Francisco Bay Area/Monterey, CA
    [WFOphone] => (831) 656-1725
    [WFOemail] => w-mtr.webmaster@noaa.gov

)
 -->
Since you've reverted to the V4.03 version, you'll likely not see that issue since it is api.weather.gov specific.
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

 

anything