WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: gwwilk on December 07, 2016, 08:07:33 PM

Title: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on December 07, 2016, 08:07:33 PM
Some of you may be aware that the NOAA Office of Satellite and Product Operations is transitioning to an upgraded web system. This message appears on many of the HTML5 HAniS-based animations:
SPECIAL MESSAGE:
On Tuesday December 6, 2016 at 11 a.m. EST (1500 UTC), a planned web system upgrade was performed. Due to this update there may be brief delays of data on the GOES web pages for the next few hours. We are aware of this problem and are working to correct it. For additional information see SATS message page.

Accordingly many HAniS-based HTML5 animations they create are currently in limbo even more than 24 hours after the transition.  If you are using any of my HAniS scripts, the US and Regional Satellite Loops (http://www.gwwilkins.org/wxus-allloops-h5.php), the Tropical Satellite Loops (http://www.gwwilkins.org/wxus-alltropicloops-h5.php), the Sea Surface Temperature Loops (http://www.gwwilkins.org/wxus-sstloops-h5.php), or the NOAA US WFO Satellite Loops (http://www.gwwilkins.org/wxus-allloops-wfo-h5.php) you may find that the images may not exist, may not be current or may not align properly due to NOAA site transition.  (The OAX WFO Satellite Loop isn't functioning, but the Grand Forks, ND loop is, for instance.)

Use '?sce=view' (no quotes) on the above links to download the latest versions that I modified to detect the special message, correct the alignment, and display a warning message regarding the NOAA Office of Satellite and Product Operations transition. The main scripts are the only ones that have been modified and the 'includes' scripts are all unchanged.  I modified the 'SPECIAL MESSAGE' detection to use PHP's 'strpos()' function rather than 'preg_match()' because it's simpler and faster, as per the tip in the 'NOTES' of the 'preg_match()' PHP manual.

It may take a few days or more before things have settled down at NOAA Office of Satellite and Produce Operations, and their estimate of 'brief delays' turns out to have been overly optimistic.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: tbrasel on December 08, 2016, 07:16:07 PM
Thank you very much for this update, Jerry!
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on December 08, 2016, 07:21:19 PM
Thank you very much for this update, Jerry!
No problem.  As I've been watching the progress of NOAA's Office of Satellite and Product Operations during the transition, they have slowly restored more and more of the HAniS-based loops.  It looks as though they first took care of those areas that were experiencing adverse weather.

It remains to be seen if my code to detect the 'SPECIAL MESSAGE' will revert the scripts to normal once the transition has been completed and the message is turned off. :-) I think it will, but I've been wrong before...
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: tbrasel on December 14, 2016, 03:52:54 PM
Jerry,

Mine is back up & running, although no time/date stamps yet, so maybe they are still configuring some since the message still appears.

I do have a question, is their anyway to default the county lines "on", instead of clicking them each time?

Thank you Jerry,

tbrasel
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on December 14, 2016, 03:55:16 PM
...
I do have a question, is their anyway to default the county lines "on", instead of clicking them each time?
...
tbrasel
The defaults are set by the NWS and since it's an iframe we're displaying I know of no way to modify the defaults.  Sorry :-(
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: tbrasel on January 01, 2018, 07:31:42 AM
Happy New Year, Jerry.

I noticed this message on the satellite page this morning. I think we loose our GOES 13 feed on January 3, 2018.
Do you know if (any) changes are going to take place with your script, or will the changes take place on the back end or nws end with no changes downstream with the script?

SPECIAL MESSAGE:  Satellite Change

GOES-16 is now GOES-East. Data on this page, although labeled GOES-East, is from GOES-13 and is no longer the official GOES-East imagery.


As always, thank you for your time.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 01, 2018, 08:54:54 AM
This 'Special Message' has been up for a while now.  The GOES16 Imagery, while available, is still labeled at the bottom of the page as unsuitable for production use, hence 'preliminary'.  I've assembled a script that works fairly well for the new, SSL-enabled or 'https://', site because a couple of weeks ago the GOES-East HAniS loops disappeared from the OSPO site and I pared my HAniS script down to GOES-West only.  Then I saw recently that the GOES-East HAniS loops reappeared, so I've returned 'wxus-allloops-h5.php' to its original state.  As of today there's nothing to do there.

If you're interested in a very early look at the GOES16 HAniS script (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php) a zip is available, without the HAniS javascript, here (https://www.gwwilkins.org/temp/wxGOES16-HAniSLoops.zip).  You can get the latest HAniS version using the link provided at the bottom of 'wxGOES16-HAniSLoops.php (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php)'.

I think there are two problems with the new script:  firstly, there are no time overlays on the images so I need to cobble together a way to do this, and secondly orientation as to place isn't intuitively obvious.  When skies are clear the nocturnal Geocolor images' centers of light pollution provide an excellent way to orient to place, and during the day the larger bodies of water do the same.  Clouds present a problem that can be partially overcome by loading one of the individual bands that all DO have an outline of the states overlaid.

Perhaps the new GOES-East Image Viewer team will rectify the place-orientation problem with a map overlay on the Geocolor images, but their times are currently above the images on their animations so I don't think they will provide a date-time overlay.

They also have 300x300 and 1200x1200 pixel images available, so perhaps this is something I could add to my script in order to accommodate any desire to use smaller or larger images?
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: tbrasel on January 01, 2018, 09:06:58 AM
Thanks for sharing the information. I had no ideal how long it had been up, as I was just checking my pages this morning after the new year. I also was unaware you had a goes-16 script out  =D>. Again thanks for sharing & let me look at this for awhile & I will get back with you.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: tbrasel on January 01, 2018, 10:54:24 AM
I have it setup with the best options available. I selected "Cloud-Top-IR" to get the default state lines, although it always seems I am on the edge of regional sector images. However, the "Cloud-Top-IR" is the same image I use for my default console Simuawips image. I would be surprised if more views/options were not provided throughout this year. I am really  curious about the lightning goes-16 detects and image it displays.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 01, 2018, 11:13:50 AM
I have it setup with the best options available. I selected "Cloud-Top-IR" to get the default state lines, although it always seems I am on the edge of regional sector images. However, the "Cloud-Top-IR" is the same image I use for my default console Simuawips image. I would be surprised if more views/options were not provided throughout this year. I am really  curious about the lightning goes-16 detects and image it displays.
Looks great!
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on January 02, 2018, 12:56:50 PM
Thanks Jerry! Looks really nice ... Much appreciated!

  :grin:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 02, 2018, 03:44:19 PM
I've been working on using the 300x300 and 1200x1200 images in the script.  The default 600x600 works well in the narrow Saratoga template (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php), but it looked scrawny in a standAlone version or a Widescreen Saratoga template.  Thus in today's version I've added the option to use the 1200x1200 images by default in Widescreen and when using the script standAlone (https://www.gwwilkins.org/wxGOES16-HAniSLoops-SA.php)

 In my narrow template scroll down to 'Widescreen' and 'Set' it to 'On' in order to also see the 1200x1200 images in the Saratoga template. (Because of cookies unless you reset Widescreen to 'Off' you will always see 'Widescreen' on my site.  I always set it to 'Off'.)

The number of images to select in the dropdown also varies with the image size in order to avoid overrunning the iframe width.  Be forewarned that only the 'GEOCOLOR', '01', '02', '03', and '05' bands contain the 1200x1200 images.  The script will not allow any other bands with the 1200x1200 images and defaults back to 600x600 images if a band other than these is selected as the default band in the main script.  The resolution of the 1200x1200 images is impressive.

You may download today's version here (https://www.gwwilkins.org/temp/wxGOES16-HAniSLoops.zip).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: tbrasel on January 02, 2018, 06:17:03 PM
I've been working on using the 300x300 and 1200x1200 images in the script.  The default 600x600 works well in the narrow Saratoga template (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php), but it looked scrawny in a standAlone version or a Widescreen Saratoga template.  Thus in today's version I've added the option to use the 1200x1200 images by default in Widescreen and when using the script standAlone (https://www.gwwilkins.org/wxGOES16-HAniSLoops-SA.php)

 In my narrow template scroll down to 'Widescreen' and 'Set' it to 'On' in order to also see the 1200x1200 images in the Saratoga template. (Because of cookies unless you reset Widescreen to 'Off' you will always see 'Widescreen' on my site.  I always set it to 'Off'.)

The number of images to select in the dropdown also varies with the image size in order to avoid overrunning the iframe width.  Be forewarned that only the 'GEOCOLOR', '01', '02', '03', and '05' bands contain the 1200x1200 images.  The script will not allow any other bands with the 1200x1200 images and defaults back to 600x600 images if a band other than these is selected as the default band in the main script.  The resolution of the 1200x1200 images is impressive.

I absolutely agree about the resolution, as it appears crystal clear. The visible looks as if I am looking out the window.

I will likely add a visible (1200x1200) tab, then another for ifr (600x600) tab just below it in my flyout-menu.

I can cover night (ifr) & day (visible) like this. I already miss the ol satellite page which transitioned itself from ifr to vis & back on its own.

Thank you for the 1200 x 1200 script, Jerry.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 13, 2018, 10:04:15 PM
There was a problem with the logic in the preliminary GOES16-HAniSloops-iframe.php (https://www.gwwilkins.org/wxGOES16-HAniSLoops-iframe.php) that prevented the display of some yesterday's images after midnight.  This has been corrected in today's version (https://www.gwwilkins.org/wxGOES16-HAniSLoops-iframe.php?sce=view).  I've also removed lots of inactive code from this script.

The NOAA GOES Satellite Distribution Center now overlays the regional GEOCOLOR maps with the states' outlines, so it's now possible to easily understand the geography.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on January 14, 2018, 09:53:17 AM
Any changes for us Stand -Alone users? Notice the last 3 images are not showing up in the loops whereas they do show on your site.
I like that they added state lines to the Geocolor. Wish they'd add a timestamp in one of the corners also.

Nice work on this Jerry.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 14, 2018, 10:30:36 AM
Since the StandAlone version also relies on the iframe, you get the benefit of the revised logic that corrects the midnight-related error. :-) The 1200x1200 pixel maps also get the states' outline overlay.

My logic for accessing the images on the NOAA GOES Satellite Distribution Center is very primitive in that it only displays images that are named at  '7' minutes which only occurs every 10 minutes, i.e. 07, 17, 27, 37, 47, and 57 minutes every hour.  These are almost always present, but when they aren't they are skipped with the latest HAniS versions.  Unfortunately it can take a few minutes for the latest image(s) to appear, and when that happens they obviously won't show up either.  I've been playing around with trying to detect when the images aren't there, and I just had another idea.  Probably won't work either, but I'll see...

Yes, a timestamp would be very much appreciated!
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on January 14, 2018, 11:27:46 AM
Hmmm. Ok, thanks for the info. Been running for over an hour with new iframe page but missing images are still showing up.
I also noticed that your frame indicator below the image loop has red that turns to green. Is this a setting that I'm miss seeing?
Maybe I need another cup of coffee to make me focus. I must be missing something.

Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 14, 2018, 12:26:25 PM
Hmmm. Ok, thanks for the info. Been running for over an hour with new iframe page but missing images are still showing up.
I also noticed that your frame indicator below the image loop has red that turns to green. Is this a setting that I'm miss seeing?
Maybe I need another cup of coffee to make me focus. I must be missing something.
I think you just need the latest hanis_min.js, contained within the attached zip.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on January 14, 2018, 12:54:05 PM
Hmmm. Ok, thanks for the info. Been running for over an hour with new iframe page but missing images are still showing up.
I also noticed that your frame indicator below the image loop has red that turns to green. Is this a setting that I'm miss seeing?
Maybe I need another cup of coffee to make me focus. I must be missing something.
I think you just need the latest hanis_min.js, contained within the attached zip.

Thanks, I checked and had thought I'd updated that some time ago but didn't. Loaded and been running it a bit now and the image loading seems better and faster but no change in the frame indicators below the looped image. No red while loading or missing just the solid green and orange for active frame. 

Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on January 14, 2018, 01:13:04 PM
Well, that updated hanis script broke my Firefox browser.  ](*,)

Images will not load and it locks my entire browser up. Is there a php version # requirement on the new hanis_min.js ?
 [ You are not allowed to view attachments ]
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 14, 2018, 02:54:02 PM
Sorry about that.  Try Version 4.4 I've attached.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on January 14, 2018, 02:56:55 PM
Sorry about that.  Try Version 4.4 I've attached.
Ok, will give it a go. Before I do... the images are definitely loading faster and less missed ones.
Just that hanis update locked up everything. Will let you know.
Thanks.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on January 14, 2018, 03:01:46 PM
Ahhhh. Much better. Looks like it's all working as intended.
Thanks Jerry.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 14, 2018, 03:59:28 PM
I've gotten a version of the iframe working that checks for the existence of the images before displaying them which eliminates the missing images altogether.  The downside is that the check requires a delay of a few seconds while the image files are being checked.

You can see this here (http://selincolnwx.info/wxGOES16-HAniSLoops.php) and determine if the lookup is worth the time it takes.  As you know, the HAniS image-skipping works very well, so I have mixed feelings about the image-checking before setting up the list of filenames.

I've added a switch, '$checkFiles', to the Settings in 'wxGOES16-HAniSLoops.php' that will determine if your site uses this routine.  Be aware that all three scripts MUST be updated: https://gwwilkins.org/wxGOES16-HAniSLoops.php?sce=view -
https://gwwilkins.org/inc-wxGOES16-HAniSLoops.php?sce=view - and
https://gwwilkins.org/wxGOES16-HAniSLoops-iframe.php?sce=view

There's a new zip on my site (https://gwwilkins.org/temp/wxGOES16-HAniSLoops.zip) that contains the revised scripts along with some recent HAniS versions.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on January 14, 2018, 04:30:25 PM
Personally, I'm fine with what I have now thanks to your help. Only thing I'm looking forward to is eventually being able to get the other satbands with the 1200 widescreen
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: DW7240 on January 14, 2018, 04:56:12 PM
Hi Jerry,

Just to add my two pence worth,  I've a lot of problems running this script, I installed the latest version of the HAnis files, etc etc, still no good, browser just locked up exactly the problem rrrick8 had, but since installing HAnis 4.4 the script just ran with no problems.  Why would the script not work with the latest HAnis ? seems weird to me, usually latest means - setup now and for the future - hmm, oh well it works great, thanks for an awesome script, those images are stunning, even shows the night-time lighting.

Thanks again Jerry.

Nick. dw7240.com
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Bunty on January 15, 2018, 04:03:55 AM
The latest Hanis works fine in Chrome for me, but not on other browsers.
https://stillwaterweather.com/satloops (https://stillwaterweather.com/newpage)
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 15, 2018, 09:20:47 AM
The latest Hanis works fine in Chrome for me, but not on other browsers.
https://stillwaterweather.com/newpage (https://stillwaterweather.com/newpage)
I'll admit that I only tested this script in Chrome, but the HAniS version I'm using works in FF for me as well.  It may not be the latest version however.  Try downloading the zip I referred to above and use one of the earlier HAniS versions I've included to see if that helps.  I have had problems at times running the script in Chrome via an old WAMP on this computer, and I recall similar difficulties with HAniS so I reverted to an earlier version that contained all of the features these scripts need.

In other words, an earlier HAniS version should be the answer, and that's why I've distributed them above.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 15, 2018, 10:31:53 AM
The latest HAniS version is 4.10, and it works in both FF and Chrome on my sites.  It is attached.  EDIT:  I have revised the zip on my site to include only HAniS Versions 4.4, 4.6, 4.8 (which I was using on my sites), and 4.10 (which I am now using on my sites).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on January 15, 2018, 10:34:44 AM
I've gotten a version of the iframe working that checks for the existence of the images before displaying them which eliminates the missing images altogether.  The downside is that the check requires a delay of a few seconds while the image files are being checked.
Trying this in FF 57.0.4 resulted on a completely locked browser.

Just FYI.

Thanks.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 15, 2018, 10:37:39 AM
Sorry, John.  Dump HAniS 4.9 in favor of 4.10.

Same thing here.  I'm reverting to HAniS 4.8 on my sites. 
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on January 15, 2018, 10:40:54 AM
Sorry, John.  Dump HAniS 4.9 in favor of 4.10.
Did that. Still locks up on your site, Jerry.

Thanks.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on January 15, 2018, 10:44:52 AM
Just checked my site with 4.10. After loading the images fine this one now flashes the full map image approx. once every second.

Oops... must now be something else. Reverted to the version I had running and now it is flashing as well.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 15, 2018, 10:56:09 AM
That's an NWS problem, John, and I've seen that for the past few weeks.  Also, they've stopped producing the HAniS loops for GOES EAST again.  There's a new script you can scrape from my site.

Regarding finding a HAniS version that works with FF, well I haven't done so.  I'm not a big fan and haven't tested anything in FF, so my apologies.  I'm back to HAniS 4.10.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on January 15, 2018, 01:46:10 PM
Thanks, Jerry. Add it to the NWS list, I guess.

Chrome and I have never gotten along. Google is way too nosy, IMHO.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 16, 2018, 07:41:51 AM
With Tom Whittaker's generous help (he's the author of HAniS) the problem with some of my HAniS scripts hanging and crashing browsers has been solved.  It turns out that at some point last year he changed a HAniS parameter, 'skip_missing' from 'skip_missing = t \n\' to 'skip_missing = 0 \n\' in order to accommodate the need to skip layers other than the base layer.

The modification of 'wxGOES16-HAniSLoops-iframe.php (https://www.gwwilkins.org/wxGOES16-HAniSLoops-iframe.php?sce=view)' required only that simple change in order to allow it to work properly (https://www.gwwilkins.org/wxGOES16-HAniSLoops-iframe.php).

I've modified all of my other HAniS iframe scripts that contain 'skip_missing', and they all now work again.

My apologies for not keeping fully abreast of the nuances of HAniS scripting. :oops:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Bunty on January 16, 2018, 11:41:52 AM
I already got mine working well on Firefox and Edge by using 4.4 Hanis with SA.
https://stillwaterweather.com/satloops (https://stillwaterweather.com/satloops)




Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 16, 2018, 03:29:54 PM
I already got mine working well on Firefox and Edge by using 4.4 Hanis with SA.
https://stillwaterweather.com/satloops (https://stillwaterweather.com/satloops)
Thanks!  You found the version before Tom changed the 'skip_missing' parameter from t/f to 0/1/2/3...  I couldn't find it because I was going by the date in my servers' HAniS directories which is the date uploaded and not the date modified.  If and when you update your hanis_min.js to the latest version, you will need to change that parameter in the iframe php script.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 17, 2018, 03:07:09 PM
Steve Fitzgerald was kind enough to tell me that he couldn't get a different default $satBand to work in Stand Alone, and that he couldn't use a $divWidth of 600 Stand Alone.  Sure enough, these were bugs!  They have been corrected in the latest zip.

You may download today's revised version here (https://www.gwwilkins.org/temp/wxGOES16-HAniSLoops.zip).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 19, 2018, 08:32:40 AM
As of around 11 pm EST yesterday the GOES16 images stopped updating.

You can see the current status of those images in the testing version of the GOES16 script on my test site (http://selincolnwx.info/wxGOES16-HAniSLoops-test.php).

(This version may not correctly display the images once the GOES16 site resumes creating them because until they do so I can't finish debugging the test script.)

Edit 2018 Jan 19 10 AM:  The images are back online, but the test script may or may not work as intended.

Edit 2018 Jan 19 1:30 PM: The newly modified test script appears to be working as intended.

You may download today's revised version here (https://www.gwwilkins.org/temp/wxGOES16-HAniSLoops.zip).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on January 20, 2018, 11:20:56 AM
Jerry, Great script!  \:D/ Thanks for keeping up with all of the changes and your modifications ...

I would like to know if it is possible to place your GEOS16 animated script on my "home page" in the "lower right quadrant" to replace the existing "water vapor" image which is now obsolete. The size is 320 x 240. If so, can you assist with me with the design of the script? Your GEOS16 animated script would be a great enhancement to my page.

Thank you ...

Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 20, 2018, 01:33:59 PM
Jerry, Great script!  \:D/ Thanks for keeping up with all of the changes and your modifications ...

I would like to know if it is possible to place your GEOS16 animated script on my "home page" in the "lower right quadrant" to replace the existing "water vapor" image which is now obsolete. The size is 320 x 240. If so, can you assist with me with the design of the script? Your GEOS16 animated script would be a great enhancement to my page.

Thank you ...
Here's a 320x240 iframe only without controls (http://selincolnwx.info/wxGOES16-HAniSLoops-iframe-breezy.php).  You can set the $sector and $satBand to your desired parameters, although I haven't explored all of the 300x300 image $satBands.  As you can see there's a '$Breezy' switch. :-)  If set to false the iframe should behave normally, that is, you'll see a ton of debugging information.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on January 20, 2018, 10:30:20 PM
Jerry,

I have it up and running in my http://indiantrailweather.com/indextest.php  Your efforts are very much appreciated.   =D>

Question: In the full scale version my image animation http://indiantrailweather.com/wxGOES16-HAniSLoops.php has all "green" colored boxes at the bottom and I notice that yours https://www.gwwilkins.org/wxGOES16-HAniSLoops.php  has some "red" colored boxes at the bottom with the rest being "green". Could it be that we are running different versions of the script?
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 20, 2018, 11:25:37 PM
Jeff, the red colored boxes represent absent images that are skipped.  You need to be using HAniS version 4.4 or above in order for them to be skipped and show up red.  HOWEVER, the missing images and their box will be absent if '$checkFiles = true' in the iframe file when it is run alone, or in the main script when it is run within the Saratoga template.  File checking does take some additional time which delays somewhat more the appearance of the animation after the page loads.  I recommend you use HAniS Version 4.10, attached here (http://www.wxforum.net/index.php?topic=30917.msg341609#msg341609) for future compatibility's sake.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on January 20, 2018, 11:35:45 PM
Thanks for the explanation. I'm very happy with the 320 x 240 view and will be activating it on the published page. Super job  :!:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on January 28, 2018, 11:27:38 PM
The GOES16 loop is "down" in my lower right graphic quadrant located on my home page. Anyone else having issues with the GOES16 script?
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on January 28, 2018, 11:41:10 PM
Yep. Mine's completely blank as well on my main page - http://tiggrweather.net/wxGOES16-HAniSLoops.php.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 28, 2018, 11:44:05 PM
The GOES16 loop is "down" in my lower right graphic quadrant located on my home page. Anyone else having issues with the GOES16 script?
If you look at the loops on their site, the last image they're showing that the script would find is from  UTC 2257 on Jan 28.  There are no current images on the site, so the scripts fall over and don't display any images.  I guess 'Preliminary' is the key word regarding the site.  As soon as they get back to work they'll fix it, I'm sure.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 29, 2018, 03:29:44 PM
Today the GOES16 images are still being spit out in fits and starts.  Look at the times on these filenames for example (https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/umv/GEOCOLOR/) (scroll to the bottom to see the latest images) to see what I'm talking about.  I'm experimenting with a routine to find existing images rather than just going for the '7' minute ones.  If you're interested in seeing the voluminous debug code along with the latest 600x600 images displayed and you have time to wait for this page to load, see here  (Project suspended).  This is a very rough and largely unworkable script, but it picks up the last 20 600x600's, save the latest one or two, images!

Things are going to have to stabilize on the GOES16 image site before anything definitive can be done.  I wish they would place the differently sized images in sub-directories.  It sure would make my life easier.

Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on January 30, 2018, 07:20:00 AM
NOAA/NWS has apparently resolved their glitch with the images so that now all of the '7' minute images are being created.  There's no need for alternative access methods, at least for now. =D>
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on January 30, 2018, 08:10:06 AM
That was a "close one" ...   :grin:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 01, 2018, 09:20:53 AM
I've added the 'Caribbean/Atlantic' (https://www.star.nesdis.noaa.gov/GOES/sectors_ac_index.php) section of the GOES East Image Viewer to the 'Preliminary' Script (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php).

You can get the updated script here (https://www.gwwilkins.org/gwwScripts.php).

The Stand Alone version displays some larger images that are quite detailed.  Believe it or not, there are even higher resolution images (2000x2000px and 4000x4000px) available in the 'Caribbean/Atlantic' regions!  These display well individually, but aren't at all candidates for the HAniS looping script.  I may add links to them in my script later.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 01, 2018, 09:58:46 AM
Really clear resolution! This will be nice to have for the next hurricane season ...
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on February 01, 2018, 10:15:54 AM
Jerry, what specific files need updating from the new release for stand alone pages?
No need to replace everything is there?
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 01, 2018, 10:42:19 AM
Jerry, what specific files need updating from the new release for stand alone pages?
No need to replace everything is there?
There are significant changes to all files, so all of the files in the zip except the HAniS directory need to be replaced.

Thanks for asking, and I'm sorry I didn't clarify that before.

I'm a little slow to catch on sometimes.  I just realized that in the Contiguous 48 States' views the blue line that precedes or follows the terminator represents the transition from or to night IR and daylight.  There is slight dimming of the area just behind in the morning or ahead in the evening of the blue line as the transition occurs.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 01, 2018, 03:34:16 PM
Looks good Jerry. Thank you!  \:D/
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 02, 2018, 02:17:48 AM
There are two more animations available, Full Hemispheric Disk, and Continental US.  Also there may have been problems with the Stand Alone version I posted yesterday.  This version seems to display the correct image sizes in SA.

As usual, replace all of the files on your server.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 02, 2018, 08:01:36 AM
Jerry,

What changes need to be made to bring the "iframe-breezy" version up to date with your latest code?
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 02, 2018, 08:33:15 AM
Jerry,

What changes need to be made to bring the "iframe-breezy" version up to date with your latest code?
There's really not much benefit to doing that because if you're still going to display your US regional sector nothing will change.  Only if you want to display a different sector will there be any benefit from updating your script.

However, the technique is to search for '$Breezy' in "iframe-breezy" and add back those items you find in exactly the same location in the new "iframe".  Then to allow for the selection of any $sector add this:
Code: [Select]
if ($Breezy) {
$imageWidth = 300;
$iframeWidth = 320;
$iframeHeight = 240;
}
at line 174 to look like this:
Code: [Select]
else if ($sector=="FD") {
$imageWidth = ($standAlone?678:339); // For Saratoga Narrow
// $imageWidth = ($standAlone?1808:678); // For Saratoga Wide
$imageHeight = $imageWidth;
}
if ($Breezy) {
$imageWidth = 300;
$iframeWidth = 320;
$iframeHeight = 240;
}

?>
before saving it as an updated "iframe-breezy".

That's the procedure I followed for this file (http://selincolnwx.info/wxGOES16-HAniSLoops-iframe-breezy.php) whose source is here (http://selincolnwx.info/wxGOES16-HAniSLoops-iframe-breezy.php?sce=view).

I'm not sure you've noticed, but this is a Procrustean script modification that shoehorns the images into a 300x200px rectangle regardless of the dimensions of the original image.  I guess it's something that only a purist would mind... :-)
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 02, 2018, 08:50:29 AM
I'll remain with the regional view as it will be easier going forward. Both the "FD" and "CONUS" look really nice but
would be reduced in size within the iframe.

Thanks for the code in case I decide to attempt to modify it.  :grin:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on February 02, 2018, 10:59:06 AM
Jerry, is this meant to display on the page (in the inc- script)...

Code: [Select]
<?php  echo '$imageWidth: '.$imageWidth.', $imageHeight: '.$imageHeight.', $iframeWidth: '.$iframeWidth.', $iframeHeight: '.$iframeHeight.', $standAlone: '.($standAlone==true?'true':'false').'<br/>'// Debug Code ?>
...or is it part of what you're working on?

Thanks.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 02, 2018, 11:23:55 AM
Jerry, is this meant to display on the page (in the inc- script)...

Code: [Select]
<?php  echo '$imageWidth: '.$imageWidth.', $imageHeight: '.$imageHeight.', $iframeWidth: '.$iframeWidth.', $iframeHeight: '.$iframeHeight.', $standAlone: '.($standAlone==true?'true':'false').'<br/>'// Debug Code ?>
...or is it part of what you're working on?

Thanks.
Sorry about that, John. :oops:  It's a leftover from when I was trying to figure out why my '$_POST' of '$sector' wasn't being detected by the iframe script and incorrect image sizes were displaying in the Saratoga-template version and the SA version.  This problem wasted several days (and nights) ](*,), and I think it just boiled down to a flaky browser cache.  It disappeared after I replaced all of the '$_POST's with '$_GET's, running the script, (makes no sense as code or as a solution, I agree) and then changing back to '$_POST's.

Corrected version and zip uploaded.  Thanks for calling this to my attention.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on February 02, 2018, 12:10:26 PM
No worries, Jerry. It's been a while since I picked on you - figured it was time to catch up!

Thanks.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 03, 2018, 03:15:24 PM
Today I've added some more links to individual higher resolution images, where they exist, in the Preliminary GOES16 HAniSLoops scripts.  I've also corrected a logical error in the iframe script that would only have affected the script's output for a few hours after midnight GMT on December 31.

Again, replace all three scripts from the zip available here (https://www.gwwilkins.org/gwwScripts.php).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 06, 2018, 06:59:06 AM
The Preliminary GOES16 script came up empty this morning!  A quick look at the situation revealed that instead of using 'gmdate("i")+1' as the day of the year, they had changed to the more universal 'gmdate("i")', i.e. using '036' as today's day of year instead of '037'.  Looking for '037' as the DOY meant that all of the images weren't found by the iframe script, so it came up empty.

A revised unchanged iframe is included in the newly posted zip (https://gwwilkins.org/gwwScripts.php), which is the only revised script unchanged in the zip.  You can download the unchanged iframe script directly here (https://gwwilkins.org/wxGOES16-HAniSLoops-iframe.php?sce=view) if you prefer.

ALERT/EDIT 6 Feb 2018 11:45 CST:  They have reverted to 'gmdate("i")+1' to identify the day of the year, thus eliminating '000' in favor of '001' as January 1st.  No changes are needed to the iframe script.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: rrrick8 on February 06, 2018, 08:19:56 AM
Change to the new iframe script but still blank here (SA version).

With the many changes and this is still an evolving script, can I suggest that at the top of each script page, that a version number be placed to make sure users are using the latest. Could help a lot with troubleshooting.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 06, 2018, 08:25:26 AM
Change to the new iframe script but still blank here (SA version).

With the many changes and this is still an evolving script, can I suggest that at the top of each script page, that a version number be placed to make sure users are using the latest. Could help a lot with troubleshooting.
Not sure why, but the error on the console is 'Failed to load resource: the server responded with a status of 500 (Internal Server Error)' on the iframe.  Where did it go?  Loading it directly doesn't work either, and it should.

The date at the top of each script is the version number.  That only changed today for the iframe script.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on February 06, 2018, 09:22:38 AM
Working fine here, Jerry. I have 20 images and green squares. http://tiggrweather.net/wxGOES16-HAniSLoops.php

Thanks.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 06, 2018, 12:40:26 PM
Well...they just reverted to 'gmdate("i")+1' which means that there are currently missing images from 22:07 GMT 5 Feb to 14:56 GMT 6 Feb on the cdn.star.nesdis.noaa.gov/GOES16 site.  The gap will rotate off after several days, but for now reverting back to the previous iframe script is what's needed.  Or you can go with the revised 20180205b version in the zip or downloadable as above.  Remember, they did say these are preliminary images. :-)

I think they realized why they used 001 for the first day of the year rather than 000!
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Johnmac on February 07, 2018, 08:26:09 PM
Couple of question concerning this script. I uploaded wxGoes16-HAnisloops.php and wxGoes16-HAnisloops-iframe.php and changed the region to my area. The script seems to work fine. I am using the saratoga template.

1. I did not load any thing from the Hanis.10 directory, was I supposed to upload those files also?

2. There is no time stamp on the loop that loads, so I have no idea if I have a current loop or not. Should there me a time stamp? or do the green squares indicate current files?

Thanks,

John
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 07, 2018, 08:44:19 PM
Couple of question concerning this script. I uploaded wxGoes16-HAnisloops.php and wxGoes16-HAnisloops-iframe.php and changed the region to my area. The script seems to work fine. I am using the saratoga template.

1. I did not load any thing from the Hanis.10 directory, was I supposed to upload those files also?
Apparently you already have a version of HAniS installed that supports the green-red-orange squares?  The HAniS.10 directory is included for those who are just wandering into the HAniS scripts.
Quote
2. There is no time stamp on the loop that loads, so I have no idea if I have a current loop or not. Should there me a time stamp? or do the green squares indicate current files?

Thanks,

John
Unfortunately the NOAA GOES16 site hasn't time-stamped any of these images.  You are correct in assuming that the green squares represent current images.  That's why I've included an image/hour statement at the bottom, so viewers can get some idea about when the images were taken/assembled.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Johnmac on February 07, 2018, 09:13:40 PM
Couple of question concerning this script. I uploaded wxGoes16-HAnisloops.php and wxGoes16-HAnisloops-iframe.php and changed the region to my area. The script seems to work fine. I am using the saratoga template.

1. I did not load any thing from the Hanis.10 directory, was I supposed to upload those files also?
Apparently you already have a version of HAniS installed that supports the green-red-orange squares?  The HAniS.10 directory is included for those who are just wandering into the HAniS scripts.
Quote
2. There is no time stamp on the loop that loads, so I have no idea if I have a current loop or not. Should there me a time stamp? or do the green squares indicate current files?

Thanks,

John
Unfortunately the NOAA GOES16 site hasn't time-stamped any of these images.  You are correct in assuming that the green squares represent current images.  That's why I've included an image/hour statement at the bottom, so viewers can get some idea about when the images were taken/assembled.

Thanks Jerry. I also updated my Hanis folder to the current files.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 08, 2018, 10:08:26 AM
Once again this morning these preliminary GOES16 images are being produced in fits and starts.

Also, my logic for displaying any $satBand (satellite band) other than 'GEOCOLOR' is seriously flawed.  So, until I have a chance to thoroughly iron out the problems I've created with bands '01' through '16' the currently available zip (https://www.gwwilkins.org/gwwScripts.php) has disabled any attempt to display a band other than 'GEOCOLOR'.  Besides, this is the band that's of interest to the vast majority of viewers.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 09, 2018, 02:11:34 PM
I think I've solved the problems I was having with the GOES16 Script.  Rather than using a string of 'if else' statements I created an array of arrays for the dimensions of the images, so the script then just reference the appropriate dimensions within the arrays.  I also resolved the issue with varying, mostly missing display of $satBands other than 'GEOCOLOR': I was placing an extra '0'  before bands 1 through 9 which resulted in universal 'not found' errors for these images.  Since omitting the $satBand-switching-dropdown was easy, I've made it an option via a '$noBandChange' switch in the settings.  It's currently set to false.

You can find the script's zip here (https://www.gwwilkins.org/gwwScripts.php), which also has a link to View the script on my site.  Replace all four scripts after preserving your customizations in the main and SA scripts.  (Again, the HAniS 4.10 directory is included only for completeness.)
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: mikeym2m on February 09, 2018, 04:19:22 PM
Thanks Jerry

 :grin:

MikeyM
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 09, 2018, 11:55:41 PM
If you find that when using the StandAlone version with the larger image loops that you can't see the Continental US, the Gulf of Mexico, the Caribbean, or the US Atlantic Coast loops it's because I didn't test them before I posted.   :oops:

The dimension arrays are now correct in 'inc-wxGOES16-HAniSLoops.php (https://www.gwwilkins.org/inc-wxGOES16-HAniSLoops.php?sce=view)', version 20180209b, as well as in the latest zip (https://www.gwwilkins.org/gwwScripts.php).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Bunty on February 12, 2018, 02:36:03 AM
Mine can't run, due to broken links to all the jpg's.  Is this a temporary problem?
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 12, 2018, 06:28:32 AM
The performance of the https://www.star.nesdis.noaa.gov/GOES/index.php site had been slowly deteriorating Sunday until it failed altogether last evening.  The image displayed there is obviously from last evening and not current.

Here (https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/umv/GEOCOLOR/) is an example of the current state of just one directory, the Upper Mississippi Valley GEOCOLOR.  Obviously, their satellite acquisition and rendering scheme had a breakdown somewhere.  Hopefully it's just software, because if it's hardware they, and we, may be in deep doodoo.

'Preliminary' is, after all, the key word here.

On another note, there's a new version of my GOES16 script dated yesterday on my site (https://www.gwwilkins.org/gwwScripts.php).  I was trying to troubleshoot some issues yesterday, but the absence of current images made it difficult.  Plus hitting on their server as much as I was didn't feel quite right.  I tried to place a control box on the bottom that contained the times of the images, but HAniS stripped out the base URL as though the images were local.  Until the cdn.star.nesdis.noaa.gov site is fully functional again there's no way I can demonstrate the problem for Tom Whittaker, the creator of HAniS, and finally get a display of the image times.  All scripts need to be replaced after preserving your customizations.  Tom's latest HAniS version is also included just for completeness.

Meanwhile, I've just placed the time of the first image my script is looking for as well as the last beneath the animation (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php).  Right now, the images obviously aren't appearing, so the times are at the top of the blank space.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 12, 2018, 05:10:47 PM
The https://www.star.nesdis.noaa.gov/GOES/sectors_index.php site is gradually repopulating the image directories with fresh files, so at least we're not shooting blanks any more.

A few more words about the changes I made yesterday:  The problem with bands 1 through 9 has been solved, I think.  I used 'intval()' rather than looking for redundant '0's, and it appears to have done the trick.  There was also no logic for displaying the larger image loops in Saratoga Widescreen a la the StandAlone script, and this has now been fixed.  The StandAlone script will now only display 'GEOCOLOR' and bands '01' through '05' when a region in the 48 contiguous states is selected.  All bands will display for the remainder of the $sectors when they're available, except 'CONUS' (Continental US).  Yesterday I didn't determine that all of the 'CONUS' bands are also available at the larger image size (https://www.gwwilkins.org/wxGOES16-HAniSLoops-SA.php) which I now see that they are.  This has been fixed in today's zip (https://www.gwwilkins.org/gwwScripts.php) which constitutes the only substantive change.  As usual, update all of the scripts after preserving your customizations.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 12, 2018, 08:12:15 PM
Jerry, thanks for sticking with this fine script through all the "trials and tribulations".  =D&gt;
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Otis on February 12, 2018, 10:42:40 PM
Jerry, thanks for sticking with this fine script through all the "trials and tribulations".  =D&gt;

Yes indeed, thanks Jerry.  =D&gt;
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 14, 2018, 08:20:59 PM
With Tom Wittaker's kind help, this evening I have finally added the GMT times to each image's display beneath the bottom toggle control.  There is a new switch, '$addTime', that is set to 'true' by default.

View and download here (https://www.gwwilkins.org/gwwScripts.php).

Replace ALL four scripts after preserving your customizations in the main script.

Happy Valentine's Day!
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 16, 2018, 12:26:04 AM
Wouldn't you know it!  The day after I cobble together a display of the GMT image time, ironically the https://www.star.nesdis.noaa.gov/GOES/sectors_index.php site starts adding to each image the full description of it including the image's full timestamp.  Not surprisingly the two times agree.  I don't see them on any of the Full Disk images, on the Continental US, nor on the small Tropical Atlantic Wide.

I wouldn't be surprised if they refine their display to make the date and time a little more intelligible.  Day-of-year isn't a very widely recognized number, but that's what's between the year and GMT.

Fortunately setting '$addTime = false' in the main script will eliminate the now redundant display if you so desire.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 16, 2018, 11:17:54 PM
Thanks Jerry. Updated and running fine ...  :grin:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 18, 2018, 09:53:09 AM
Jerry,

Down once again. Why do you think that this link from Colorado State http://rammb-slider.cira.colostate.edu/?sat=goes-16&sec=conus&x=7164&y=2946&z=4&im=24&ts=1&st=0&et=0&speed=130&motion=loop&map=1&lat=0&p%5B0%5D=16&opacity%5B0%5D=1&hidden%5B0%5D=0&pause=0&slider=-1&hide_controls=1&mouse_draw=0&s=rammb-slider is viewing? Is it a current time stamp but stale image? Just curious ...  :???:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on February 18, 2018, 11:00:29 AM
Mine completely down as well. Noticed yesterday it was losing images but still finding a few, then died overnight.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 18, 2018, 11:21:40 AM
When the script fails to find images it's usually because there has been a disruption somewhere in the chain between acquiring the raw images and processing them into what the script is looking for, namely an image every 10 minutes on the 7th minute.  My original approach last December was to read in a file name list from the appropriate directory and then grab the last however-many images.  One problem is that all of the image resolutions are dumped into a single directory and they have to be culled for the right-sized ones.  Another problem is that stale images would show up, although this would be mitigated somewhat now that the images are time-stamped by NOAA.  Nevertheless I've been playing around again with the file name list again this morning, still with the same frustrations, and really no further along than before.

They do, after all, call these images 'Preliminary'.  The frustration with this is that the former GOES-East satellite is no more, just a Preliminary 'GOES-East' aka GOES16 that doesn't reliably create real-time images.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 18, 2018, 11:44:07 AM
"In the name of progress ..."  :roll:     Maybe the Falcon Heavy can save the world :?: Satellite broadband launch today  \:D/

Thanks for all your effort against immense odds ...  =D&gt;
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: sacreyweather on February 18, 2018, 11:45:05 AM
Unless they changed it, the launch was delayed until Feb. 21st.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 18, 2018, 11:22:25 PM
I finally solved my self-inflicted problems assembling a filename list from the directory listing.   #-o I forgot that the filenames in the directory listing are html links and I needed to strip out the anchoring '<a href=' and '</a>'!

Once I overcame that hurdle I worked on adding a more useful timestamp, which took a while as well because it required remembering a key function, 'strtotime()', that makes it possible to go from day of the year to the day and month.  As usual, I found the most important piece of the puzzle, 'DateTime::createFromFormat('z','$imageTime')', searching the web.  ($imageTime is just the time string that's part of the image's filename.)

The zip is available on my site (https://www.gwwilkins.org/gwwScripts.php), and you can use the 'View' link to play around with it.

One benefit of the timestamp I've added is that you can now see when the images are stale.  Indeed no new images have been posted since just before midnight yesterday.

Edit:  I've added a real-time clock that tells the time as GMT and Zulu.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 19, 2018, 12:01:12 AM
Jerry,

Do you have an update for the "wxGOES16-HAinSLoops-iframe-breezy.php" file so that it will show on my home page?

Thanks.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 19, 2018, 12:11:21 AM
Jerry,

Do you have an update for the "wxGOES16-HAinSLoops-iframe-breezy.php" file so that it will show on my home page?

Thanks.
Detecting an absence of current images is possible, but it would slow the loading of your home page a bit.  There are no current images present on the server right now, so that's why you're not displaying anything there.  It is 'Preliminary' after all.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 19, 2018, 12:14:21 AM
OK, thanks. I'll just have to substitute it with another more reliable graphic.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 19, 2018, 10:35:03 AM
My enthusiasm for the display of the image timestamp was premature.  It blew up today when they started repopulating the directories with fresh images.  i've used a new routine to determine the current images' times, and it appears to be holding up OK.

Similarly my attempt to display the current GMT along with Zulu times wasn't successful.  I've reverted to just a display of the current date along with a Zulu time.  This routine will break down as each month rolls over at midnight into the next and of course at the New Year, but this shouldn't be a big problem.  A manual page refresh will update the date while the time should just keep on ticking.

Latest zip is here, as usual (https://www.gwwilkins.org/gwwScripts.php), and the script's output can be 'View'ed there as well.

Breezy, I understand your frustration, but unless fresh images keep appearing regularly your dashboard's current display might be a little broken if you try to use the GOES16, aka a sometimes stalled GOES-East, images via my old iframe script.  I will think about a new display for you that incorporates a timestamp and is based on the current iframe script.  Edit:  I see that the timestamp is already there, although I wish nesdis.noaa would use yellow text so it wouldn't disappear into the clouds.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 19, 2018, 10:41:25 AM
Thanks very much, Jerry!  :grin:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 19, 2018, 11:19:41 AM
OK, Breezy, here you go (https://www.gwwilkins.org/wxGOES16-HAniSLoops-iframe-breezy.php).  The script (https://www.gwwilkins.org/wxGOES16-HAniSLoops-iframe-breezy.php?sce=view).

You could modify the number of images, '$numbImages' in the test parameters, if you want.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on February 19, 2018, 12:09:44 PM
Great job, Jerry!  =D&gt; Yes, it would be nice if they converted to a "yellow" text so that it would appear among the clouds.

Very much appreciated! It's now displaying on the home page ...  =D&gt;
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Bunty on February 19, 2018, 09:54:11 PM
My enthusiasm for the display of the image timestamp was premature.  It blew up today when they started repopulating the directories with fresh images.  i've used a new routine to determine the current images' times, and it appears to be holding up OK.

Similarly my attempt to display the current GMT along with Zulu times wasn't successful.  I've reverted to just a display of the current date along with a Zulu time.  This routine will break down as each month rolls over at midnight into the next and of course at the New Year, but this shouldn't be a big problem.  A manual page refresh will update the date while the time should just keep on ticking.

Latest zip is here, as usual (https://www.gwwilkins.org/gwwScripts.php), and the script's output can be 'View'ed there as well.

Breezy, I understand your frustration, but unless fresh images keep appearing regularly your dashboard's current display might be a little broken if you try to use the GOES16, aka a sometimes stalled GOES-East, images via my old iframe script.  I will think about a new display for you that incorporates a timestamp and is based on the current iframe script.  Edit:  I see that the timestamp is already there, although I wish nesdis.noaa would use yellow text so it wouldn't disappear into the clouds.

The view isn't working as of Tues. night, so I'm glad I didn't change mine, since two changes ago, since mine works.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 19, 2018, 10:38:10 PM
My enthusiasm for the display of the image timestamp was premature.  It blew up today when they started repopulating the directories with fresh images.  i've used a new routine to determine the current images' times, and it appears to be holding up OK.

Similarly my attempt to display the current GMT along with Zulu times wasn't successful.  I've reverted to just a display of the current date along with a Zulu time.  This routine will break down as each month rolls over at midnight into the next and of course at the New Year, but this shouldn't be a big problem.  A manual page refresh will update the date while the time should just keep on ticking.

Latest zip is here, as usual (https://www.gwwilkins.org/gwwScripts.php), and the script's output can be 'View'ed there as well.

Breezy, I understand your frustration, but unless fresh images keep appearing regularly your dashboard's current display might be a little broken if you try to use the GOES16, aka a sometimes stalled GOES-East, images via my old iframe script.  I will think about a new display for you that incorporates a timestamp and is based on the current iframe script.  Edit:  I see that the timestamp is already there, although I wish nesdis.noaa would use yellow text so it wouldn't disappear into the clouds.

The view isn't working as of Tues. night, so I'm glad I didn't change mine, since two changes ago, since mine works.
Not sure what you mean, Bunty.  The images are coming out regularly and being displayed by my current script (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on February 19, 2018, 10:46:17 PM
Working fine for me, too.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Bunty on February 20, 2018, 12:25:52 AM
Okay, now your view is working for me whether in Chrome or Firefox Quantum.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on February 23, 2018, 12:05:04 AM
So much for my 'fine' post. Just a bit of trouble tonight.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 23, 2018, 08:18:12 AM
So much for my 'fine' post. Just a bit of trouble tonight.
For some reason they've dramatically reduced the bandwidth of the image downloads, affecting not only our script but their animations (https://www.star.nesdis.noaa.gov/GOES/GOES16_sector_band.php?sector=umv&band=GEOCOLOR&length=24) as well.  Reading the directories (https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/umv/GEOCOLOR/) hasn't been throttled, just the image downloads.

They'll get it sorted out someday... :-(
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on February 23, 2018, 10:06:02 AM
They'll get it sorted out someday... :-(
One can only hope...  :roll:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on February 24, 2018, 11:19:03 PM
The nesdis.noaa site seems to be producing images regularly now, and the site no longer throttles the image downloads.  At times they're 'cheating' a little in that when they don't have a fresh image to display they merely repeat the last image with a new time stamp applied.  When this happens the animation appears to stall while the time stamp(s) roll(s) ahead.

I've cleaned up the code by eliminating unused variables and logic as well as adding, primarily for my benefit, some additional comments.  Hence a new, but functionally unchanged, zip has been posted on my site (https://www.gwwilkins.org/gwwScripts.php).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on March 21, 2018, 10:06:56 AM
I noticed that the 'Refresh' button in the iframe was triggering a filename reload, but not updating the filenames.  It turns out that the filename acquisition function isn't triggered by the HAniS refresh routine because of some error checking that this routine performs the results of which might leave an empty filename list and therefore must occur before the HAniS invocation.  The 'Refresh' button was simply reloading the same filename list.  It was therefore useless, and it has been eliminated in today's version (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php), the zip of which (https://www.gwwilkins.org/gwwScripts.php) is now up on my website.

I also shrunk the iframe's display of its top controls which I think looks better.

EDIT 2018 March 21 11:40 CDT:  There was a problem with the scripts I created when I trimmed out some debugging 'fat'. The script loaded the large images when a change was made to the display parameters.  This has been corrected in a new untrimmed zip.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on May 14, 2018, 06:48:41 AM
The GOES16 satellite has been operational (for the most part) since May 1, so I've changed the 'Preliminary' to 'Operational' in the title of the HAniS script (https://www.gwwilkins.org/gwwScripts.php).

Ironically, this morning the images of all derivative sectors are currently stale.  Only the CONUS and Full Disk views are current. :roll:

Edit 6:10 AM CDT:  All images are now current.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: Breezy on May 14, 2018, 08:52:13 AM
Thanks Jerry  :!: Updated ...  Northeast (ne) looking current at this time but who knows what the future will bring  :?:
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: jgillett on May 14, 2018, 10:32:15 AM
Jerry, at this time (0730 MST) yours is not loading any images. Mine ("Preliminary") is. Yours does put up the date/timestamp button and stops there.

Just FYI.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on May 14, 2018, 11:03:45 AM
That's an issue I haven't solved yet.  One or two parameter changes such as changing 'Image Number', 'AutoRefresh', or 'AutoRefresh Interval' once or sometimes twice will bring up the images.

I'll try setting the default to my regional map to see if that helps.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on May 22, 2018, 10:04:59 AM
I've noticed that my self-hosted site (http://selincolnwx.info), which uses the Upper Mississippi Valley GOES 16 animation for the satellite portion of my alternate dashboard NEVER fails to load properly.  This tells me that my GoDaddy shared server doesn't quite have the horsepower to parse the relevant, and massive, GOES Satellite Distribution Center directory's file list in a timely fashion.  Therefore it requires more than one and up to three attempts (using SHIFT+F5) to acquire the file list and display the images.

If you're interested in using the GOES16 images on your dashboard, here (http://selincolnwx.info/wxGOES16-HAniSLoops-iframe-gww.php?sce=view) is the source file.  The modified 'index.php' table looks something like this:
Code: [Select]
  <table width="99%" style="border: none">
  <tr><td align="center">
    <a class="hvr-glow hvr-grow" onclick="x=window.open('wxradar.php?mode=4&amp;animated=1&amp;advisories=0&amp;track=0&amp;lightning=0#WUtop')" target="_blank" title="Larger View in New Tab"><img src="https://icons.wunderground.com/data/640x480/<?php echo $SITE['WUregion']; ?>_rd_anim.gif" alt="Regional Radar" width="320" height="240" style="margin: 0px; padding: 0px; border: none; cursor:pointer" /></a>
  </td>
  <td align="center" style="padding:0px">
    <a class="hvr-glow hvr-grow" title="Preliminary US Satellite Loops in New Tab"><iframe id="satLoops" width="332" height="259" align="left" src="wxGOES16-HAniSLoops-iframe-gww.php" style="margin: 0px; padding: 0px; border: none; cursor:pointer"></iframe></a>
  </td>
  </tr>
  <tr><td colspan="2" class="subHeader" align="center" style="font-size:75%; float:none">Radar image courtesy of <a href="https://www.weatherunderground.com" target="_blank" title="Opens in New Tab">Weather Underground</a> &amp; satellite images courtesy of <a href="https://www.star.nesdis.noaa.gov/GOES/sectors_index.php" target="_blank" title="Opens in New Tab">NESDIS</a>.</td></tr>
  </table>
Note that autoRefresh is Enabled and ON in the script.  The hover CSS class is available via my Scripts page (https://www.gwwilkins.org/gwwScripts.php[/url).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: tbrasel on May 22, 2018, 11:01:27 AM
Thank you, Sir !  =D&gt;
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: ValentineWeather on May 27, 2018, 09:35:11 AM
These are beautiful satellite images thanks Jerry.

Just realized these are yesterdays images... #-o
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on May 27, 2018, 09:44:21 AM
These are beautiful satellite images thanks Jerry.

Just realized these are yesterdays images... #-o
That's why I've placed the current date and time at the bottom.  You can quickly determine if yet once again the servers have crashed... :-(
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: ValentineWeather on May 27, 2018, 10:11:13 AM
I see thanks...The full conus image is working here different link here.  So don't think server is down https://www.valentinenebraska.net/wxsseccompositebig.php
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on May 27, 2018, 10:37:03 AM
I see thanks...The full conus image is working here different link here.  So don't think server is down https://www.valentinenebraska.net/wxsseccompositebig.php
I think, but don't know, that the SSEC downloads their images directly from the satellite.  They're NEVER down, which is why I built that script to scrape their images.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: miraculon on May 27, 2018, 11:56:41 AM
I saw that this morning, the satellite images were not loading. I checked some other WxForum member's sites, but I found that the date was for yesterday (5/26).
I then checked through the code and found that the script draws from https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/ (https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/). For example the directory https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/cgl/GEOCOLOR/ (https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/cgl/GEOCOLOR/) will list the files and the newest date was at 26-May-2018 22:40

The date on the "latest" image, in the image is shown as 26 May 2018 1552 UTC.

It seems that something died over at the NWS side. I am guessing that this won't be fixed until Tuesday...

Greg H.


Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on May 27, 2018, 04:50:00 PM
UW-Madison SSEC has a phenomenal Satellite Viewer.  Check it out! (https://www.ssec.wisc.edu/data/geo/#/animation?satellite=goes-16&end_datetime=latest&n_images=20&coverage=conus&channel=rgbstr&image_quality=gif&anim_method=javascript)

There aren't nearly as many different GOES16 views as with the NOAA GOES Satellite Distribution Center's offerings, but they're ALWAYS current.

(Reminder:  If you place a link to this SSEC page in your Saratoga menu you will need to change all the '&' delimiters in this URL to '&amp;amp;' for validation purposes.)
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: miraculon on May 27, 2018, 05:36:18 PM
It looks like NWS might have fixed it.

Thanks for that link gwwilk.

Greg H.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: ValentineWeather on May 27, 2018, 07:53:14 PM
Welp! was working removed again, I'll wait for it to become more reliable.  :-(
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on July 24, 2018, 11:22:16 AM
I've removed 'OPERATIONAL' from the wxGOES16-HAniSLoops.php script (in context):
Code: [Select]
  <div align="center">
  <h2 align="center"><br/><span style="color:red">OPERATIONAL</span> GOES16 Satellite Loops</h2>
    <?php include('inc-wxGOES16-HAniSLoops.php');?>
  </div>
and replaced it with (in context):
Code: [Select]
  <div align="center">
  <h2 align="center"><br/><span style="font-size:24px">GOES16 Satellite Loops</span></h2>
    <?php include('inc-wxGOES16-HAniSLoops.php');?>
  </div>
You may modify the script yourself, download it directly here (https://www.gwwilkins.org/wxGOES16-HAniSLoops.php?sce=view), or grab an updated zip here (https://www.gwwilkins.org/gwwScripts.php).  The only script that has changed is 'wxGOES16-HAniSLoops.php'.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on September 02, 2018, 12:35:19 PM
I've made a small change in this script with the addition of a new switch, '$useUTC', that when 'true' will display the UTC time to the second in addition to the 'hhmm' Zulu time a la the old WWII war movies.

You can 'View' the change at work as well as obtain the revised script here (https://www.gwwilkins.org/gwwScripts.php).
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: yamiacaveman on September 03, 2018, 12:35:19 PM
Hi Jerry,

First thanks for keeping up to date with all your scripts, don't know how you do it, really, thanks!!

Second, looking at your last 2 posts here -- is it still ONLY the  wxGOES16-HAniSLoops.php that need to be updated or so all the other parts need to be updated?

Thanks for any help.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: gwwilk on September 03, 2018, 01:55:24 PM
Update them all just to be safe, preserving your changes, of course.
Title: Re: HAniS: NOAA Office of Satellite and Product Operations Is In Transition
Post by: yamiacaveman on September 03, 2018, 04:34:53 PM
Will Do and thanks!!