Author Topic: Goes16 GIF Animation  (Read 8896 times)

0 Members and 1 Guest are viewing this topic.

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #25 on: March 17, 2019, 07:33:33 PM »
All Done! Looking good Jerry! Thanks again....  =D>

Jim

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #26 on: March 18, 2019, 08:06:58 AM »
Jerry,

 Are the GIFs scalable? I have an i frame that is 760 pixels wide and would like the images scaled to fit that width. Heigth would be adjusted according to original GID size...

Jim

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Goes16 GIF Animation
« Reply #27 on: March 18, 2019, 10:55:03 AM »
Jerry,

 Are the GIFs scalable? I have an i frame that is 760 pixels wide and would like the images scaled to fit that width. Heigth would be adjusted according to original GID size...

Jim
Sorry, but the GIF's dimensions are fixed.  You can set '$divWidth = 760;' in the main script so that centering will be better.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: Goes16 GIF Animation
« Reply #28 on: March 18, 2019, 11:38:56 AM »
Jerry,

 Are the GIFs scalable? I have an i frame that is 760 pixels wide and would like the images scaled to fit that width. Heigth would be adjusted according to original GID size...

Jim

Can you post a link to the site? This is doable if what you are putting within the iframe is within your control.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #29 on: March 18, 2019, 11:58:20 AM »
somdweather.com. Go under the Satellite section and choose the GOES16 (East).  This runs in an iframe that is 800px wide.

Select the East Coast loop. In it's original GIF it is 1000x1000 but as you see, it is scaled down to 500x500.

Jim
« Last Edit: March 18, 2019, 12:12:15 PM by SoMDWx »

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #30 on: March 18, 2019, 01:04:25 PM »
DONE!  I was able to expand the images to fit my iFrame width.... really is nice to "fill" the real estate there... If the image is too large, i calculate the ratio of the width and aplly it to both the width and height so the image appears scaled properly.

https://somdweather.com under the SATELLITE section . Only the GOES 16 section is done up to this point...


Jim

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Goes16 GIF Animation
« Reply #31 on: March 18, 2019, 02:17:48 PM »
DONE!  I was able to expand the images to fit my iFrame width.... really is nice to "fill" the real estate there... If the image is too large, i calculate the ratio of the width and aplly it to both the width and height so the image appears scaled properly.

https://somdweather.com under the SATELLITE section . Only the GOES 16 section is done up to this point...


Jim
It looks great, and I stand corrected.  Care to share your code so I can incorporate it into the script?
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #32 on: March 18, 2019, 02:37:17 PM »
OF course you can!  Let me get both modified and i will clean it up / document for you and then send it!

Jim

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #33 on: March 18, 2019, 03:14:01 PM »
email sent w/ files.....

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: Goes16 GIF Animation
« Reply #34 on: March 18, 2019, 03:41:31 PM »
In general, my usefulness increases with my absence...  :grin:  As I mentioned to Jerry on another matter, I was getting rid of a headache the last few hours (due to tax stuff, not trying to figure this out).

Anyway, glad you got this going!
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Goes16 GIF Animation
« Reply #35 on: March 18, 2019, 04:38:47 PM »
Thanks, Jim!  I've incorporated your changes into the script.

I had already set a '$divWidth' in the main script, but it wasn't being referenced in the includes file.  I've changed your $iframeWidth to '$divWidth' and re-established the communication of it between the main script and the includes file.  New zips are up for the GOES16 and GOES17 GIF scripts on my scripts page.  I've given you a nod in the credits as well.  [tup]

What Jasiu is talking about is I've asked for his help with my attempt to allow persistence of user-selected Satellite Views using cookies.  It works in PHP 7.0 on my testing server, but throws an error about resent headers in PHP 5.4.19 on my site.  You can refresh the page on my testing server or set Widescreem on the lower left and the selection persists.
« Last Edit: March 18, 2019, 04:47:40 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #36 on: March 18, 2019, 05:10:10 PM »
Nice! Thanks again!

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #37 on: March 18, 2019, 06:07:21 PM »
Jerry,

 It's not working....I am confused as to what divwidth got changed.....

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Goes16 GIF Animation
« Reply #38 on: March 18, 2019, 06:09:08 PM »
Jerry,

 It's not working....I am confused as to what divwidth got changed.....
Did you set '$displayWide = false;' ???
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Goes16 GIF Animation
« Reply #39 on: March 18, 2019, 06:13:49 PM »
Got it! I had to go into the SA files to set it!

 [tup]

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: Goes16 GIF Animation
« Reply #40 on: May 04, 2019, 03:27:34 PM »
Looks like the Goes16 Gifs are down.
Randy

Offline CW2274

  • Forecaster
  • *****
  • Posts: 6731
    • Conditions @ CW2274 West Tucson-Painted Hills Ranch
Re: Goes16 GIF Animation
« Reply #41 on: May 04, 2019, 05:20:44 PM »

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Goes16 GIF Animation
« Reply #42 on: May 04, 2019, 06:37:10 PM »
The GOES GIF’s have been down all day, I presume for maintenance.

Meanwhile we wait...
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline CW2274

  • Forecaster
  • *****
  • Posts: 6731
    • Conditions @ CW2274 West Tucson-Painted Hills Ranch
Re: Goes16 GIF Animation
« Reply #43 on: May 04, 2019, 07:19:51 PM »
Searching hasn't helped so I obviously need an education here, what's a 'gif' compared to the loop I posted? :oops:

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: Goes16 GIF Animation
« Reply #44 on: May 04, 2019, 07:51:41 PM »
The Gif is a standalone animation in loop form. We use for a website insertion. Jerry has a script that runs all the GIF loops or you can insert a single loop like I was doing for certain regions of interest.
Randy

Offline CW2274

  • Forecaster
  • *****
  • Posts: 6731
    • Conditions @ CW2274 West Tucson-Painted Hills Ranch
Re: Goes16 GIF Animation
« Reply #45 on: May 04, 2019, 08:02:27 PM »
I see...I guess. #-o Thanks Randy.

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: Goes16 GIF Animation
« Reply #46 on: May 04, 2019, 08:19:56 PM »
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline CW2274

  • Forecaster
  • *****
  • Posts: 6731
    • Conditions @ CW2274 West Tucson-Painted Hills Ranch
Re: Goes16 GIF Animation
« Reply #47 on: May 04, 2019, 08:38:55 PM »
https://en.wikipedia.org/wiki/GIF
Yes, I searched, as stated. Doesn't mean that explains the application for me, as silly as that may seem. Regardless, not gonna loose sleep over it. Thanks anyway.

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: Goes16 GIF Animation
« Reply #48 on: May 04, 2019, 08:45:45 PM »
Posted on the NOAA images pages:

Quote
GOES-East - Sector view: Northeast - GeoColor images are temporarily not updating. We are working to restore image production as quickly as possible. For now, you may refer to the other GOES imagery sites listed on our resources page. Thank you for your patience.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Goes16 GIF Animation
« Reply #49 on: May 04, 2019, 11:13:00 PM »
You can view the malfunction here: https://www.gwwilkins.org/wxGOES16-HAniSLoops.php

These images are currently all from earlier today, and they are the last posted for the UMV.

In contrast, the Continental US images are still rolling out:  https://www.gwwilkins.org/wxGOES16-HAniSLoops-SA.php
« Last Edit: May 04, 2019, 11:15:02 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@gmail.com