Page 1 of 1

RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Fri Dec 18, 2020 3:03 am
by MonyMony
UPDATE: NWS has started again updating the links this fix references.

Hi All,

So the National Weather Service went live this evening with their new radar format (https://radar.weather.gov) and the format is incompatible with the way this block was originally written. I quickly played around and made this update to at least get the block somewhat working.

Do a search for this string in your code:
+radarType+"/"+

and do a find/replace with this:
+"/K"+

There should be three instances that get replaced. This will at least get it working. Not perfect but enough to limp by. Maybe someone smarter than I can figure out a better solution.

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Fri Dec 18, 2020 10:44 am
by rogers
Is this in the settings or actual block.php file?

BTW Thanks!

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Fri Dec 18, 2020 10:53 am
by rogers
OK, figured it out. That does get it to at least load. Thanks again.

Steve

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Fri Dec 18, 2020 11:31 am
by MonyMony
It’s the actual block code. Sorry for not being more clear.

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Fri Dec 18, 2020 1:14 pm
by MonyMony
UPDATE: Looks like the NWS has stopped updating the link used by the work-around. Not sure at the moment what the next step to make this work will be.

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Sat Dec 26, 2020 1:34 pm
by Bigbaywx
Hopefully it can get figured out as it's a major impediment.

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Fri Jan 01, 2021 11:59 pm
by BobW55
Had a look at it today.
Best option I have found so far is to put it into a IFRAME.
I hate Iframes, but it will work for now.
Shame on the NWS fro not considering how many people were linked into their service.

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Mon Jan 04, 2021 1:26 pm
by MonyMony
Yeah, this is a mess for everyone. I have been watching the wxforum.net boards to see if they can figure this out as they tend to have a much bigger following and they are just as much at a loss as us here on MT. Did see a post the linked to these two articles that pretty much show what a mess this whole change is. The worst thing is NWS cannot revert back to the old sites as they relied on Adobe Flash which was officially depreciated Dec-31-2020.

https://cliffmass.blogspot.com/2020/12/ ... r.html?m=1

https://www.washingtonpost.com/weather/ ... site-slow/

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Sun Mar 21, 2021 6:01 pm
by Jeffm5690
I am not familiar with iframes. How would I set up an iframe to show the radarus for okx?

Re: RadarUS Block not compatible with National Weather Service Radar Updates

Posted: Mon Mar 22, 2021 9:30 pm
by davidefa
As suggested in the first post the only radar loop images ( still available and updated ) seems to be the
"http://radar.weather.gov/ridge/lite/K"+ ... "_loop.gif"
- disabled last dropdown box
- doppler, ozone concentration and min/max temperature radar 'out of order'