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

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9014
  • Saratoga, CA, USA Weather - free PHP scripts
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, 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.

Ken True/Saratoga, CA, USA main site:
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP