Author Topic: NOAA Satellite image issue  (Read 1750 times)

0 Members and 1 Guest are viewing this topic.

Offline tigerbait

  • Member
  • *
  • Posts: 40
    • Ellerbe Weather
NOAA Satellite image issue
« on: December 05, 2023, 03:29:34 PM »
Hi everyone,
My WU satellite is not updating.  I'm trying to add the NOAA images but cannot get the image to show up.
Any help appreciated.

Code: [Select]
<!-- Start code for Radar and Satellite loops-->
<table width="99%" align="center" style="border: none">
<tr>
<!-- Radar Loop -->
<td align="center"><a href="https://sporttiger.com/wxregionalradar1.php">
        <img src="https://radar.weather.gov/ridge/standard/SOUTHMISSVLY_loop.gif" alt="Regional Radar" width="620" height="400"/>
        </td>
<!-- Satellite Loop -->
  <td align="center"><a href="https://sporttiger.com/wxregionalsat.php">
            <img border="0" src="https://www.star.nesdis.noaa.gov/GOES/sector_band.php?sat=G16&sector=sp&band=GEOCOLOR&length=24"  width="620" height="400" alt=""></img></a>
</td>
</tr>
</table>
/code]

I have tried this gif but it will not update.

[code]<!-- Satellite Loop -->
        <td align="r"><a href="https://sporttiger.com/wxregionalsat.php"  target="center">
            <img border="0" src="https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/sp/GEOCOLOR/20233391301-20233391656-GOES16-ABI-SP-GEOCOLOR-600x600.gif"

            width="620" height="400" alt=""></img></a>
        </td>/code]
https://www.sporttiger.com
Davis VP2 Weather Display
Saratoga scripts

Offline dwhitemv

  • KORJUNCT3
  • Member
  • *
  • Posts: 36
    • My PWS on Weather Underground
Re: NOAA Satellite image issue
« Reply #1 on: December 05, 2023, 03:49:56 PM »
First link (radar.weather.gov) looks ok, but the second image (star.nesdis.noaa.gov) goes to a page, not an image.

The STAR animated loops aren't possible to link to as they have the timestamps embedded in the filename. The static images have aliases, so you can use this URL to get the latest frame in 600x600 pixels (other sizes available):

https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/sp/GEOCOLOR/600x600.jpg

You will need to tweak the height or width attributes in the img tags so it doesn't squish the image. Both the RIDGE radar and the STAR satellite images are square.

Offline tigerbait

  • Member
  • *
  • Posts: 40
    • Ellerbe Weather
Re: NOAA Satellite image issue
« Reply #2 on: December 06, 2023, 09:44:59 AM »
First link (radar.weather.gov) looks ok, but the second image (star.nesdis.noaa.gov) goes to a page, not an image.

The STAR animated loops aren't possible to link to as they have the timestamps embedded in the filename. The static images have aliases, so you can use this URL to get the latest frame in 600x600 pixels (other sizes available):

https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/sp/GEOCOLOR/600x600.jpg

You will need to tweak the height or width attributes in the img tags so it doesn't squish the image. Both the RIDGE radar and the STAR satellite images are square.

Thanks for the info.  I'll play around with the images.
https://www.sporttiger.com
Davis VP2 Weather Display
Saratoga scripts

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3394
    • Frankfort Weather - TwinHollies WeatherCenter
Re: NOAA Satellite image issue
« Reply #3 on: December 06, 2023, 07:22:05 PM »
First link (radar.weather.gov) looks ok, but the second image (star.nesdis.noaa.gov) goes to a page, not an image.

The STAR animated loops aren't possible to link to as they have the timestamps embedded in the filename. The static images have aliases, so you can use this URL to get the latest frame in 600x600 pixels (other sizes available):

https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/sp/GEOCOLOR/600x600.jpg

You will need to tweak the height or width attributes in the img tags so it doesn't squish the image. Both the RIDGE radar and the STAR satellite images are square.

Structure your url as:
https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/ne/GEOCOLOR/GOES16-NE-GEOCOLOR-600x600.gif?...
then regardless of time stamp the '?' should cause browser to load the latest when you access your page... .

As on this page:https://frankfortweather.us/GoSat/GoSat/GoSatAN.shtml 
Main satellite page: https://frankfortweather.us/GoSat/GoSat/
« Last Edit: December 06, 2023, 07:28:07 PM by Cutty Sark Sailor »
 


Offline tigerbait

  • Member
  • *
  • Posts: 40
    • Ellerbe Weather
Re: NOAA Satellite image issue
« Reply #4 on: December 06, 2023, 08:04:37 PM »
Thanks Cutty, I will give that a shot.  Your satellite page is really cool!! [tup]



First link (radar.weather.gov) looks ok, but the second image (star.nesdis.noaa.gov) goes to a page, not an image.

The STAR animated loops aren't possible to link to as they have the timestamps embedded in the filename. The static images have aliases, so you can use this URL to get the latest frame in 600x600 pixels (other sizes available):

https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/sp/GEOCOLOR/600x600.jpg

You will need to tweak the height or width attributes in the img tags so it doesn't squish the image. Both the RIDGE radar and the STAR satellite images are square.

Structure your url as:
https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/ne/GEOCOLOR/GOES16-NE-GEOCOLOR-600x600.gif?...
then regardless of time stamp the '?' should cause browser to load the latest when you access your page... .

As on this page:https://frankfortweather.us/GoSat/GoSat/GoSatAN.shtml 
Main satellite page: https://frankfortweather.us/GoSat/GoSat/

https://www.sporttiger.com
Davis VP2 Weather Display
Saratoga scripts

Offline powerline

  • Member
  • *
  • Posts: 35
    • Oak Ridge North Weather
Re: NOAA Satellite image issue
« Reply #5 on: December 09, 2023, 01:28:05 PM »
Looking for a bit of help.  Can one of you tell me which Saratoga web page was modified to replace the WU that is not updating?  Your pages look really good with the replacement.  Thank you!
Ron

Davis Vantage Pro2.  Meteobridge Pro
CWOP:  CW2840
WU:  KTXOAKRI1
http://www.oakridgewx.net

Online BKS97

  • Senior Contributor
  • ****
  • Posts: 175
    • Sartell East Weather
Re: NOAA Satellite image issue
« Reply #6 on: December 09, 2023, 06:33:48 PM »
Looking for a bit of help.  Can one of you tell me which Saratoga web page was modified to replace the WU that is not updating?  Your pages look really good with the replacement.  Thank you!

This thread should provide you with the information you are looking for. . .

https://www.wxforum.net/index.php?topic=45590.msg461998#msg461998

Offline powerline

  • Member
  • *
  • Posts: 35
    • Oak Ridge North Weather
Re: NOAA Satellite image issue
« Reply #7 on: December 10, 2023, 11:15:38 AM »
My apologies.  I have spent some time on this.  I guess what I should have asked was which Saratoga file or files must be modified to accomplish this?
What code must be added or deleted?  Obviously, this is not my forte.  Thank you again.   
Ron

Davis Vantage Pro2.  Meteobridge Pro
CWOP:  CW2840
WU:  KTXOAKRI1
http://www.oakridgewx.net

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1314
  • BismarckWeather.net
    • BismarckWeather.net
Re: NOAA Satellite image issue
« Reply #8 on: December 10, 2023, 11:59:54 AM »
It's in your index.php file.  That file is fairly small.  You'll find it quickly.  It's in a small table.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Online BKS97

  • Senior Contributor
  • ****
  • Posts: 175
    • Sartell East Weather
Re: NOAA Satellite image issue
« Reply #9 on: December 10, 2023, 12:16:00 PM »
I have a recent version of Base USA in which I placed an override script in Settings.php.  For example, to replace the right-side WU satellite map with a Goes 16 image, as I did, the override should be inserted just below the WU block of script in Settings.php:

______________________________________

$SITE['WUsatellite'] = 'nc'; // Wunderground regional satellite maps
// ="nw" North West, ="nc" North Central, ="ne" North East,
// ="wc" West Central, ="ce" Central, ="ec" East Central,
// ="sw" South West, ="sc" South Central, ="se" South East,

$SITE['rightMap'] = "Satellite|https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/umv/GEOCOLOR/GOES16-UMV-GEOCOLOR-600x600.gif|";

_________________________________________

Information on this can be found in the Readme link I referenced in my first reply above. 

Offline powerline

  • Member
  • *
  • Posts: 35
    • Oak Ridge North Weather
Re: NOAA Satellite image issue
« Reply #10 on: December 10, 2023, 01:31:50 PM »
BKS97,

Thanks for the prompt reply.  I have done it with your advice and changed it to apply to my area of the country.  Thank you for your help!
Ron

Davis Vantage Pro2.  Meteobridge Pro
CWOP:  CW2840
WU:  KTXOAKRI1
http://www.oakridgewx.net

Online BKS97

  • Senior Contributor
  • ****
  • Posts: 175
    • Sartell East Weather
Re: NOAA Satellite image issue
« Reply #11 on: December 10, 2023, 01:38:08 PM »
 [tup]

Offline tigerbait

  • Member
  • *
  • Posts: 40
    • Ellerbe Weather
Re: NOAA Satellite image issue
« Reply #12 on: December 11, 2023, 09:10:49 AM »
Looks great Ron

BKS97,

Thanks for the prompt reply.  I have done it with your advice and changed it to apply to my area of the country.  Thank you for your help!
https://www.sporttiger.com
Davis VP2 Weather Display
Saratoga scripts

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Satellite image issue
« Reply #13 on: December 11, 2023, 05:34:43 PM »
I finished up a script to create the missing animated GIF from WU Infrared Satellite images.

Now available on the Update tool (https://saratoga-weather.org/wxtemplates/updates.php) for Base-USA, *-Plugin, 11-Dec-2023
It also has an update for USA-regional-maps-inc.php to use the new script.. Config is in Settings.php for $SITE['WUsatellite']
Code: [Select]
$SITE["WUsatellite"] = "sw"; // Wunderground regional satellite maps
// ="nw" North West, ="nc" North Central, ="ne" North East,
// ="wc" West Central, ="ce" Central, ="ec" East Central,
// ="sw" South West, ="sc" South Central, ="se" South East,
// ="us" United States (Conus)
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline dwhitemv

  • KORJUNCT3
  • Member
  • *
  • Posts: 36
    • My PWS on Weather Underground
Re: NOAA Satellite image issue
« Reply #14 on: December 12, 2023, 01:46:16 AM »
Thanks Ken! Working great here.