Author Topic: NWS WFO EHWO-Graphics Products script  (Read 1201 times)

0 Members and 1 Guest are viewing this topic.

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 177
    • Vermilion weather
NWS WFO EHWO-Graphics Products script
« on: September 24, 2019, 10:10:32 AM »
Jerry, for the first time today I noticed images being created for ILX and IND for this product. There are probably more but I just have been checking my surrounding areas for updates.
No pages on their website yet but the images are being created. Hopefully this script will need an update soon.



By the way, like the script and many of your others. Thanks for the work and sharing.
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2307
    • SouthEast Lincoln, NE Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #1 on: September 25, 2019, 08:35:37 AM »
Thanks for the kind words and the heads-up.  I'll try to add these WFO's when I get a chance.  Unfortunately looking at the script I see that each WFO requires an almost unique centering code.  This may take some time.
« Last Edit: September 25, 2019, 08:38:25 AM by gwwilk »
Regards, Jerry Wilkins
gwwilk@gmail.com

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2307
    • SouthEast Lincoln, NE Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #2 on: September 29, 2019, 09:43:44 AM »
I just tried updating the script, but as you point out, these images aren't yet available.

No joy, yet. :-(

Let me know here if you see that the EHWO-Graphics are available at these two WFO's.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline tmabell

  • Forecaster
  • *****
  • Posts: 307
Re: NWS WFO EHWO-Graphics Products script
« Reply #3 on: September 30, 2019, 03:36:53 PM »

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2307
    • SouthEast Lincoln, NE Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #4 on: September 30, 2019, 05:46:51 PM »
Those offices do seem to be producing images.  https://www.weather.gov/images/ind/EHWO/Day2/LightningDay2.png and https://www.weather.gov/images/ilx/EHWO/Day2/LightningDay2.png
They unfortunately haven't yet placed these experimental images on a comprehensive page.  I've uploaded a tentative update to my EHWO-Graphics Products script on my site, but if you go to Indianapolis, IN or Lincoln, IL you'll not see the desired page.  It looks like they're working on it though.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 177
    • Vermilion weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #5 on: September 30, 2019, 05:56:04 PM »
That's what I mentioned in the OP. Images but no page yet. Davenport and St. Louis also have images so it may be all or most of the Central Region getting ready. I'll be visiting the ILX site next week so if I find out anything about it, I'll pass it on.

Sent from my SM-G975U using Tapatalk
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 177
    • Vermilion weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #6 on: October 09, 2019, 01:35:45 PM »
Just left Lincoln Illinois NWS office and as of this morning, all of Central Region should have the EHWO available.

Sent from my SM-G975U using Tapatalk

Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline mkutche

  • Forecaster
  • *****
  • Posts: 917
    • GosportWx.com
Re: NWS WFO EHWO-Graphics Products script
« Reply #7 on: October 11, 2019, 01:34:40 AM »
Any updates on when IND will be releasing there EHWO?
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2307
    • SouthEast Lincoln, NE Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #8 on: October 11, 2019, 07:48:46 AM »
The Lincoln IL and Indianapolis IN WFO's as of 7am CDT 10/11/2019 still aren't displaying the EHWO-Graphics Products...
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline tmabell

  • Forecaster
  • *****
  • Posts: 307
Re: NWS WFO EHWO-Graphics Products script
« Reply #9 on: October 11, 2019, 08:02:03 AM »
Where are you looking for them?  From their main page => Current Hazards => Experimental Graphical Hazardous Weather Outlook

https://www.weather.gov/crh/ghwo?sid=ind

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 177
    • Vermilion weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #10 on: October 11, 2019, 08:05:47 AM »
The Lincoln IL and Indianapolis IN WFO's as of 7am CDT 10/11/2019 still aren't displaying the EHWO-Graphics Products...

Yes, they are...
https://www.weather.gov/crh/ghwo?sid=ilx
https://www.weather.gov/crh/ghwo?sid=ind
https://www.weather.gov/crh/ghwo?sid=dvn
The link for the new offices added are under the CURRENT HAZARDS tab on their office menus.
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2307
    • SouthEast Lincoln, NE Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #11 on: October 11, 2019, 08:18:45 AM »
OKay...so they went their own way with the url's.  Hmmm...
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline tmabell

  • Forecaster
  • *****
  • Posts: 307
Re: NWS WFO EHWO-Graphics Products script
« Reply #12 on: October 11, 2019, 08:21:42 AM »
I think all CRH EHWO's can be found by using that same url structure now.

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 177
    • Vermilion weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #13 on: October 11, 2019, 08:26:41 AM »
OKay...so they went their own way with the url's.  Hmmm...
Don't you just love working with Experimental pages?   :-(
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 177
    • Vermilion weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #14 on: October 13, 2019, 09:20:39 AM »
Until Jerry modifies his code to include both urls, I've set up just the CRH on my website (altered to fixed my scheme).
Working fine so far. Still have a few heights to adjust on different office sites due to legend change on different products.
http://vermilionweather.com/hazoutlook.php
« Last Edit: October 13, 2019, 09:36:41 AM by rrrick8 »
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2307
    • SouthEast Lincoln, NE Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #15 on: October 13, 2019, 10:08:37 AM »
I worked on this yesterday, and have replaced the old script with a new one that is specific to CRH WFO EHWO-Graphics Products.

There are a couple of problems that persist.  When displayed with a narrow width of 680px, the graphics quite properly align vertically.  That is until you select 'Des Moines' and then select another map whereupon the graphics align horizontally with a tiny map.  Everything works, but this is a little bothersome.

You can see a narrow width of 800px when you 'View' the new script on my scripts page.  Here is the 680px narrow width on my testing server.

I've dropped distribution and support for the old script which required the construction of arrays of arrays by trial and error.  Not fun.
Regards, Jerry Wilkins
gwwilk@gmail.com

Online gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2307
    • SouthEast Lincoln, NE Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #16 on: October 13, 2019, 10:42:25 AM »
There was a problem with the '-SA', StandAlone version in the zip available initially.  This has been fixed in the zip currently available.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline mkutche

  • Forecaster
  • *****
  • Posts: 917
    • GosportWx.com
Re: NWS WFO EHWO-Graphics Products script
« Reply #17 on: October 13, 2019, 11:56:37 AM »
Thanks Jerry! It works like a charm! http://gosportwx.com/wxEHWO-CRH.php
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Offline DaculaWeather

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3192
    • North Georgia Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #18 on: October 21, 2019, 09:41:30 AM »
Yes, mostly likely each office will need a different size to the iframe. GSP uses this but theirs looks totally different. And then when an office puts a banner for some weather threat at the top of the page, the iframe contents will get shifted down. I have found that some things are not worth trying to stuff in an iframe.

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 177
    • Vermilion weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #19 on: October 22, 2019, 08:47:03 PM »
Ok, so we know some don't like iframes and if you are one of them, then this adaptation is probably not for you.
I've joined the 2 (actually 3. Florida have a couple that's different than all the others) different formats and links to EHWO outputs.
Instead of a drop down menu, I went with a clickable CWA Map. CWA's without a valid EHWO will display a graphic advising that the site is not yet functional (hopefully more will join soon).
I've added a call to the script on my local HWO page. You can see it in action there... http://vermilionweather.com/hazoutlook.php
I've included a zip with this post that contains the necessary folder and files.
Yes, everything is iframe. I did not try to cut off tops and  bottom descriptions of the pages. CRH EHWO's are very clean but the other regions that offer an EHWO page do have details and help descriptions included. Did not want to mess with making dozens of different iframe sizes.

Just load the EHWOcwa folder, which contains the main folder with all the necessary page files and map up to your website. I know a well scripted array (that combined all the different url versions) would be neater but that's not my forte.  Set your HOME cwa by calling it on the page where you want to display it. I use
Code: [Select]
<iframe src="EHWOcwa/EHWOilx.php"  width="100%" height="1900"></iframe> [ You are not allowed to view attachments ]
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline DaculaWeather

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3192
    • North Georgia Weather
Re: NWS WFO EHWO-Graphics Products script
« Reply #20 on: October 23, 2019, 07:07:12 AM »
I used iframes before most people did, and I still use them, they are great for certain applications. My only point is that not everything is suitable for an iframe. Not only that, some web designers have gotten wise to that and construct their pages in a way that doesn't allow the content to be displayed in an iframe, and I've had to get rid of a lot of nice pages because of that. I only say all of this as a caution for those that end up with a bunch of iframe pages and don't fully understand how to fix things when the web designer on the site you're trying to display decides to change things, or when they pop their content out of your iframe.  :-)

Just offering my unsolicited advice... ;-) What do I know.


 

anything