Author Topic: Oops.. API outage for gridpoint forecasts 22-Dec-2023 to 1-Jan-2024  (Read 1256 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
On the admin messages link:

Quote
SENIOR DUTY METEOROLOGIST NWS ALERT ADMINISTRATIVE MESSAGE
NWS NCEP CENTRAL OPERATIONS COLLEGE PARK MD
1837Z FRI DEC 22 2023


...API FORECAST GRIDPOINT OUTAGE UNTIL 1 JAN 2024...

Due to a known software issue, the API gridpoint forecast
service will be unavailable until Monday 1 January 2024.


Kempisty/SDM/NCO/NCEP

Impact: 

advforecast2.php V5.19 - 27-Dec-2022 will only retrieve Zone forecasts until issue is resolved.

advforecast2.php V4.05 - 21-May-2018 operates normally (page scraper script for forecast.weather.gov)

If you want the non-Zone forecast in Base-USA templates, download the V4.05 script from the link above and replace advforecast2.php on your website.

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 ValentineWeather

  • Forecaster
  • *****
  • Posts: 6377
    • Valentine Nebraska's Real-Time Weather
Re: Oops.. API outage for gridpoint forecasts 22-Dec-2023 to 1-Jan-2024
« Reply #1 on: December 22, 2023, 07:21:17 PM »
Thanks, Ken may do that with an approaching storm. Jan 1 is a long ways out.
Randy

Offline Renate

  • Member
  • *
  • Posts: 4
Re: Oops.. API outage for gridpoint forecasts 22-Dec-2023 to 1-Jan-2024
« Reply #2 on: December 25, 2023, 06:41:06 AM »
I move around a lot and rely on the:
  • https://api.weather.gov/points/
  • https://api.weather.gov/gridpoints/
So when gridpoints failed, I googled and ended up here.

It's giving me a 502 Bad Gateway. That seems a pretty sloppy way to take a service offline.
I've never found gridpoints to be that reliable. I often get 500 Server Error.
I've reported them in the past but never got any resolution or improvement.
It's probably because the gridpoints I ask for have not already been queried by a zillion people already that day.
Or does this belong in a separate thread?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Oops.. API outage for gridpoint forecasts 22-Dec-2023 to 1-Jan-2024
« Reply #3 on: December 25, 2023, 04:24:14 PM »
Discussion on the API github discussion area seems to indicate that a very old chunk of code that loads the data into the API for distribution has failed and really needs replacement, but priority has not been placed on this heretofor.  Send a note to nco.ops@noaa.gov to let them know the repair / replacement should be given high priority.
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 Renate

  • Member
  • *
  • Posts: 4
Re: Oops.. API outage for gridpoint forecasts 22-Dec-2023 to 1-Jan-2024
« Reply #4 on: December 26, 2023, 09:45:55 AM »
Send a note to nco.ops@noaa.gov to let them know the repair / replacement should be given high priority.
I did, but I forgot to complain about any number of other things.
  • They should stop indenting, that cuts the JSON file size in half. There has to be some savings there for everybody.
  • 15 decimal places for latitude/longitude??? I just want to know when a tornado is within 4" of me. 6 decimal places should suffice. Ok, apparently they store 7 places so that is the maximum they should format.

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: Oops.. API outage for gridpoint forecasts 22-Dec-2023 to 1-Jan-2024
« Reply #5 on: December 26, 2023, 01:03:22 PM »
Thanks Ken! Now just hope I can remember to change back to the latest version once this issue is resolved.

Merry Christmas to all. We had some snow here in the Boise, Idaho area this morning. Will probably be gone by tonight though...
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 saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Oops.. API outage for gridpoint forecasts 22-Dec-2023 to 1-Jan-2024
« Reply #6 on: December 26, 2023, 02:21:35 PM »
No worries, Don.  I'll post here when the API is running normally again so it's ok to switch back to V5.18

Have a happy and prosperous New Year!
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 Renate

  • Member
  • *
  • Posts: 4
Re: Oops.. API outage for gridpoint forecasts 22-Dec-2023 to 1-Jan-2024
« Reply #7 on: January 01, 2024, 05:11:24 AM »
It's back!

Edit: Lol, three hours later got my first 500 "Unexpected Problem".
They should change that to "Expected Problem".

Edit^2: I only hit the API twice a day, I don't want to be a pest.
I've gotten four 500s in a row in the last two days.
I guess that I should just keep slamming it until I get a sensible response.
That's not very efficient.
« Last Edit: January 04, 2024, 06:01:10 AM by Renate »