Author Topic: NWS Forecast Zone checker...  (Read 655 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
NWS Forecast Zone checker...
« on: August 21, 2021, 04:27:05 PM »
Recently, the Honolulu WFO changed the majority of the Forecast Zones for Hawaii, and Stan was left with the daunting task of changing zone names in the Settings.php $SITE['NWSforecasts'] array to match the new zones.  I created a quick NWS-check-zones.php script that checks each entry in the array, updates it if needed, and prints a new copy for use in $SITE['NWSforecasts'].

There have been other changes during the last year to some NWS forecast zones, so if you're having an issue (or just want to check),
download https://saratoga-weather.org/NWS-check-zones.php?sce=view, upload to your Saratoga Template website, and run it.  It will read Settings.php $SITE['NWSforecasts'] entries automatically.
If you're running advforecast2.php script 'standalone', you can modify the NWS-check-zones.php to have the $NWSforecasts array from advforecast2.php be used instead.

Enjoy...
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