Author Topic: NWS NEXRAD radar-status.php V1.11 now available...  (Read 3593 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
NWS NEXRAD radar-status.php V1.11 now available...
« on: June 04, 2015, 07:28:42 PM »
A small NWS website change for the NEXRAD radar status reporting URL necessitated a change in the radar-status.php script to V1.11 (4-Jun-2015).

Standalone: download from the script page
V3 Template: use the update tool for Base-USA, Plugin-*, 04-Jun-2015 query

Edit: had to add stuff to handle the separate ftm.txt status messages page with the new NWS page.

Best regards,
Ken
« Last Edit: June 04, 2015, 08:41:02 PM by saratogaWX »
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 night

  • Senior Contributor
  • ****
  • Posts: 156
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #1 on: June 04, 2015, 09:03:24 PM »
Thank you for all that you do.

Mark

Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 727
    • Lake Huron Weather
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #2 on: June 05, 2015, 03:59:53 AM »
Yet once again you are on top of it Ken, Thanks.

CW3699

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #3 on: June 05, 2015, 12:02:36 PM »
Thanks again, Ken.  Much appreciated!
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline Breezy

  • Indian Trail Weather
  • Forecaster
  • *****
  • Posts: 325
    • Indian Trail Weather
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #4 on: June 08, 2015, 09:56:32 AM »
Thanks Ken for the update   =D>

Jeff
Jeff

W7-64, Intel Z170A 16 GB RAM
Davis VP2 Plus, Davis Soil Moisture/Temp Sensors, Laser Snow Depth Sensor LR4/Fluke 414D

Offline user3162

  • Member
  • *
  • Posts: 40
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #5 on: July 06, 2015, 03:37:43 PM »
 I installed the update, but I get "NEXRAD radar KCCX status not found." Any ideas?
http://www.nhpaweather.com/wxgr3radar.php
Thanks!

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #6 on: July 06, 2015, 04:44:33 PM »
Been running 1.11 since it came out, but now getting the not found message for NEXRAD.

NWS stir the pot again?

Thanks.
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #7 on: July 06, 2015, 04:46:55 PM »
Yep.. they've changed the site again... working on an update.
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 jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #8 on: July 06, 2015, 04:47:56 PM »
Thank you, Sir!!
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #9 on: July 06, 2015, 06:01:25 PM »
Ok, all updated.

Too the opportunity to change the HTTP request headers to include a User-agent: string (in case that site has that requirement enabled) and added a $showAgeHMS switch to the settings to show age in hh:mm:ss instead of just seconds.

It's included with today's bundle of updates for Base-USA users.

Standalone update from the script page

N.B. -- the formatted text messages about the radars seems to be missing from the NOAA site (the 'click' link for it is returning a 404-not found for the ftm.txt file).  I still try to obtain it, so when they get around to updating the site with the file, the applicable text messages should display.
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 user3162

  • Member
  • *
  • Posts: 40
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #10 on: July 06, 2015, 06:36:38 PM »
Thanks Ken!

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #11 on: July 06, 2015, 07:05:17 PM »
No longer have the NEXRAD status line displayed at all. Tried both true and false for the active setting.

What'd I miss?

Thanks.
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #12 on: July 06, 2015, 09:31:53 PM »
Hmmm... radar-status.php?show=active does show the status .. ??

On which page(s) are you having the 'no show' issue?
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 W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #13 on: July 06, 2015, 10:58:10 PM »

I get the same indication that user3162 gets for the RENO NEXRAD, KRGX.

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: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #14 on: July 06, 2015, 11:07:26 PM »
Don, you are running radar-status.php V1.11 - 04-Jun-2015 -- try the ftp to the site again with version 1.12 :)
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 W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #15 on: July 06, 2015, 11:10:36 PM »
Don, you are running radar-status.php V1.11 - 04-Jun-2015 -- try the ftp to the site again with version 1.12 :)


 :oops:  Oops, I downloaded the updates and then overwrote the radar-status.php with the older version. Works fine now.


Thanks!!!
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 Forever

  • Senior Contributor
  • ****
  • Posts: 211
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #16 on: August 03, 2016, 06:30:56 PM »
Did something change again? I'm getting:
NEXRAD radar KMUX status not found.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #17 on: August 03, 2016, 07:07:24 PM »
Yep.. they put a redirect from the old URL (and did some page modifications).

Change radar-status.php
Code: [Select]
  $fileName = "http://weather.noaa.gov/monitor/radar3/";
to
Code: [Select]
  $fileName = 'http://radar3pub.ncep.noaa.gov/';

to get it working again.. but the 'age' will be miscalculated since the new site is missing the Last-modified: header.

I'm working on an update.
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

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #18 on: August 03, 2016, 07:30:34 PM »
Thanks, Ken!  People should be aware that I modified your 'radar-status.php' script to use with the more general HAniS animated 'wxusradars-hanis3.php' scripts.  It also needs modification in order to resume functionality.  The newly modified 'radar-status-getradar.php' script can be downloaded from my site.  I've used a temporary version number until Ken publishes his updated script.

Looking forward to any further modifications you deem necessary, Ken.

Edit 10:15 pm CDT:  I've incorporated Ken's changes into the 'radar-status-getradar.php' script which is now also correctly versioned.
« Last Edit: August 03, 2016, 11:14:54 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #19 on: August 03, 2016, 08:05:38 PM »
Thanks, Ken and Jerry. Both updated.
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #20 on: August 03, 2016, 10:24:35 PM »
Got the fixed script.  radar-status.php V1.13 - 3-Aug-2016 to handle the new URL AND the lack of a Last-modified: header (grrr).

Template users: use the update tool with query for Base-USA, Plugin-*, 03-Aug-2016
Standalone:  download from the script page

Best regards,
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

Offline Forever

  • Senior Contributor
  • ****
  • Posts: 211
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #21 on: August 03, 2016, 11:05:05 PM »
Thanks Ken. :)

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #22 on: August 03, 2016, 11:10:54 PM »
Thanks, Ken!  =D> \:D/ =D>

I've also incorporated your latest changes and versioning into 'radar-status-getradar.php' which is used by the 'wxusradars-hanis3.php' script.
« Last Edit: August 03, 2016, 11:23:26 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #23 on: August 03, 2016, 11:19:52 PM »
Jerry, is this an update to the one you posted earlier this evening?

Thanks.
John
W7JKG

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: NWS NEXRAD radar-status.php V1.11 now available...
« Reply #24 on: August 03, 2016, 11:22:35 PM »
Jerry, is this an update to the one you posted earlier this evening?

Thanks.
Yes!  Without Ken's latest code when the radar is down the timing since the last update will not be correct.
Regards, Jerry Wilkins
gwwilk@gmail.com