cloudy

Author Topic: NWS forecast issue...  (Read 1224 times)

0 Members and 1 Guest are viewing this topic.

Offline jjmcnelly

  • Posts: 265
  • Napavine, WA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • Cedar Ridge Weather Station, Napavine WA 98565
NWS forecast issue...
« on: July 04, 2012, 02:56:28 AM »
Hey Ken,

Could you look at my forecast page?  For some reason it is messed up.  I tried forcing an update, but t no avail. 

Thanks,

James McNelly
www.napavineweather.com

Offline saratogaWX

  • Posts: 5,031
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Saratoga Weather
Re: NWS forecast issue...
« Reply #1 on: July 04, 2012, 03:00:00 AM »
Hi James.. it looks like you're running advforecast2.php Version 2.14 - 14-Jan-2009 which won't work anymore now that the NWS has changed their website design.

Download http://saratoga-weather.org/advforecast2.php?sce=view (Version 3.04 - 03-Jul-2012) to fix it :)

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline jjmcnelly

  • Posts: 265
  • Napavine, WA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • Cedar Ridge Weather Station, Napavine WA 98565
Re: NWS forecast issue...
« Reply #2 on: July 04, 2012, 03:08:30 AM »
Hey Ken,

Thanks for the info and the fix.  I was not aware of the changes.  You are awsome!  Quick, too.

James

Hi James.. it looks like you're running advforecast2.php Version 2.14 - 14-Jan-2009 which won't work anymore now that the NWS has changed their website design.

Download http://saratoga-weather.org/advforecast2.php?sce=view (Version 3.04 - 03-Jul-2012) to fix it :)

Best regards,
Ken

Offline KB5BFA

  • Posts: 57
  • Kerstan
  • Cleveland, Texas
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 11.0
Re: NWS forecast issue...
« Reply #3 on: July 04, 2012, 10:45:16 AM »
Hi James.. it looks like you're running advforecast2.php Version 2.14 - 14-Jan-2009 which won't work anymore now that the NWS has changed their website design.

Download http://saratoga-weather.org/advforecast2.php?sce=view (Version 3.04 - 03-Jul-2012) to fix it :)

Best regards,
Ken

Thanks Ken!
Kerstan

Offline Budmn8

  • Posts: 696
  • Eastern Iowa
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Sandhill Weather
Re: NWS forecast issue...
« Reply #4 on: July 04, 2012, 04:34:39 PM »
Thanks Ken

Offline saratogaWX

  • Posts: 5,031
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Saratoga Weather
Re: NWS forecast issue...
« Reply #5 on: July 05, 2012, 07:07:44 PM »
Ok, last update to the script for a while.  I've tested it with sample point-printable and zone forecasts from each NWS region (WRH, CRH, ERH, SRH, ARH, HRH) and all work fine.  If there are alerts in your region (red text below the icons and above the detailed forecast), then the output will fail XHTML 1.0-Strict validation due to a deliberate inclusion of a target="_blank" in the <a> link .. it validates (like the basic template set with XHTML 1.0-Transitional however.

Latest version:  advforecast2.php V3.05 - 05-Jul-2012

V3 template users: use the update tool page for Base-USA (05-Jul-2012)
Standalone/V2 templates: use the scripts page for download.

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline Harry

  • Posts: 452
  • Union City, CA USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • Union City, CA Weather
Re: NWS forecast issue...
« Reply #6 on: July 05, 2012, 08:10:34 PM »
V3.05 is working here.  Many thanks, Ken.

http://ucweather.org/wxforecast.php

Offline RioRanchoNMWeather

  • Albuquerque NM Area Weather
  • Posts: 506
  • Getting ready to eat some mercury!
  • Rio Rancho, Sandoval County, New Mexico USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Albuquerque NM Area Weather
Re: NWS forecast issue...
« Reply #7 on: July 09, 2012, 09:56:03 PM »
I installed 3.05 (thanks Ken), and it worked until now...and now it seems "broke" again?

Has there been yet another change to the NWS data?

The last time I had one area that was blank, and another area with a data spew.  Now the both areas on the home page where forecast data would appear are coming up blank now?

Thanks
+++++++++++++++++
Rio Rancho NM Weather
+++++++++++++++++

Offline NorCal Dan

  • Dan - KJ6RGX
  • Posts: 9,747
  • Davis Vue/iMac/Parallels/WinXP
  • Coffeyville, Kansas
  • OS/Browser:
  • Mac OS X 10.6
  • Firefox 13.0.1
    • Traveling RV Weather
Re: NWS forecast issue...
« Reply #8 on: July 09, 2012, 09:59:36 PM »
I installed 3.05 (thanks Ken), and it worked until now...and now it seems "broke" again?

Has there been yet another change to the NWS data?

The last time I had one area that was blank, and another area with a data spew.  Now the both areas on the home page where forecast data would appear are coming up blank now?

Thanks

Looks ok from here, checked both your forecasts and they are populated with data...

Offline RioRanchoNMWeather

  • Albuquerque NM Area Weather
  • Posts: 506
  • Getting ready to eat some mercury!
  • Rio Rancho, Sandoval County, New Mexico USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Albuquerque NM Area Weather
Re: NWS forecast issue...
« Reply #9 on: July 09, 2012, 10:03:02 PM »
Thanks Dan, must have been a burp.....

I noticed that I must have grabbed an early correction as it looks like I am using the 7/3 3.04 version.

What changed in 3.05 and do I need it?

Thanks again sir!
+++++++++++++++++
Rio Rancho NM Weather
+++++++++++++++++

Offline NorCal Dan

  • Dan - KJ6RGX
  • Posts: 9,747
  • Davis Vue/iMac/Parallels/WinXP
  • Coffeyville, Kansas
  • OS/Browser:
  • Mac OS X 10.6
  • Firefox 13.0.1
    • Traveling RV Weather
Re: NWS forecast issue...
« Reply #10 on: July 09, 2012, 10:06:37 PM »
From Ken's earlier post..

Ok, last update to the script for a while.  I've tested it with sample point-printable and zone forecasts from each NWS region (WRH, CRH, ERH, SRH, ARH, HRH) and all work fine.  If there are alerts in your region (red text below the icons and above the detailed forecast), then the output will fail XHTML 1.0-Strict validation due to a deliberate inclusion of a target="_blank" in the <a> link .. it validates (like the basic template set with XHTML 1.0-Transitional however.

Latest version:  advforecast2.php V3.05 - 05-Jul-2012

V3 template users: use the update tool page for Base-USA (05-Jul-2012)
Standalone/V2 templates: use the scripts page for download.

Best regards,
Ken


I recommend use of the update tool that Ken provides, makes it very easy and painless...

Offline saratogaWX

  • Posts: 5,031
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Saratoga Weather
Re: NWS forecast issue...
« Reply #11 on: July 09, 2012, 10:37:42 PM »
Thanks for the recommendation Dan (and the kind words about the update tool :)

For the record, as of 9-Jul-2012, the latest version is Version 3.06 -07-Jul-2012 - fixed validation issue for Rising/Falling temp arrows with new NWS website design

Those rising/falling temperature errors had a slightly different location than previously used, so this version fixes that too.  I hope I can rest a while from the NWS website changes :)

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline jdjeff

  • Posts: 213
  • Reading PA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • Exeter Weather Website
Re: NWS forecast issue...
« Reply #12 on: July 14, 2012, 03:40:10 PM »
Ok...I'm going to need help with this.  I think I'm running version 2.something.  I have never updated the template before and can't really remember when I set it up.  It ran so well for so long, I just left it alone.  But now, I'm not sure how to update this .php file  Could someone explain what script I need to replace and from where?  Thanks.

Offline saratogaWX

  • Posts: 5,031
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Saratoga Weather
Re: NWS forecast issue...
« Reply #13 on: July 14, 2012, 03:54:20 PM »
You can just replace the advforecast2.php script on your site with the V3.06 version and no customization is needed.. It will pick up your settings from Settings.php for the V2 templates.
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline jdjeff

  • Posts: 213
  • Reading PA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • Exeter Weather Website
Re: NWS forecast issue...
« Reply #14 on: July 14, 2012, 05:56:36 PM »
Ok...looks like I was able to fumble my way through it.  It works!  Thanks Ken.

 

cumulus