Author Topic: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds  (Read 3143 times)

0 Members and 1 Guest are viewing this topic.

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
It's May 4 at 2pm, and the temperature here is a very unseasonable 39.7° with a midnight high of 41.5°!  Nevertheless, hot weather will be here again soon, so this has been today's project based on this presumption.

From May 1 to September 30 the Weather Prediction Center generates heat index outlook maps for 3 to 7 days ahead.  This script initially displays a set of maps without a threshold applied.  From there a dropdown menu allows the viewer to select map sets with a threshold of from 95° to 115° in 5° increments.  At 895 pixels the width of the map set is quite large, but must be maintained in order to preserve the correct geometry for the city links' functionality--sorry about that.

Edit 2013 August 24: I've revised the NWS Heat Index Map display scripts by using jQuery's AJAX 'load' to re-display only the portion of the page that changes with a new Heat Index Threshold selection.  In other words it uses partial page loads rather than full page reloads.  This has reduced the number of files in this package from fourteen to three, improved load times, and greatly reduced bandwidth consumption.  You can check it out here on my site.  This version replaces all prior versions.
« Last Edit: August 24, 2013, 01:54:05 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #1 on: May 04, 2013, 04:53:29 PM »
Hi Jerry,

Thanks for the script. Working here with some mods: 3-7 Day Heat Index

John
GR2AE, GR3, Cumulus

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #2 on: May 04, 2013, 05:12:37 PM »
Hi John,

Your site's width is ideal for this map set.  Looks good.  One of the benefits of modularity is the ability to easily eliminate unwanted functionality as you have done with the threshold maps. :-)
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #3 on: May 16, 2013, 09:04:31 AM »
I've added a 'Minimum Heat Index' forecast series to the 'Maximum' series.  The new zip is available in the first post, and the new series can be seen here.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #4 on: June 30, 2013, 09:47:08 AM »
It turns out that the scripts disabled AjaxGizmo by using a javascript 'window.onload()' function.  This problem has been fixed in wx3-7d_select_hi-loheatindex2.php in the first thread above.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #5 on: August 24, 2013, 01:51:01 PM »
I've revised the NWS Heat Index Map display scripts by using jQuery's AJAX 'load' to re-display only the portion of the page that changes with a new Heat Index Threshold selection.  In other words it uses partial page loads rather than full page reloads.  This has reduced the number of files in this package from fourteen to three, improved load times, and greatly reduced bandwidth consumption.  You can check it out here on my site.

This version3 replaces all prior versions.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #6 on: December 02, 2013, 08:09:38 AM »
Hi,

Now that winter is upon us is there such a thing as the windchill forecast?

Bob
Bob
KK4QXH

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #7 on: December 02, 2013, 09:19:15 AM »
Interestingly enough, there is!

While the data shown is based on climatological data from 1981 to 2010 and isn't a 'forecast' as such, it is still an 'Outlook'.  When I get some time to play with it I'll work up a page to display these maps.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #8 on: December 02, 2013, 01:51:57 PM »
Thank you Jerry look forward to it.
Bob
KK4QXH

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #9 on: December 02, 2013, 05:01:21 PM »
Had fun today putting the Wind Chill Outlook script together.  You can get it here.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #10 on: May 16, 2016, 09:32:46 AM »
There were bugs in this script that displayed incorrect tables for the Low Heat Indices.  A revised version dated today is available here, and the 'includes' file is available here.  The heat-index select file, 'hi-select.php', has been folded into the 'includes' file and may be deleted from your site.

Be aware that because of the hard-coded polygonal links in the map to the many city tables, the map display can't easily be re-sized to fit a narrower template.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline tbrasel

  • Contributor
  • ***
  • Posts: 141
    • Northwest Arkansas Weather.com
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #11 on: May 16, 2016, 10:05:50 AM »
Thank you so very much...Mr. Wilkins.
Best Regards
tbrasel

Bentonville Arkansas, USA
Hardware: Davis 6153 - Wireless Vantage Pro2 with FARS
Software: VWS V15.00
Website: https://www.nwarwx.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #12 on: June 06, 2016, 02:00:33 PM »
I've discovered a potential bug regarding the dates displayed vs. the map dates in the wee hours of the morning.  Additionally, using 'Day 3-7' in the title was confusing to some.

Accordingly I've updated the script to display the actual dates rather than 'Day 3-7' and hopefully corrected the potential bug in the early AM in today's Version 20160606.

A revised version dated today is available here, and the 'includes' file is available here.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WPC Day 3-7 Heat Index Outlook Maps with Selectible Thresholds
« Reply #13 on: June 09, 2016, 07:27:08 AM »
The wording paired with the drop-down selections and the displayed maps might have been confusing.  A revised version dated today attempts to clear up any potential confusion and it  is available here; the 'includes' file is available here.  The scripts' functionality remains unchanged.
Regards, Jerry Wilkins
gwwilk@gmail.com

 

anything