Author Topic: wxnwswinter.php  (Read 717 times)

0 Members and 1 Guest are viewing this topic.

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1264
  • BismarckWeather.net
    • BismarckWeather.net
wxnwswinter.php
« on: February 03, 2023, 09:44:29 AM »
I noticed my wxnwswinter.php page isn't working.  From what I can tell, I think my local office changed the graphics name or location.  Can someone see what's going on?

https://www.bismarckweather.net/wxnwswinter.php
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 929
    • LexMAWeather
Re: wxnwswinter.php
« Reply #1 on: February 03, 2023, 05:41:38 PM »
If you do a view source, you can see the image it's trying to pull.

Code: [Select]
<table width="656px" align="center">
<tr><td align="center">

    <img src="https://www.weather.gov/images/bis/winter/StormTotalSnowWeb.jpg" width="656" alt="Snowfall Prediction Missing"/>
</td>
</tr></table>

which isn't there.

Going to the Bismarck winter weather page:

   https://www.weather.gov/bis/winter

the main graphic there uses the image https://www.weather.gov/images/bis/ProbMessaging/StormTotalSnow_BIS.png
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2553
    • SouthEast Lincoln, NE Weather
Re: wxnwswinter.php
« Reply #2 on: February 04, 2023, 08:00:13 AM »
The Bismarck WFO have gone crazy with their winter weather graphics naming scheme!  I've fixed the 'Expect This Much', but not the others.  The Ice prediction has gone to a statewide ND prediction rather than a WFO-specific prediction, and because of the importance of this forecast I've included enough spaghetti code to point to the correct graphic.  The rest...pffft!  They're stale right now.  Anyone interested enough to pursue them can view the current graphics through the WFO link at the bottom of the page.

The only changes are in the 'inc-nwswinter.php' script, which is all you would need to replace at this time.  You can find the zip on my scripts page.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 929
    • LexMAWeather
Re: wxnwswinter.php
« Reply #3 on: February 04, 2023, 08:14:29 AM »
Boston keeps changing their minds about whether to include "_BOX" in the image file names. So I succumbed and now check for both and use whatever is newest.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2553
    • SouthEast Lincoln, NE Weather
Re: wxnwswinter.php
« Reply #4 on: February 04, 2023, 08:45:27 AM »
Thanks, Jasiu!  I did look at Boston when I was updating the script, but I didn't do a comprehensive run-through of all of the WFO's like I did when I was creating the script.  The script pulls up current graphics today for Boston.  :shock:
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1264
  • BismarckWeather.net
    • BismarckWeather.net
Re: wxnwswinter.php
« Reply #5 on: February 04, 2023, 11:41:10 AM »
Thanks for the update!
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2553
    • SouthEast Lincoln, NE Weather
Re: wxnwswinter.php
« Reply #6 on: February 07, 2023, 07:30:43 AM »
It looks like Bismarck has sorted through their naming problems with this page, and this morning all of the graphics are displaying and are up to date.
Regards, Jerry Wilkins
gwwilk@gmail.com

 

anything