NWS Forecast
-
nineback
- Advisor

- Posts: 74
- Joined: Thu Aug 24, 2017 11:12 am
- Location: Alabama
- Station model: Davis Pro2
- Software: WeeWX
- Contact:
NWS Forecast
When I first visit my weather page, the nwsForecast block gives a message saying data is not available. If I refresh the page the forecast will show.
http://www.kq5s.com/template
Any ideas?
Tom
http://www.kq5s.com/template
Any ideas?
Tom
- Johnny
- Developer

- Posts: 313
- Joined: Sat Aug 19, 2017 10:16 pm
- Location: Watford, Hertfordshire, England
- Station model: Davis Vantage Pro2 Plus
- Software: Meteobridge
- Contact:
Re: NWS Forecast
Hi Nineback, it showed up first time for me, would it be anything to do with your browser cache? Try clearing it and see if that helps.
-
nineback
- Advisor

- Posts: 74
- Joined: Thu Aug 24, 2017 11:12 am
- Location: Alabama
- Station model: Davis Pro2
- Software: WeeWX
- Contact:
Re: NWS Forecast
Thanks Johnny. I actually thought it might be the other way around with the cache since the page will load fine after the first refresh. Since it works for you the problem must be something local.
I just checked it and it loads fine so I was assuming it might be loading from the cache,
Tom
I just checked it and it loads fine so I was assuming it might be loading from the cache,
Tom
-
nineback
- Advisor

- Posts: 74
- Joined: Thu Aug 24, 2017 11:12 am
- Location: Alabama
- Station model: Davis Pro2
- Software: WeeWX
- Contact:
Re: NWS Forecast
Johnny,
When you look at my page are you seeing the NA IR+topography map displayed at the bottom of my middle column?
Thanks,
Tom
When you look at my page are you seeing the NA IR+topography map displayed at the bottom of my middle column?
Thanks,
Tom
- Johnny
- Developer

- Posts: 313
- Joined: Sat Aug 19, 2017 10:16 pm
- Location: Watford, Hertfordshire, England
- Station model: Davis Vantage Pro2 Plus
- Software: Meteobridge
- Contact:
Re: NWS Forecast
Hi Tom,
Now I've experienced the same problem you have, yesterday the NWS forecast and NA IR+topography map displayed perfectly okay, now neither show up. After a refresh the NWS forecast then appears correctly, but not NA IR+topography.
Then I tried the same in an Opera browser, both work - but with a refresh NA IR+topography doesn't display.
Not that you have an excessive amount of blocks, but I wonder if some sort of timeout is occurring before all the blocks have loaded their data. Maybe as an experiment save your current layout and then remove a few blocks at a time to see if the problem goes away.
Maybe some of the other fella's on the forum have some experience with this and can point you in the right direction.
Johnny
Now I've experienced the same problem you have, yesterday the NWS forecast and NA IR+topography map displayed perfectly okay, now neither show up. After a refresh the NWS forecast then appears correctly, but not NA IR+topography.
Then I tried the same in an Opera browser, both work - but with a refresh NA IR+topography doesn't display.
Not that you have an excessive amount of blocks, but I wonder if some sort of timeout is occurring before all the blocks have loaded their data. Maybe as an experiment save your current layout and then remove a few blocks at a time to see if the problem goes away.
Maybe some of the other fella's on the forum have some experience with this and can point you in the right direction.
Johnny
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: NWS Forecast
This seems like NWS issue because if there was a problem in the code it would simply never load.
I have seen it before where something was unstable that was loaded from NWS
I have seen it before where something was unstable that was loaded from NWS
-
nineback
- Advisor

- Posts: 74
- Joined: Thu Aug 24, 2017 11:12 am
- Location: Alabama
- Station model: Davis Pro2
- Software: WeeWX
- Contact:
Re: NWS Forecast
The North America Ir + topography appears to be coming from Canada and not the NWS?
If I go directly to the NWS page, http://forecast.weather.gov/MapClick.ph ... i5wBbQ-dTY, the forecast loads just fine. I don't know if you are parsing the results of this web page or if the NWS has another means of getting the forecast.
Tom
If I go directly to the NWS page, http://forecast.weather.gov/MapClick.ph ... i5wBbQ-dTY, the forecast loads just fine. I don't know if you are parsing the results of this web page or if the NWS has another means of getting the forecast.
Tom
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: NWS Forecast
Hi Tom
If there was an issue with the code then it would never work. If something works "sometimes" it is always an indication with a problem in the data source or server communication. Code either works or it does not
If there was an issue with the code then it would never work. If something works "sometimes" it is always an indication with a problem in the data source or server communication. Code either works or it does not
-
nineback
- Advisor

- Posts: 74
- Joined: Thu Aug 24, 2017 11:12 am
- Location: Alabama
- Station model: Davis Pro2
- Software: WeeWX
- Contact:
Re: NWS Forecast
Got it. Thanks. It just seemed a little strange that I am having trouble from two different sources. No one else has mentioned it so maybe it is something unique to my host.
-
nineback
- Advisor

- Posts: 74
- Joined: Thu Aug 24, 2017 11:12 am
- Location: Alabama
- Station model: Davis Pro2
- Software: WeeWX
- Contact:
Re: NWS Forecast
This is a constant problem. Fails to load when I first open up my page but a refresh and it happens right away. I'm not sure that this is an NWS issue since it happens all the time.
Anyone else using the nwsForecast block noticing this?
Tom
www.kq5s.com\template
Anyone else using the nwsForecast block noticing this?
Tom
www.kq5s.com\template
- jay_hoehn
- Language Admin

- Posts: 135
- Joined: Sun Aug 20, 2017 1:45 pm
- Location: Las Cruces, NM USA
- Station model: Vantage Pro 2 Plus
- Software: WeeWx
- Contact:
Re: NWS Forecast
Tom,
I have never seen this behavior on my page. I went to your site and the NWS forecast block loaded first time. I tried closing the page and trying it several times and it loaded each time.
Jay
I have never seen this behavior on my page. I went to your site and the NWS forecast block loaded first time. I tried closing the page and trying it several times and it loaded each time.
Jay
-
nineback
- Advisor

- Posts: 74
- Joined: Thu Aug 24, 2017 11:12 am
- Location: Alabama
- Station model: Davis Pro2
- Software: WeeWX
- Contact:
Re: NWS Forecast
Thanks Jay. I went to your page and it loaded first time as well.
Tom
Tom
- Dehatter
- Professional

- Posts: 350
- Joined: Sun Jan 07, 2018 5:11 am
- Location: Matthews, NC, USA
- Station model: Ecowitt WH80
- Software: Ecowitt GW1000
- Contact:
Re: NWS Forecast
For reference, neither the map or the NWS forecast loaded the first time. After a refresh, the NWS loaded but not the map. Additionally, several of the maps in the drop-down did not load after I selected it.
Sorry for the news, but just wanted you to know.
Tom
Sorry for the news, but just wanted you to know.
Tom
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: NWS Forecast
I tried 3 times myself from 3 different browsers and every time I was able to view all images, even any image chosen from the dropdown, really not sure whats going on there. I tried yesterday evening too with the same - good - result
- Dehatter
- Professional

- Posts: 350
- Joined: Sun Jan 07, 2018 5:11 am
- Location: Matthews, NC, USA
- Station model: Ecowitt WH80
- Software: Ecowitt GW1000
- Contact:
Re: NWS Forecast
For reference......just tried it.
No go.
Loads first time every time on Jay's. Not sure the difference.
Tom
No go.
Loads first time every time on Jay's. Not sure the difference.
Tom
- Attachments
-
- KQ5S.jpg (237.07 KiB) Viewed 18277 times
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: NWS Forecast
The above screenshot is fine, if you mean the red text, thats directly from NWS. That red text is not a text, it is an image (with text), it has the same URL as the original image, they basically replace the original radar image with an image with this red text, but in reality for the script it makes no difference, it is the same picture, same URL, just not showing radar, but text
- Dehatter
- Professional

- Posts: 350
- Joined: Sun Jan 07, 2018 5:11 am
- Location: Matthews, NC, USA
- Station model: Ecowitt WH80
- Software: Ecowitt GW1000
- Contact:
Re: NWS Forecast
Just checked Edge and ie11 and NWS worked right off. Even the map showed after a long period of time.
Chrome seems to be the least reliable in the case.
Tom
Chrome seems to be the least reliable in the case.
Tom
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: NWS Forecast
I think it is just coincidence, this cant have anything to do with browser type, not to mention that IE and Edge usually only cause problems and in the best case work like Chrome/FF/Opera