Author Topic: Local Storm Report  (Read 11431 times)

0 Members and 1 Guest are viewing this topic.

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Local Storm Report
« Reply #25 on: March 07, 2016, 06:14:42 PM »
I used 'Compare-It!' to bring all the changes from your new version into my old version and I blew right past that line without seeing it! :oops: The error was mine.  My gratuitous post deleted, Curly.

Regards, Jerry Wilkins
gwwilk@gmail.com

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4107
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Local Storm Report
« Reply #26 on: March 08, 2016, 08:40:14 AM »
This is a nice script. I added it to my site as well.
http://www.rogerscityweather.com/wxLSRreports.php
There is a storm report still showing from 3/6. Is this a function of NWS or is there some kind of cache that is keeping it?
Do they eventually clear from showing once they get to a certain "age"?

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline Curly

  • Forecaster
  • *****
  • Posts: 724
    • Michiana Weather
Re: Local Storm Report
« Reply #27 on: March 08, 2016, 11:01:41 AM »
The NWS usually keeps the reports for several days and then the reports will dwindle down to none.
The script does not cache any data as it gets the latest data from the NWS at each page view.
If you click on NWS Local Storm Reports at the top of the page, it will take you to the NWS LSR page.

I did a minor update to the script early this morning to fix the El Paso WFO and to remove unwanted characters from  the Dallas WFO page format.

Offline Curly

  • Forecaster
  • *****
  • Posts: 724
    • Michiana Weather
Re: Local Storm Report
« Reply #28 on: March 09, 2016, 07:35:04 PM »
UPDATED TO A NEW VERSION

Fixed a stray html markup that sometimes appears AND added the choice of a drop down menu for the locations OR a clickable map.
The 2 settings are in the script where you enter your WFO code. Since this is new, the file name has changed from the past version.
This is for the Continental US only.

For the Saratoga Base template:  http://www.weather.ricksturf.com/scripts/wxLSRreports2.zip
Standard script to include in a web page:  http://www.weather.ricksturf.com/scripts/LSRreports_inc.zip
« Last Edit: March 09, 2016, 07:36:36 PM by Curly »

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Local Storm Report
« Reply #29 on: March 10, 2016, 11:12:51 AM »
Thanks, Curly!  The clickable map is a nice feature that keeps the display interesting especially when there are no LSR's available.  I've modified this new Saratoga templated Local Storm Report to use both the map and the drop down as selection options, which is obviously my preference.  Others may disagree, of course.  In addition I've added the self-downloader in case anyone is interested in my hacked version.

Great job, as usual, Curly. =D>
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: Local Storm Report
« Reply #30 on: March 11, 2016, 09:10:05 AM »
wxLSRreports2.php typo?
-Check the image map coords code for "Charleston, WV"... abt line 804
should be "href="?i=rlx"...
not
href="?i= er/rlx:-k

ok in 'inc' template, far as I see so far.
« Last Edit: March 11, 2016, 09:12:17 AM by Cutty Sark Sailor »
 


Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4107
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Local Storm Report
« Reply #31 on: March 11, 2016, 09:18:53 AM »
The same goes for Raleigh, NC (line 806) and Morehead City, NC (line 807).

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: Local Storm Report
« Reply #32 on: March 11, 2016, 10:03:25 AM »
Thanks Curly, very nice job.
Randy

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: Local Storm Report
« Reply #33 on: March 11, 2016, 11:47:41 AM »
wxLSRreports2.php typo?
-Check the image map coords code for "Charleston, WV"... abt line 804
should be "href="?i=rlx"...
not
href="?i= er/rlx:-k

ok in 'inc' template, far as I see so far.
The same goes for Raleigh, NC (line 806) and Morehead City, NC (line 807).

Greg H.

also in reports2 map
line 777 change "Tallahassee FL" from 'tlh' to 'tae'

 


Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: Local Storm Report
« Reply #34 on: March 12, 2016, 12:57:11 PM »
Hmmm... decided I didn't really care for
this map...   :-"  (e.g. thumbail)
1


...decided to play with this concept (e.g. thumbnail)   8-[
2


And have this testing (e.g. thumbnail) currently
3

at http://frankfortweather.us/wxLSRreports4.php

Attached is the simple code change, and a few
of #2 various types, as well as #3 you're welcome to, if you choose...

You can photoshop those basic images of course, but the size and dimensions
of the image, and the image content perspective must remain the same,
or the mapping links will be displaced.

Mike
 


Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Local Storm Report
« Reply #35 on: March 12, 2016, 01:22:02 PM »
Tom Abell has found a map that registers fairly well with the polygonal coordinates and has incorporated it into a modified version.

You can see the template version on my site here and the stand alone here.  Be aware that both the map and the drop down list are active in these versions.

Those of you who are enterprising can use '?sce=view' to acquire the code and R-click on the map then 'save Image as...' to get the map.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Local Storm Report
« Reply #36 on: March 13, 2016, 01:58:56 AM »
John
W7JKG

Online Breezy

  • Indian Trail Weather
  • Forecaster
  • *****
  • Posts: 325
    • Indian Trail Weather
Re: Local Storm Report
« Reply #37 on: March 27, 2016, 09:18:41 AM »
Thanks Rick and Jerry. Much appreciated !!!  =D>

Jeff
Jeff

W7-64, Intel Z170A 16 GB RAM
Davis VP2 Plus, Davis Soil Moisture/Temp Sensors, Laser Snow Depth Sensor LR4/Fluke 414D

Offline mikeym2m

  • Senior Contributor
  • ****
  • Posts: 153
    • MikeyM's Thornhurst PA Weather
Re: Local Storm Report
« Reply #38 on: March 28, 2016, 09:52:44 AM »
Thanks Rick and Jerry   \:D/

Cheers

 :-)

MikeyM

Offline stormwatch

  • Senior Contributor
  • ****
  • Posts: 182
    • Carolina StormWatch Weather
Re: Local Storm Report
« Reply #39 on: April 01, 2016, 06:31:45 PM »
Thanks Curly for an outstanding script as always!!! :grin:
CoCoRaHS NC-BR-1
CW0803
Advanced Spotter

Offline Gregal

  • Member
  • *
  • Posts: 13
    • Hilltop Inspiration
Re: Local Storm Report
« Reply #40 on: September 04, 2017, 07:05:58 PM »
Would someone post the template site as the links to the original seems to be broken.

Thank you

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Local Storm Report
« Reply #41 on: September 04, 2017, 08:29:40 PM »
Would someone post the template site as the links to the original seems to be broken.

Thank you
See my post above here.
Regards, Jerry Wilkins
gwwilk@gmail.com