Author Topic: NOAA Local Storm Report  (Read 6319 times)

0 Members and 1 Guest are viewing this topic.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 510
    • Penn Lake Weather
NOAA Local Storm Report
« on: March 03, 2018, 03:37:32 PM »
http://www.pennlake.us/wxNWSlsr.php

My Noaa Local Storm Report, (wxNWSlsr.php) stopped working the other day, I use, BGM, Binghamton, NY as the base, I was just wondering if something had changed there.

Anyone else having issue's with this script??

yamiacaveman

Offline tmabell

  • Forecaster
  • *****
  • Posts: 445
    • Mishawaka Weather
Re: NOAA Local Storm Report
« Reply #1 on: March 03, 2018, 04:29:59 PM »
Mine went belly up as well.  Attached is the latest version I got from Curly.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 510
    • Penn Lake Weather
Re: NOAA Local Storm Report
« Reply #2 on: March 03, 2018, 04:48:23 PM »
Boy Thanks I'll give it a try!

Please, give my regards to Curly.


yamiacaveman

Offline tmabell

  • Forecaster
  • *****
  • Posts: 445
    • Mishawaka Weather
Re: NOAA Local Storm Report
« Reply #3 on: March 03, 2018, 04:54:05 PM »
That one won't work now either.  I was hoping someone might have a fix  :grin:

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 510
    • Penn Lake Weather
Re: NOAA Local Storm Report
« Reply #4 on: March 03, 2018, 05:07:38 PM »
Yep -- I just found that out, lol. I see the information seems to be available, but it is way beyond me on how to get it to my page.

By that I mean if in the old one I click on "Storm Report Office"
https://forecast.weather.gov/product.php?site=BGM&issuedby=BGM&product=LSR&format=TXT&version=1&glossary=0

It looks like the way the old info was - but like I said -- how to get it to my site, way beyond me.

Thanks for the suggestion and assistance.

yamiacaveman

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 510
    • Penn Lake Weather
Re: NOAA Local Storm Report
« Reply #5 on: March 03, 2018, 09:42:50 PM »
I see some people are using a little different script - I don't have it but that isn't working either.
wxLSRreports2tab.php

Offline lddaly

  • Forecaster
  • *****
  • Posts: 490
Re: NOAA Local Storm Report
« Reply #6 on: March 03, 2018, 10:18:29 PM »
I don't have this script on my site, but it is probably related to the changes the NWS made this week.

Try changing this:
Code: [Select]
$nwslsr  = "http://forecast.weather.gov/product.php?site=".strtoupper($wfo_id)."&issuedby=".strtoupper($wfo_id2)."&product=LSR&format=TXT&version=".$rep_ver."&glossary=0";To:
Code: [Select]
$nwslsr  = "https://forecast.weather.gov/product.php?site=".strtoupper($wfo_id)."&issuedby=".strtoupper($wfo_id2)."&product=LSR&format=TXT&version=".$rep_ver."&glossary=0";
and

This:
Code: [Select]
$url = str_replace("http://","",$URL);To:
Code: [Select]
$url = str_replace("https://","",$URL);

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 510
    • Penn Lake Weather
Re: NOAA Local Storm Report
« Reply #7 on: March 03, 2018, 10:57:41 PM »
Hey -- Thanks  --- In the script I have I don't have those lines but you gave me the direction to go!

Line 87               $noaasr  = "https://forecast.weather.gov/product.php?site=".strtoupper($noaa_id)."&issuedby=".strtoupper($noaa_id2)."&product=LSR&format=TXT&version=".$noaa_page."&glossary=0";

Changed the http to https   and all is good now.


Thanks Iddaly!!!!!!!!!!!!!!

Offline lddaly

  • Forecaster
  • *****
  • Posts: 490
Re: NOAA Local Storm Report
« Reply #8 on: March 03, 2018, 11:08:06 PM »
Glad it worked. My suggestion was based on the LSRreports_inc.zip file attached previously in this thread.

Offline tmabell

  • Forecaster
  • *****
  • Posts: 445
    • Mishawaka Weather
Re: NOAA Local Storm Report
« Reply #9 on: March 04, 2018, 07:37:18 AM »
Thanks lddaly, that did fix my version!

Offline mikeym2m

  • Senior Contributor
  • ****
  • Posts: 159
    • MikeyM's Thornhurst PA Weather
Re: NOAA Local Storm Report
« Reply #10 on: March 04, 2018, 10:32:19 AM »
Thanks lddaly fixed it for me also!  \:D/

Cheers

 :grin:

MikeyM

Offline hunter362

  • Member
  • *
  • Posts: 15
    • Fairmount Hill's Weather
Re: NOAA Local Storm Report
« Reply #11 on: July 12, 2024, 08:28:29 AM »
I know this is an old thread, but the script is once again just showing a blank page, I'm pretty sure that it worked fine not very long ago.
The link to the Local Report Office brings you to the right page, just not shows localy.

Offline Jasiu / JJ

  • Forecaster
  • *****
  • Posts: 1030
    • LexMAWeather
Re: NOAA Local Storm Report
« Reply #12 on: July 12, 2024, 03:44:45 PM »
I know this is an old thread, but the script is once again just showing a blank page, I'm pretty sure that it worked fine not very long ago.
The link to the Local Report Office brings you to the right page, just not shows localy.
Link to an example? I don't use this script so I can't take a look without an active malfunctioning page.
https://lexmaweather.info
Mastodon: @LexMAWeather@toot.community
Bluesky: @LexMAWeather.toot.community.ap.brid.gy

Offline hunter362

  • Member
  • *
  • Posts: 15
    • Fairmount Hill's Weather
Re: NOAA Local Storm Report
« Reply #13 on: July 13, 2024, 09:05:26 AM »
http://www.camillusweather.com/wxNWSlsr.php

Anny other's I've checked do the same thing, must be NOAA changed something recently

Offline tmabell

  • Forecaster
  • *****
  • Posts: 445
    • Mishawaka Weather
Re: NOAA Local Storm Report
« Reply #14 on: July 13, 2024, 09:07:47 AM »

Offline hunter362

  • Member
  • *
  • Posts: 15
    • Fairmount Hill's Weather
Re: NOAA Local Storm Report
« Reply #15 on: July 13, 2024, 09:14:43 AM »
ya, that's what it's supposed to show.... weird

Offline hunter362

  • Member
  • *
  • Posts: 15
    • Fairmount Hill's Weather
Re: NOAA Local Storm Report
« Reply #16 on: July 13, 2024, 09:43:19 AM »
Still working here...
https://mymishawakaweather.com/LSR.php

I've got V1.01 17-May-2014

Thats the latest I seem to have

Offline tmabell

  • Forecaster
  • *****
  • Posts: 445
    • Mishawaka Weather
Re: NOAA Local Storm Report
« Reply #17 on: July 13, 2024, 10:04:55 AM »
Look for V3.0 - 9-Mar-2016

Offline hunter362

  • Member
  • *
  • Posts: 15
    • Fairmount Hill's Weather
Re: NOAA Local Storm Report
« Reply #18 on: July 13, 2024, 10:32:05 AM »
Can't seem to find it...

Offline tmabell

  • Forecaster
  • *****
  • Posts: 445
    • Mishawaka Weather
Re: NOAA Local Storm Report
« Reply #19 on: July 13, 2024, 10:53:28 AM »
Try this...

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2627
    • SouthEast Lincoln, NE Weather
Re: NOAA Local Storm Report
« Reply #20 on: July 13, 2024, 03:05:14 PM »
This works, but there are lots other NOAA text products available in the script which is currently configured for the Saratoga templates. There are lots of reports referenced that often aren't published, but those that are available do show up.

If you're interested in this more comprehensive display of NOAA text products you can get it as 'wxnoaaproducts.zip' on my scripts page.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline tman1991

  • Senior Member
  • **
  • Posts: 57
    • http://frogville.us
Re: NOAA Local Storm Report
« Reply #21 on: July 13, 2024, 10:16:12 PM »
thats a neat script but take note it calls out a cwa3.gif file, I found a cwa2.png file to use instead.  you need that also or you get no map. (need to change line that calls it out from cwa3.gif to cwa2.png)

I did that mod and included the graphics.




Offline hunter362

  • Member
  • *
  • Posts: 15
    • Fairmount Hill's Weather
Re: NOAA Local Storm Report
« Reply #22 on: July 14, 2024, 09:49:17 AM »
Back in action, thanks to all!  GWWILK,  thanks, some good stuff there  [tup]
« Last Edit: July 14, 2024, 03:08:12 PM by hunter362 »

 

anything