Author Topic: GRLevel3 Animation via HAniS  (Read 10963 times)

0 Members and 1 Guest are viewing this topic.

Offline tmabell

  • Contributor
  • ***
  • Posts: 132
Re: GRLevel3 Animation via HAniS
« Reply #50 on: August 12, 2015, 09:56:54 AM »
Jerry, I may have missed something but it seems that there isn't a setting to adjust the default (start-up) loop speed.  Can this be added?

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #51 on: August 12, 2015, 10:04:52 AM »
Jerry, I may have missed something but it seems that there isn't a setting to adjust the default (start-up) loop speed.  Can this be added?
Probably. :-)  I'll look into it.  I'm not happy with the speed controls as it is.  There's also a 'pause' at the end of the animation that's hardcoded and should probably be set optionally as well.  When I get time...
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #52 on: August 15, 2015, 07:40:56 PM »
OK, Tom.  See the first post in this thread.
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline Breezy

  • Indian Trail Weather
  • Senior Contributor
  • ****
  • Posts: 244
    • Indian Trail Weather
Re: GRLevel3 Animation via HAniS
« Reply #53 on: August 16, 2015, 12:19:14 PM »
Quote
OK, Tom.  See the first post in this thread.

OK Jerry, what might I have messed up? http://indiantrailweather.com/wxgr3hanis.php

The "auto refresh interval" is not showing.

Thanks.   :grin:

Jeff
 
« Last Edit: August 16, 2015, 12:36:44 PM by Breezy »

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #54 on: August 16, 2015, 12:27:42 PM »
Quote
OK, Tom.  See the first post in this thread.

OK Jerry, what might I have messed up? http://indiantrailweather.com/wxgr3hanis.php

Thanks.   :grin:

Jeff
Did you upload all of the files after modifying Settings to your requirements?  The new parameters aren't being passed to your 'wxgr3hanis-iframe.php'.
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline Breezy

  • Indian Trail Weather
  • Senior Contributor
  • ****
  • Posts: 244
    • Indian Trail Weather
Re: GRLevel3 Animation via HAniS
« Reply #55 on: August 16, 2015, 12:38:39 PM »
Quote
Did you upload all of the files after modifying Settings to your requirements?  The new parameters aren't being passed to your 'wxgr3hanis-iframe.php'.


Ooops. It's better now but the The "auto refresh interval" is not showing.

Offline Breezy

  • Indian Trail Weather
  • Senior Contributor
  • ****
  • Posts: 244
    • Indian Trail Weather
Re: GRLevel3 Animation via HAniS
« Reply #56 on: August 16, 2015, 12:55:48 PM »
All fixed. Bad setting.   \:D/

Thanks Jerry. Working great here after I got my "ducks in order".   =D>
« Last Edit: August 16, 2015, 01:07:03 PM by Breezy »

Offline tmabell

  • Contributor
  • ***
  • Posts: 132
Re: GRLevel3 Animation via HAniS
« Reply #57 on: August 16, 2015, 01:01:15 PM »
I have it working very well here.  Many thanks Jerry!  Nice work to be sure.

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #58 on: August 17, 2015, 09:53:00 AM »
And as Tom has pointed out, CSS Validation fails because there's a missing 'px' in 'wxgr3hanis.php' here:
Code: [Select]
<div id="main-copy" style="width:<?php echo $imageWidth?>">
which should read
Code: [Select]
<div id="main-copy" style="width:<?php echo $imageWidth?>px">
Sorry about that! :oops:
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #59 on: August 18, 2015, 06:46:41 PM »
Important!

Please see this post regarding the restoration of Ajax-Gizmo functionality.  (Thanks, Ken True!)
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1069
  • unnamed weather station, Boltek, Win7 Pro, ToA
    • TiggrWeather
Re: GRLevel3 Animation via HAniS
« Reply #60 on: August 18, 2015, 07:12:56 PM »
Jerry, given your post is here in GR3 territory I assume you're referring to that script. Have not had the gizmo problem here, and those two code lines are in the correct order in wxgr3hanis.php.
John
W7JKG
BUY FROM AMAZON HERE... Thank You! :-)

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #61 on: August 18, 2015, 07:39:26 PM »
Thanks, John.  That's good to know.  When I set up the StandAlone capability of the scripts I imported these from an existing script that obviously had them in the wrong order.  They may or may not be reversed, but my copy here was, so it doesn't hurt to check. :-)
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1069
  • unnamed weather station, Boltek, Win7 Pro, ToA
    • TiggrWeather
Re: GRLevel3 Animation via HAniS
« Reply #62 on: August 18, 2015, 08:46:19 PM »
Too bad it couldn't fix the 'other' problem...   :roll:
John
W7JKG
BUY FROM AMAZON HERE... Thank You! :-)

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #63 on: August 23, 2015, 04:40:51 PM »
Some slight changes for improved alignment and viewing.

Version 2a 20150823 posted in top post here:
a) Found 'margin' of 8px around 'wxgr3hanis-iframe.php' that was throwing the image and <iframe> out of alignment.  Removed margin and '$iframeWidth' now equals '$imageWidth' and shouldn't need adjustment.
b) Added Stand Alone version, 'wxgr3hanis-SA.php', for optional use on tablets - no template may yield better viewing.
c) Cleaned up some other centering issues, especially in the Stand Alone version.
d) Modified files:
   i)   wxgr3hanis.php - update after preserving your customized Settings
   ii)   inc-wxgr3hanis.php - replace existing file
   iii)   wxgr3hanis-iframe.php -replace existing file
   iv)   wxgr3hanis.txt (this file)
e) New file: 'wxgr3hanis-SA.php' for optional use
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #64 on: August 25, 2015, 02:42:26 PM »
   
In Version 2b 20150825 above:
a) Tom Whittaker has added the ability to specify the color for toggle squares to HAniS 2.6 released today.  Your '$btnColor' (button color) will now also modify the toggle button color.
b) For compatibility with possible future enhancements, a forward slash, '/', MUST NOW be used with this version when specifying the GRLevel3 image directory.
c) HAniS Version 2.6 is included in the HAniS directory.
d) Cleaned up a residual CSS validation issue.
e) modified files:
   i)   wxgr3hanis.php & wxgr3hanis-SA.php - update after preserving your customized Settings and adding a '/' to your images directory specication
   ii)   wxgr3hanis-iframe.php - replace existing file
   iii)   /HAniS/hanis_min.js - replace existing file
   iv)   wxgr3hanis.txt (this file)
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline satcop

  • Senior Contributor
  • ****
  • Posts: 190
    • Clifton Virginia Weather
Re: GRLevel3 Animation via HAniS
« Reply #65 on: September 05, 2015, 01:51:12 PM »
Thanks Jerry;

Finally got around to putting this one in.  Put in a multi radar selection routine similar to what Ken at http://www.kenaiweather.com did.  Here is the link:http://cliftonvaweather.com/wxgr3hanis-multi.php.

Bob
Clifton, Virginia Weather


Blitzortung Stations 1189, 1451 - CWOP EW1675

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #66 on: September 05, 2015, 02:21:12 PM »
Thanks Jerry;

Finally got around to putting this one in.  Put in a multi radar selection routine similar to what Ken at http://www.kenaiweather.com did.  Here is the link:http://cliftonvaweather.com/wxgr3hanis-multi.php.

Bob
One of many possible ways the script can be modified. :-)
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline satcop

  • Senior Contributor
  • ****
  • Posts: 190
    • Clifton Virginia Weather
Re: GRLevel3 Animation via HAniS
« Reply #67 on: September 05, 2015, 05:12:01 PM »
Cleaned up a couple of things in the display.  This is very much Jerry's code, but if anyone wants to get an idea on adding the multi radar, here is an example. You need to download Jerry's code for the rest of it.
Clifton, Virginia Weather


Blitzortung Stations 1189, 1451 - CWOP EW1675

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3209
    • Carson Valley Weather
Re: GRLevel3 Animation via HAniS
« Reply #68 on: September 06, 2015, 11:22:04 PM »
Thanks Jerry;

Finally got around to putting this one in.  Put in a multi radar selection routine similar to what Ken at http://www.kenaiweather.com did.  Here is the link:http://cliftonvaweather.com/wxgr3hanis-multi.php.

Bob

Bob,

It looks like you have Pittsburgh, PA listed under Pennsylvania and West Virginia as well as several other radars that are listed under the wrong States at the above link...
Don - W3DRM - Minden, Nevada --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KRNO2
Davis Wireless VP2, WD 10.37S-b53,
StartWatch, VirtualVP, VPLive, , Win10 Pro
--- Logitech HD Pro C920 webcam
--- RIPE Atlas Probe - 32849

Offline satcop

  • Senior Contributor
  • ****
  • Posts: 190
    • Clifton Virginia Weather
Re: GRLevel3 Animation via HAniS
« Reply #69 on: September 07, 2015, 07:53:09 AM »
Thanks Jerry;

Finally got around to putting this one in.  Put in a multi radar selection routine similar to what Ken at http://www.kenaiweather.com did.  Here is the link:http://cliftonvaweather.com/wxgr3hanis-multi.php.

Bob

Bob,

It looks like you have Pittsburgh, PA listed under Pennsylvania and West Virginia as well as several other radars that are listed under the wrong States at the above link...

Intended, I was looking at it from the point of view of the viewer.  These radars cover particular areas and here on in the east often outside of the state they are located in.  For instance the Sterling VA radar covers Northern VA, DC and most of Maryland.  If I am not familiar with where the NOAA radar sites are but want to see my radar, I should be able to look up the state I am in and see what the possibilities are.  This is especially true in New England where NH, RI and CT don't have a radar site.  So the Pittsburg site covers PA but also the pan handle of WV.  The Mt Holly NJ site covers PA and NJ.  Wakefield VA covers VA and NC.  Often the Sterling VA site is left off of VA because it is listed as Baltimore and DC, even though it is in VA and covers northern VA.

Bob
« Last Edit: September 07, 2015, 08:47:27 AM by satcop »
Clifton, Virginia Weather


Blitzortung Stations 1189, 1451 - CWOP EW1675

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 654
    • Jay's Woodcrafts
Re: GRLevel3 Animation via HAniS
« Reply #70 on: September 07, 2015, 02:41:09 PM »
Jerry,

Not sure where I have gone wrong.  I can't get the images to show up and run.  Help please.

Jay

http://jayswoodfurniture.com/wx/wxgr3hanis.php

Jerry,  You may disregard this.  It was a file location problem.

Thanks
« Last Edit: September 07, 2015, 02:59:20 PM by jay_hoehn »
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: GRLevel3 Animation via HAniS
« Reply #71 on: September 08, 2015, 12:05:26 PM »
Thanks to everyone for the great scripts. I am trying the multi script as Nashville has a terminal Doppler in addition to the NWS Doppler. Two things. The radar legend does not show at the bottom. Also at the top where it says GRLevel3 Radar in big letters the radar site doe not appear. I noticed it does on others. Can someone help me with these issues.

Thanks.

Bob

http://lebanontnwx.org/wxgr3hanis-multi.php
Bob
KK4QXH

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 1770
    • SouthEast Lincoln, NE Weather
Re: GRLevel3 Animation via HAniS
« Reply #72 on: September 08, 2015, 12:25:14 PM »
Thanks to everyone for the great scripts. I am trying the multi script as Nashville has a terminal Doppler in addition to the NWS Doppler. Two things. The radar legend does not show at the bottom. Also at the top where it says GRLevel3 Radar in big letters the radar site doe not appear. I noticed it does on others. Can someone help me with these issues.

Thanks.

Bob

http://lebanontnwx.org/wxgr3hanis-multi.php
You've got some lower level editing to do of 'inc-multi-gr3hanis.php'.  I'm not running it, but you need to modify this section
Code: [Select]
        <select style="background-color:<?php echo $btnColor?>;border-radius:7px;color:<?php echo $btnTextColor?>;" id="radarLoc">
   
    <optgroup label="Delaware">
<option value="kdox" <?php echo $radarLoc=="kdox"?'selected="selected"':''?>> Dover DE</option>
        <option value="klwx" <?php echo $radarLoc=="klwx"?'selected="selected"':''?>> Sterling VA</option>
    </optgroup>
    <optgroup label="District of Columbia">
<option value="klwx" <?php echo $radarLoc=="klwx"?'selected="selected"':''?>> Sterling VA</option>
<option value="kdox" <?php echo $radarLoc=="dox"?'selected="selected"':''?>> Dover DE</option>
    </optgroup>
    <optgroup label="Maryland">
<option value="klwx" <?php echo $radarLoc=="lwx"?'selected="selected"':''?>> Sterling VA</option>
<option value="kdox" <?php echo $radarLoc=="kdox"?'selected="selected"':''?>> Dover DE</option>
<option value="kdix" <?php echo $radarLoc=="kdix"?'selected="selected"':''?>> Mt Holly NJ</option>
<option value="kpbz" <?php echo $radarLoc=="kpbz"?'selected="selected"':''?>> Pittsburg PA</option>
    </optgroup>
    <optgroup label="New Jersey">
<option value="kdix" <?php echo $radarLoc=="kdix"?'selected="selected"':''?>> Mt Holly NJ</option>
        <option value="kdox" <?php echo $radarLoc=="kdox"?'selected="selected"':''?>> Dover DE</option>
    </optgroup>
    <optgroup label="North Carolina">
<option value="krax" <?php echo $radarLoc=="krax"?'selected="selected"':''?>> Rahleigh Durham NC</option>
<option value="kmhx" <?php echo $radarLoc=="kmhx"?'selected="selected"':''?>> Morehead City NC</option>
<option value="kltx" <?php echo $radarLoc=="kltx"?'selected="selected"':''?>> Wilmington NC</option>
<option value="kakq" <?php echo $radarLoc=="kakq"?'selected="selected"':''?>> Wakefield VA</option>
<option value="kfcx" <?php echo $radarLoc=="kfcx"?'selected="selected"':''?>> Blacksburg VA</option>
    </optgroup>
    <optgroup label="Pennsylvania">
<option value="kpbz" <?php echo $radarLoc=="kpbz"?'selected="selected"':''?>> Pittsburg PA</option>
<option value="kccx" <?php echo $radarLoc=="kccx"?'selected="selected"':''?>> State College PA</option>
<option value="kdix" <?php echo $radarLoc=="kdix"?'selected="selected"':''?>> Mt Holly NJ</option>
    </optgroup>
    <optgroup label="Virginia">
<option value="klwx" <?php echo $radarLoc=="klwx"?'selected="selected"':''?>> Sterling VA</option>
<option value="kakq" <?php echo $radarLoc=="kakq"?'selected="selected"':''?>> Wakefield VA</option>
<option value="kfcx" <?php echo $radarLoc=="kfcx"?'selected="selected"':''?>> Blacksburg VA</option>
<option value="krlx" <?php echo $radarLoc=="krlx"?'selected="selected"':''?>> Charleston WV</option>
    </optgroup>
    <optgroup label="West Virginia">
<option value="krlx" <?php echo $radarLoc=="krlx"?'selected="selected"':''?>> Charleston WV</option>
<option value="klwx" <?php echo $radarLoc=="klwx"?'selected="selected"':''?>> Sterling VA</option>
<option value="kfcx" <?php echo $radarLoc=="kfcx"?'selected="selected"':''?>> Blacksburg VA</option>
<option value="kpbz" <?php echo $radarLoc=="kpbz"?'selected="selected"':''?>> Pittsburg PA</option>
    </optgroup>
    </select>
to contain ONLY your GRLevel3 radars.  Of course each must be running a separate GRLevel3 installation, and it looks like you have this setup.  Next modify this section
Code: [Select]
<?php    if ($radarLoc == 'klwx') {
      
$radarLocText 'Sterling VA ';
    } elseif (
$radarLocText == 'kakq') {
      
$radarLocText 'Wakefield VA ';
    } elseif (
$radarLoc == 'kfcx') {
      
$radarLocText 'Blacksburg VA ';
    } elseif (
$radarLoc == 'krlx') {
      
$radarLocText 'Charleston WV ';
    } elseif (
$radarLoc == 'kccx') {
      
$radarLocText 'State College PA ';
    } elseif (
$radarLoc == 'kpbz') {
      
$radarLocText 'Pittsburg PA ';
    } elseif (
$radarLoc == 'kdix') {
      
$radarLocText 'Mt Holly NJ ';
    } elseif (
$radarLoc == 'krax') {
      
$radarLocText 'Raleigh Durham NC ';
    } elseif (
$radarLoc == 'kmhx') {
      
$radarLocText 'Morehead City NC ';
    } elseif (
$radarLoc == 'kltx') {
      
$radarLocText 'Willmington NC ';
    } elseif (
$radarLoc == 'kdox') {
      
$radarLocText 'Dover DE ';
    }
?>
to include ONLY YOUR '$radarLoc' and '$radarLocText' entries.

That won't quite do it.

Go to Bob's site, right click on the legend and select 'Save as...' to download it, and then place it where it is referenced by 'inc-multi-gr3hanis.php'.  Bob has placed it in his root folder:
Code: [Select]
  <img src="gr3legend2.png" border="1" width="800" alt="Radar Legend"/>

Finally, in 'wxgr3hanis-multi.php' change the '$imageWidth' to match yours.
« Last Edit: September 08, 2015, 12:32:52 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1069
  • unnamed weather station, Boltek, Win7 Pro, ToA
    • TiggrWeather
Re: GRLevel3 Animation via HAniS
« Reply #73 on: September 08, 2015, 01:15:31 PM »
Bob,

Just to be picky, your text link above your banner has a small spelling error - http://cliftionvaweather.com/. Needless to say, that can't be found.   :-)
John
W7JKG
BUY FROM AMAZON HERE... Thank You! :-)

Offline satcop

  • Senior Contributor
  • ****
  • Posts: 190
    • Clifton Virginia Weather
Re: GRLevel3 Animation via HAniS
« Reply #74 on: September 08, 2015, 02:14:54 PM »
Bob,

Just to be picky, your text link above your banner has a small spelling error - http://cliftionvaweather.com/. Needless to say, that can't be found.   :-)

One has to watch for creeping "i"s that appear when one tries editing with fat fingers.  Thanks for bringing to my attention, has been fixed #-o
Clifton, Virginia Weather


Blitzortung Stations 1189, 1451 - CWOP EW1675

 

anything