Author Topic: advforecast2.php (JSON) V5.13 update for NWS change 01-Oct-2019  (Read 529 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7630
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
advforecast2.php (JSON) V5.13 update for NWS change 01-Oct-2019
« on: September 08, 2019, 05:07:44 PM »
The NWS has announced the shutdown of the forecast-v3.weather.gov website effective 01-Oct-2019.
The V5.13 of the script changes the link URL at the bottom of the page to use forecast.weather.gov/MapClick... links instead.  It continues to use api.weather.gov for the data source (as that is not being discontinued).

Standalone: use https://saratoga-weather.org/scripts-carterlake.php for download.
Template: use https://saratoga-weather.org/wxtemplates/updates.php with a query of Base-USA, *-Plugin, 08-Sep-2019 for download.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline chief-david

  • Educational Weather
  • Forecaster
  • *****
  • Posts: 2422
  • Space Academy for Educators
    • Robbinsdale Middle School Weather
Re: advforecast2.php (JSON) V5.13 update for NWS change 01-Oct-2019
« Reply #1 on: September 08, 2019, 06:58:16 PM »
Does this mean the Hazardous weather statements are dead?
Vantage Pro Plus 6163
Robbinsdale, MN 55422@ 45 degrees North Latitude.

You can't phase me-I teach Middle School.
It's not you-It's WU.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7630
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: advforecast2.php (JSON) V5.13 update for NWS change 01-Oct-2019
« Reply #2 on: September 08, 2019, 07:47:54 PM »
The  Advisory/Watch/Warn info still comes from api.weather.gov (same as the forecast info) and are unaffected by the shutdown of the display site forecast-v3.weather.gov.

Keep in mind that Outlook type advisories (like Hazardous Weather Outlook) do not appear in the API (but may or may not appear in the future) -- that's an NWS choice.

The nws-alerts set of scripts uses the CAP/ATOM (XML) feeds from alerts.weather.gov and so continues to display all available alerts.

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 632
    • LexMAWeather
Re: advforecast2.php (JSON) V5.13 update for NWS change 01-Oct-2019
« Reply #3 on: September 08, 2019, 09:55:53 PM »
Well, they are available in the API via

Code: [Select]
https://api.weather.gov/products/types/HWO/locations/{office code}
It's just that the hazardous outlook product has been separated from the forecast now (which is probably the right thing).

If someone really wants to have it look like it does in the old (HTML scraper) code, it can be done.


Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 3500
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: advforecast2.php (JSON) V5.13 update for NWS change 01-Oct-2019
« Reply #4 on: September 09, 2019, 08:26:54 AM »
Thanks again, Ken for keeping us up to date.

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6082
    • LiVE WEATHER
Re: advforecast2.php (JSON) V5.13 update for NWS change 01-Oct-2019
« Reply #5 on: September 09, 2019, 09:02:50 AM »
Thanks as always Ken for keeping up with the changes.  [tup]
Randy

 

anything