Author Topic: NOAA Weather Radio Player scripts issue.. SAME codes not displaying  (Read 130 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8013
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
You may have noticed that the list of counties no longer has a list of the SAME codes (shows '0undefined' instead).

This is due to a change in the NWS shapefiles for the radios (<radiocall>_same.zip) that no longer has the FIPS data variable, just the NAME variable in the shapefile data.   

I'll need to find a different way of including the SAME codes with the county coverage list, so there'll be an update to the script set soon..

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 saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8013
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
So, it looks like the NWS had regenerated all the {radio}_same.zip shapefiles on the site back around August 2, 2020 -- they'd removed some data from those files (specifically the SAME/FIPS data), so the V3.03 script would just display 'undefined' for the SAME code.

I've written some scripts to run on noaaweatherradio.org and changed the generation program to include the SAME codes in the NWR-radios-data.js file which the script set uses.

So.. Version 3.04 is now ready, and as a plus, it includes the 'Remarks' section shown on the detail page for a NWR display.

The full package is available at https://saratoga-weather.org/scripts-wxradio.php#wxradio for download.

If you're running V3.03 of the script, only two files have changed (NWR-radios.js, NWR-radios-inc.php) and can be downloaded from here .. just replace the files on your site (no customization needed) and do a shift-reload of the page in your browser to get the new NWR-radios.js to load.
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 gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2352
    • SouthEast Lincoln, NE Weather
Re: NOAA Weather Radio Player scripts issue.. SAME codes not displaying
« Reply #2 on: September 15, 2020, 10:51:02 PM »
Thanks, Ken!  Working well here. =D&gt; [tup]
Regards, Jerry Wilkins
gwwilk@gmail.com

 

anything