Author Topic: Animate GRLevel3 Radar Using FlAniS  (Read 38470 times)

0 Members and 1 Guest are viewing this topic.

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #25 on: August 10, 2010, 04:01:35 PM »
In playing with this script I think I have found that if you don't have 10 images the player doesn't show anything after it loads.  

Yep I just reproduced it 2 times with 2 different gr3 products! Once there were 10 images the player worked.  So I guess if you want a specific product of gr3 on for a weather event, you either have to start uploading the product 2 hours before the event, otherwise if you turn it on a few minures before, 8 or 9 of the images in your annimation will be old images from the last time you had that product on!  Is there a way in the script to tell it to play the images even if there is only 1 or 2 or 8(you get the picture)?

And then how hard would it be to tell the script to ignore images that are more than say 3 hours (give or take) old!

I am not knocking the script!  In fact I love this script.  I like the player and the versitility (ie: zoom-pan) of the player.

Just throwing a few things out there to see if I understand them correctly and if the changes mentioned can be made.

Again I think this is an awesome script!
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline Gordon

  • Senior Member
  • **
  • Posts: 79
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #26 on: August 10, 2010, 06:47:05 PM »
Hey Gordon,

If I'm understanding this correctly, you've moved wxgr3radar.php down one level in the directory and it's no longer in the same directory as settings.php and common.php. I think you need to put "../" in front of those files so they can be found in the correct directory.

Steve

Hi ya Steve...hoping all is well!

Thanks for that...unfortunately, that just generated another error:

Warning: fopen() [function.fopen]: Unable to access ./flyout-menu.xml in /virtual/users/e16409-17610/web/flyout-menu.php on line 79

Warning: fopen(./flyout-menu.xml) [function.fopen]: failed to open stream: No such file or directory in /virtual/users/e16409-17610/web/flyout-menu.php on line 79
could not open XML input from ./flyout-menu.xml

Line 79 of the flyout-menu.php file shows...

if (!($fp = fopen($MENUdef, "r"))) {
    die("could not open XML input from $MENUdef ");

...which is referenced in the Settings section at the top of the same file:

$MENUdef = './flyout-menu.xml'; // (relative) file location of XML menu definition file

Not sure why all the fuss. From what I read, getting this script to work should be simple (in theory...lol)


Gordon

<iframe src='https://www.weatherlink.com/embeddablePage/show/3512bdb6075043fba2e0fbf66996d8f0/signature' width='760' height='200' frameborder='0'></iframe>

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1648
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #27 on: August 10, 2010, 06:57:11 PM »
I got to agree! In theory it should be a simple inclusion but in reality,for me anyway, it has been a small scale nightmare.
Best I can do is having all my menu and everything on the template show except the flash animation and of course this
error  Parse error: syntax error, unexpected T_STRING in /home/kg4muc/public_html/wxradarloop.php on line 46

There has to be a trick somewhere that we're overlooking I suppose :lol:


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 521
    • Tyler Texas Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #28 on: August 10, 2010, 06:59:38 PM »
Hey Gordon,

Doing well. Hope you are too. (BTW, check out my newly updated site at www.tylertexasweather.com).

Here's the approach I used to get it to work.

Keep wxgr3radar.php in its original directory (not in GR3). That way all the "requires" and "includes" should still work correctly.

Now, in the <object> section of your page, put a "/" in front both instances of "flanis/flanis.swf".

Next, change both instances of the configFilename to read "/GR3/grlevel3.txt". Your config file should now be found. I'm assuming you're not pointing to any directory with the images inside grlevel3.txt since they are already in the GR3 folder.

As I mentioned, this is how I got mine to work. Hopefully you will as well.

Steve

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1648
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #29 on: August 10, 2010, 07:35:39 PM »
Well since we are viewing code. here is mine

  <?php
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (WD-USA template set)
############################################################################
#
#   Project:    Sample Included Website Design
#   Module:     sample.php
#   Purpose:    Sample Page
#   Authors:    Kevin W. Reed <kreed@tnet.com>
#               TNET Services, Inc.
#
#    Copyright:   (c) 1992-2007 Copyright TNET Services, Inc.
############################################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
############################################################################
#   This document uses Tab 4 Settings
############################################################################
require_once("Settings.php");
require_once("common.php");
############################################################################
$TITLE= $SITE['organ'] . " - GRLevel3 Radar";
$showGizmo = true;  // set to false to exclude the gizmo
include("top.php");
############################################################################
?>
</head>
<body>
<?php
############################################################################
include("header.php");
############################################################################
include("menubar.php");
############################################################################
?>

<div id="main-copy">

  <h3>Local GRLevel3 Radar</h3>

<br/>
<align="center">
<center><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="726" height="610" id="FlAniS">

    <param name="movie" value=""/"flanis/flanis.swf" />

    <param name="quality" value="high" />

    <param name="menu" value="false" />

    <param name="wmode" value="opaque" />

    <param name="FlashVars" value="configFilename=""/""fianisconfig.txt" />

    <embed style="width:726px; height:610px;" src=""/"flanis/flanis.swf" name="FlAniS" swliveconnect="false"

    quality="high" menu="false" type="application/x-shockwave-flash"

    pluginspage="http://www.macromedia.com/go/getflashplayer" scale="noscale" flashvars="configFilename=grlevel3.txt" wmode="opaque"> </embed>

</object></center>
<br/>
<CENTER><CENTER/>

</div><!-- end main-copy -->

<?php
############################################################################
include("footer.php");
############################################################################
# End of Page
############################################################################
?>




And here is what I get using it   http://www.smythweather.net/wxradarloop.php


I can't seem to get the hang of this for some reason! Looks like it should work but not the case.
Anyone has any ideas I'm definitely all ears :lol:


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline Gordon

  • Senior Member
  • **
  • Posts: 79
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #30 on: August 10, 2010, 07:41:54 PM »
Hey Gordon,

Doing well. Hope you are too. (BTW, check out my newly updated site at www.tylertexasweather.com).

Here's the approach I used to get it to work.

Keep wxgr3radar.php in its original directory (not in GR3). That way all the "requires" and "includes" should still work correctly.

Now, in the <object> section of your page, put a "/" in front both instances of "flanis/flanis.swf".

Next, change both instances of the configFilename to read "/GR3/grlevel3.txt". Your config file should now be found. I'm assuming you're not pointing to any directory with the images inside grlevel3.txt since they are already in the GR3 folder.

As I mentioned, this is how I got mine to work. Hopefully you will as well.

Steve

Steve,

Thank you...and oh so close.

http://www.oldlineweather.com/wxgr3radar_br.php

Definitely a path issue somewhere...as the images are not loading...but the framework is there.

BTW, nice revamp on your site!
« Last Edit: September 09, 2011, 11:23:03 PM by gclarkso »
Gordon

<iframe src='https://www.weatherlink.com/embeddablePage/show/3512bdb6075043fba2e0fbf66996d8f0/signature' width='760' height='200' frameborder='0'></iframe>

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1648
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #31 on: August 10, 2010, 07:45:04 PM »
Gordon,
You are so close you can almost smell it  :lol:
I'm still stuck at a blank page  #-o

Wayne


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 521
    • Tyler Texas Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #32 on: August 10, 2010, 07:55:10 PM »
Gordon,

Not sure if this is the problem, but I see you put a "/" in front of GR3 in only 1 of the 4 file references. I think all 4 need this "/" in front of the GR3 folder.

Steve

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1648
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #33 on: August 10, 2010, 08:35:49 PM »
Thanks so much ! Greatly appreciated I have been hacking hard but haven't had a great deal of success #-o
For some reason I can't get pass my roadblocks LOL!!

Thanks for everything so far!

Wayne


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 521
    • Tyler Texas Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #34 on: August 10, 2010, 09:00:18 PM »
Wayne,

After reviewing your code, a couple of things immediately jump out at me. First, your coding of the "/" is not correct. Your references to the swf file should be value="/flanis/flanis.swf" and src="/flanis/flanis.swf".

Next, I don't know what the name of your config file is or where it's located, so for example purposes, I'm going to call it myconfig.txt and assume it's in the flanis folder. Now your 2 references to it should be: configFilename=/flanis/myconfig.txt .

Steve

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1648
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #35 on: August 10, 2010, 09:05:58 PM »
You're correct Steve. It's in the flanis file thats inside of the GR3 directory.
config file is fianisconfig.txt   It's actually mispelled on the name but I done that in the early AM so I've just left it that way.

I will change the code you mentioned and see what happens..


Thanks for the help!!!


Wayne


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #36 on: August 10, 2010, 10:35:55 PM »
I'm using VWS, as my software, can I use the template or no?  I'm thinking no!
« Last Edit: August 10, 2010, 10:45:19 PM by dasman »
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline Gordon

  • Senior Member
  • **
  • Posts: 79
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #38 on: August 10, 2010, 10:56:43 PM »
I have changed the FlAniS applet code so you can keep all of your grlevel3 files in their original or separate folder. This was done to make it easier for you to change.

Danny,

Ahhh...now thats more like it!
http://www.oldlineweather.com/wxgr3radar_br.php

I'm sure you worked hard on this...and I (we) thank you!


« Last Edit: September 09, 2011, 11:23:39 PM by gclarkso »
Gordon

<iframe src='https://www.weatherlink.com/embeddablePage/show/3512bdb6075043fba2e0fbf66996d8f0/signature' width='760' height='200' frameborder='0'></iframe>

Offline ELDoradoWx

  • El Dorado Weather
  • Senior Contributor
  • ****
  • Posts: 298
  • Gentoo X = Complete_Control
    • El Dorado Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #39 on: August 10, 2010, 10:59:04 PM »
I'm using VWS, as my software, can I use the template or no?  I'm thinking no!

For now I have the radar types listed seperately:

http://www.peotoneweather.com/gr3/br248.php
http://www.peotoneweather.com/gr3/br2.php
http://www.peotoneweather.com/gr3/str.php
http://www.peotoneweather.com/gr3/et.php
http://www.peotoneweather.com/gr3/vil.php

I am only familiar with the WD PHP Template. Can't you still plug in the same body section of the template above into your VWS template?

I recommend keeping with the example so you do not experience any unwanted surprises. The code in the body section in the above sample template code should be template neutral and able to be used within any of the templates I would think.

It is optional to use the full address to each image, but has nothing to do with which template type you are using. By using the full URL to your images you break the applet code and no longer need the "image_base=" sections in the applet code.
« Last Edit: August 10, 2010, 11:26:35 PM by ELDoradoWx »
-Danny
-root is everything

Offline ELDoradoWx

  • El Dorado Weather
  • Senior Contributor
  • ****
  • Posts: 298
  • Gentoo X = Complete_Control
    • El Dorado Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #40 on: August 10, 2010, 11:02:37 PM »
Ahhh...now thats more like it!
http://www.oldlineweather.com/wxgr3radar.php

I'm sure you worked hard on this...and I (we) thank you!

My pleasure! Your page looks very nice...

Sorry I didn't supply the code for the templates many of you use. I don't use the templates on my site so I don't usually think in terms of templates. I do however keep a set of PHP templates for testing.. So I already had the templates.
« Last Edit: August 10, 2010, 11:12:40 PM by ELDoradoWx »
-Danny
-root is everything

Offline Gordon

  • Senior Member
  • **
  • Posts: 79
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #41 on: August 10, 2010, 11:13:55 PM »

My pleasure! Your page looks very nice...


Awesome! Thanks! To be honest, it was our own SteveFitz1 who really got me going several years ago when he had his site located in North Carolina...

I think I speak for the majority when I say our weather websites are a perpetual "work in progress"...
Gordon

<iframe src='https://www.weatherlink.com/embeddablePage/show/3512bdb6075043fba2e0fbf66996d8f0/signature' width='760' height='200' frameborder='0'></iframe>

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #42 on: August 10, 2010, 11:24:34 PM »
Im not sure what part of the wd template you have above I should use.  Nor am I sure where to put it?  I don't have some of the php codes you have in the template.  I tried part of it but ended up with this error...Parse error: syntax error, unexpected '<' in /home/content/p/e/o/peotone/html/gr3/testpage.php on line 286

I'm not sure how to proceed?
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline ELDoradoWx

  • El Dorado Weather
  • Senior Contributor
  • ****
  • Posts: 298
  • Gentoo X = Complete_Control
    • El Dorado Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #43 on: August 10, 2010, 11:30:57 PM »
Im not sure what part of the wd template you have above I should use.  Nor am I sure where to put it?  I don't have some of the php codes you have in the template.  I tried part of it but ended up with this error...Parse error: syntax error, unexpected '<' in /home/content/p/e/o/peotone/html/gr3/testpage.php on line 286

I'm not sure how to proceed?

1.  Read my post to you a few posts up from here, its been edited.

2.  Do you have the file named "radar-status.php" in with your template files?

3.  Please post your VWS template code for me to look at.

4.  Please give me the full URL to your "flanis" folder.

5.  Please give me the full URL to your "grlevel3" folder where you have the images.

6.  Please give me the full URL to your grlevel3 with the applet code...

NOTE: Don't worry, we'll get you all up and running perfectly. If it goes to easy for you, you won't learn anything...  :grin:
« Last Edit: August 10, 2010, 11:41:21 PM by ELDoradoWx »
-Danny
-root is everything

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #44 on: August 11, 2010, 12:17:18 AM »
OK here it goes...

I do not have a file "radar-status.php".
I don't have a VWS template, it is a template I made on my own with DreamWeaver!
The following is the code for my template with nothing in the body, or editable regions as there called by dreamweaver:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The Sommerfelds</title>
<script src="/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<meta http-equiv="refresh" content="300">
<meta name="Keywords" content=" Peotone , Peotone weather station, weather, David Sommerfeld ">
<meta name="Description" content="Local Weather Conditions Measured Right Here In Peotone IL.  We Also Have Radar And Satellite maps">
<meta name="Abstract" content="David Sommerfeld">
<meta name="Abstract" content="Peotone weather data.">
<meta name="ICBM" content="41.33366776, -87.78903198">
<meta name="DC.title" content="Peotone Weather">
<link rel="stylesheet" type="text/css" href="./WU-HistoryBlue.css" />
<script type="text/javascript" src="ajaxVWS.js"></script>
<style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
<script
src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA447XvwY29eAvRCKcYZbQ4hSY_pF79BRBd0zM6LPcOM4G8kaWwhTWNGQVLtwQ04cyaZGIjmYnXfKV7Q"
type="text/javascript"></script>
<script src="ClusterMarker.js" type="text/javascript"></script>
<script src="mapiconmaker.js" type="text/javascript"></script>

<script src="HtmlControl.js" type="text/javascript"></script>
<script src="global-conditions-json.php" type="text/javascript"></script>
</head>

<body>
<img src="http://www.peotoneweather.com/header.jpg" alt="Banner" width="1193" height="225" />

    <table width="130" height="950" border="0" bgcolor="white">
<tr>
<th width="1" scope="col"><td width="130" align="left" valign="top"> <ul id="MenuBar1" class="MenuBarVertical" >
<li><a href="http://peotoneweather.com" title="Peotone Weather Home Page">Peotone Weather Home Page!</a></li>
<li><a class="MenuBarItemSubmenu" href="#">GRLevel3 Radar</a>
<ul>
<li><a href="http://www.peotoneweather.com/gr3.php" title="This is the Original GRLevel3 webpage and player you have been using.">Original Viewer</a></li>
<li><a href="http://www.peotoneweather.com/gr3/br248.php" title="New Flash animater to view GRLevel 3 radar!"> New Animator Northern Illinois</a></li>
<li><a href="http://www.peotoneweather.com/gr3/br2.php" title="New Flash animater to view GRLevel 3 radar!"> New Animator Peotone Illinois</a></li>
<li><a href="http://www.peotoneweather.com/gr3/str.php" title="New Flash animater to view GRLevel 3 radar!"> New Animator Storm Total Rain</a></li>
<li><a href="http://www.peotoneweather.com/gr3/et.php" title="New Flash animater to view GRLevel 3 radar!"> New Animator Echo (cloud) Tops</a></li>
<li><a href="http://www.peotoneweather.com/gr3/vil.php" title="New Flash animater to view GRLevel 3 radar!"> New Animator Vertically Intergrated Liquid</a></li>
</ul>
<li><a class="MenuBarItemSubmenu" href="#">Radar</a>
<ul>
<li><a href="http://peotoneweather.com/midwestNWS" title="National Weather Service Extended Northern Illinois Radar">NWS Extended NI Radar</a></li>
<li><a href="http://peotoneweather.com/radar.php" title="Midwest composite radar">Accu Weather Midwest Radar</a></li>
<li><a href="http://www.peotoneweather.com/noaa.php" title="The best national radar available for Peotone!">National</a></li>
</ul>
</li>
<li><a href="http://peotoneweather.com/sat" title="Various Satellite and Ir Products">Satellite</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Local Reporting Stations</a>
<ul>
<li><a href="http://www.peotoneweather.com/global" title="Global map of personal weather stations.  Interactive!!!">Global PWS</a></li>
<li><a href="http://www.peotoneweather.com/cwop" title="The Citizens Weather Observer Program! Quality Checked by MADIS. Used by the NWS">CWOP</a></li>
<li><a href="http://peotoneweather.com/meso" title="Meso West. Quality Checked by the University of UTAH. Used by the NWS">Meso West</a></li>
<li><a href="http://www.peotoneweather.com/mw" title="The Mid Western Weather Network!">Mid Western Weather Network</a></li>
</ul>
</li>

<li><a href="#" class="MenuBarItemSubmenu">NWS Forecasts and Storm Reports</a>
<ul>
<li><a href="#" title="Storm Reports" target="parent" class="MenuBarItemSubmenu">Storm Reports</a>
<ul>
<li><a href="http://www.peotoneweather.com/NOAAreport.php" title="Chicago metro storm reports">Local</a></li>
<li><a href="http://www.peotoneweather.com/SPCreport" title="National severe reports (Tornados,Wind,Hail)">SPC Report</a></li>
</ul>
<li><a href="http://www.peotoneweather.com/nwsforecast" title="Peotone forecast ">Forecast</a></li>
<li><a href="http://www.peotoneweather.com/uv" title="UV">UV Forecast</a></li>
</ul>
</li>
<li><a href="http://www.peotoneweather.com/nationalwarn" title="National watches/warnings/advisories">National Advisories</a></li>
<li><a href="http://www.peotoneweather.com/noaaradio" title="NOAA weather radio">NOAA Weather Radio</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Peotone's  Weather History</a>
<ul>
<li><a href="http://peotoneweather.com/wu.php" title="Graphical Data(interactive)">Graphical Data(interactive)</a></li>
<li><a href="http://www.peotoneweather.com/noaareports" title="NOAA Reports 2007-Present">NOAA Reports 2007-Present</a></li>
<li><a href="http://peotoneweather.com/Winter20062007.php" title="Winter 06-07">winter 2006-07</a></li>
<li><a href="http://peotoneweather.com/Winter20072008.php" title="Winter 07-08">winter 2007-08</a></li>
<li><a href="http://peotoneweather.com/snowfall%2008-09.php" title="Winter 2008-09">Winter 2008-09</a></li>
<li><a href="http://peotoneweather.com/snowfall%2009-10.php" title="Winter 2009-10">Winter 2009-10</a></li>
</ul>
</li>
<li><a href="http://www.peotoneweather.com/events" title="Peotone's significant weather events. Starting May 1st 2010.">Peotone's Significant Weather</a></li>
<li><a href="http://www.peotoneweather.com/details" title="Peotone's weather photos">Peotone Weather Photos</a></li>
<li><a href="http://peotoneweather.com/weatherhistory" title="Peotone's 30yr averages" >Peotone Precip 30yr Average</a></li>
<li><a href="http://www.peotoneweather.com/sticker" title="Peotone's weather banners/stickers">Peotone's weather banners/stickers</a></li>

<li><a href="http://raws.wrh.noaa.gov/cgi-bin/roman/meso_base.cgi?stn=C7762" title="Peotone's data" target="parent">Peotone's data used by the NWS</a></li>
<li><a href="http://www.emergencyclosingcenter.com/ecc/home.jsp" title="School Closings" target="parent">School Closings</a></li>
<li><a href="http://traffic.forge22.com/" title="Traffic" target="parent">Traffic</a></li>
<li><a href="#" class="MenuBarItemSubmenu">Forecasts for Illinois Cities</a>
<ul>
<li><a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=champaign+il" title="Champaign" target="parent">Champaign</a></li>
<li><a href="http://www.wunderground.com/US/IL/Rockford.html" title="Rockford" target="parent">Rockford</a></li>
<li><a href="http://www.wunderground.com/US/IL/Carbondale.html" title="Carbondale" target="parent">Carbondale</a></li>
<li><a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=springfield%20illinois&amp;wuSelect=WEATHER" title="Springfield" target="parent">Springfield</a></li>
<li><a href="http://www.wunderground.com/US/IL/Moline.html" title="Moline" target="parent">Moline</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Peotone Web Links</a>
<ul>
<li><a href="http://www.peotonefire.org/index_Page266.htm" title="Peotone Fire Department" target="parent">Peotone Fire Department</a></li>
<li><a href="http://www.eyesonthesky.com/" title="Eyes on the Sky" target="parent">Eyes on the sky</a></li>
<li><a href="http://www.villageofpeotone.com/" title="Village Hall" target="parent">Peotone Village Hall</a></li>
<li><a href="http://www.peotonechamber.com/" title="Chamber" target="parent">Peotone Chamber of Commerce</a></li>
<li><a href="http://www.peotonebaseball.org/" title="Youth Baseball" target="parent">Peotone Youth Baseball</a></li>
<li><a href="http://www.evergreensod.com/" title="Sod" target="parent">Evergreen Sod Farm</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Web Links</a>
<ul>
<li><a href="http://saratoga-weather.org/index.php" title="Saratoga California" target="parent">Saratoga-Weather</a></li>
<li><a href="http://www.weather.ricksturf.com/index.php" title="Elkhart Indiana" target="parent">Michiana Weather</a></li>
<li><a href="http://www.gooselakeweather.com/ " title="Moris Illinois" target="parent">Goose Lake Weather</a></li>
<li><a href=" " title="Future" target="parent">Future</a></li>
<li><a href=" " title="Future" target="parent">Future</a></li>
</ul>

<li><a href="http://peotoneweather.com/mobile" title="This page is for your I-Phone, Blackberry, Droid, and other smart phones and PDA's"bgcolor="#CEE7FF">Peotone Weather Mobile!</a></li>
<li><a href="http://peotoneweather.com" title="Peotone Weather Home Page">Peotone Weather Home Page!</a></li>
</ul>

<a href="http://www.crh.noaa.gov/lot/  "target=_blank""><img src="../nwslogo.gif"width="125" height="125"border="0"></a><br />
<a href="http://wxqa.com/ "target=_blank""><img src="../cwoplogo.gif"width="125" height="125"border="0"></a><br />
<a href="http://noaa.gov/ "target=_blank""><img src="../noaaLogo.gif"width="125" height="125"border="0"></a><br />
<a href="http://northamericanweather.net/ "target=_blank""><img src="../NAWN_logo.png"width="125" height="125"border="0"></a><br />
<a href="http://midwesternweather.net/ "target=_blank""><img src="../MWN_roundsmall.png"width="125" height="125"border="0"></a><br />
<a href="http://cocorahs.org/ "target=_blank""><img src="../cocorahs.jpg"width="125" height="125"border="0"></a> <br />
<a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=60468/ "target=_blank""><img src="../wu.gif"width="125" height="125"border="0"></a><br />
<a href="http://www.peotonefire.org/index_Page266.htm "target=_blank""><img src="../firedept.jpg"width="125" height="125"border="0"></a><br />
<a href="http://www.awekas.at"><img src="http://www.awekas.at/images/awekas-logo-kl.jpg" alt="www.awekas.at" width="90" height="98" border="0"width="125" height="125"></a><br />
<br />
<a href="http://www.weatherforyou.com/cgi-bin/hw3/hw3.cgi?nc=forecast%2Cpands%2Ccountry&forecast=zandh&pands=60468// "target=_blank""><img src="../Weatherforyou.gif"width="125" height="125"border="0"></a><br />
<a href="http://www.spotternetwork.org  "target=_blank""><img src="../spotter network.jpg"width="125" height="125"border="0"></a><br />
<a href="http://www.skywarn.org// "target=_blank""><img src="../spotter.jpg"width="125" height="125"border="0"></a> </th><br />
<a href="http://www.ambientweather.com"target=_blank""><img src="../ambient.jpg"width="125" height="125"border="0"></a><br />
<a href="http://www.crh.noaa.gov/lot/  "target=_blank""><img src="../nwslogo.gif"width="125" height="125"border="0"></a><br />
<br />
<a href="mailto:dave@peotoneweather.com">Contact Dave at Peotone Weather</a>
  
  
  <div id="mainContent">
 <?php
$mainmap 
= @imagecreatefrompng("http://www.crh.noaa.gov/hazards/Plotter.php?wfo=lot");
if(
$mainmap) {
$im imagecreatetruecolor(100100);
$black imagecolorallocate ($im0,0,0); // black
$fontA "arial.ttf"// font style
imagecopy($im$mainmap00168108100100);
imagettftext($im704848$black$fontA'Peotone');
imagettftext($im2405554$black$fontA".");
imagettftext($im701567$black$fontA'Manteno');
imagettftext($im2405367$black$fontA".");
imagepng($im"new_map2.png");
imagedestroy($mainmap);
imagedestroy($im);
}
?>




 
<th width="10" scope="col"><div id="Layer1"><td width="1050" align="left" valign="top">
<table width="1050" border="0" bordercolor="blue" cellpadding="0" >
<tr>
<td>  
<a href="http://www.peotoneweather.com/niadvisory.php "target=_blank""><img src="new_map2.png" width="100" height="100" alt="" style="border-style:solid; border-color:blue;" /></a>

</td>
<td align="top"><?php
echo "<!-- AtomFeed Alert Box -->";
include(
"AtomArray.php");
if(
$alert_box !== '') {
print 
'
<div>
<table border="0" cellspacing="0" cellpadding="0" style="width: 942px; margin: 0px auto 0px auto;">
<tr>
<td style="color: white; background-color: blue; text-align: center">WEATHER ALERTS...for Will and Kankakee Counties. Click on alert to see details! Or on map for larger Northern Illinois Map</td>
</tr>
<tr>
<td>'
.$alert_box.'</td>
</tr>
</table>
</div>'
;
}
echo 
"\n<!-- end AtomFeed Alert Box -->\n";
?>



</td>
</tr>

    <!-- TemplateBeginEditable name="page content" -->
    
    

 


<!-- TemplateEndEditable -->
  
<!-- end #mainContent --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
  <div id="footer">
  
  <!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"/SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>

Flanis folder is http://www.peotoneweather.com/gr3/flanis
grlevel3 folder is http://www.peotoneweather.com/gr3
Here is a page with the original aplet code working http://www.peotoneweather.com/gr3/br248.php


Thankyou for your help.  Since I don't have one of the standard templates nothing is plug and play for me.  It is also harder to learn.
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline ELDoradoWx

  • El Dorado Weather
  • Senior Contributor
  • ****
  • Posts: 298
  • Gentoo X = Complete_Control
    • El Dorado Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #45 on: August 11, 2010, 12:45:44 AM »
OK here it goes...

I do not have a file "radar-status.php".
I don't have a VWS template, it is a template I made on my own with DreamWeaver!

It looks like you are running perfectly already! I don't see any changes you need to make, your page looks great. The new post with the new instructions are for Template users only and should not concern you at all. Of course you could always redo your site to the official VWS template files if you wanted to.  :-P
-Danny
-root is everything

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #46 on: August 11, 2010, 12:50:01 AM »
All I'm looking for is a way to have a menu with radar types right above the radar that you can select from (br248-br2-ET- etc...!  For now I have all the types listed under grlevel3 radar in the left hand side navigation menu!
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline ELDoradoWx

  • El Dorado Weather
  • Senior Contributor
  • ****
  • Posts: 298
  • Gentoo X = Complete_Control
    • El Dorado Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #47 on: August 11, 2010, 12:59:18 AM »
All I'm looking for is a way to have a menu with radar types right above the radar that you can select from (br248-br2-ET- etc...!  For now I have all the types listed under grlevel3 radar in the left hand side navigation menu!

Here is a snippet of the code for the links:
Code: [Select]
<table style="border:1px solid #000000;">
<tr><td style="padding:3px;" align="center">
<form action="">
<span style="color:#000000; font-size:13px; font-family:arial, times new roman;">
<b>Select radar type:</b> &nbsp;
</span>
<select style="border:1px solid #000000; background-color:#FFFFFF; font-size:11px;" name="menu" onchange="top.location.href = this.form.menu.options[this.form.menu.selectedIndex].value; return false;">
<option value="#">Types of Nexrad Doppler Radar</option>
<option value="#">&nbsp;</option>
<option value="link-to-br1-radar-goes-here">- BR1 - Base Reflectivity 0.5&deg;</option>
<option value="link-to-cr-radar-goes-here">- CR - Composite Reflectivity</option>
<option value="link-to-cr248-radar-goes-here">- CR248 - Composite Reflectivity 248nm</option>
<option value="link-to-br248-radar-goes-here">- BR248 - Base Reflectivity 248nm</option>
<option value="link-to-ohr-radar-goes-here">- OHR - 1 Hour Rainfall Totals</option>
<option value="link-to-thr-radar-goes-here">- THR - 3 Hour Rainfall Totals</option>
<option value="link-to-shr-radar-goes-here">- SHR - Storm Rainfall Totals</option>
</select>
</form>
</td></tr></table>

If you like you can use and position the above table/form code anywhere on your page. Just change the URL's and customize or change it anyway you want. You can put the links menu anywhere on your page, ie "top center", top right, or top left etc.

-Danny
-root is everything

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #48 on: August 11, 2010, 10:15:23 AM »
Thanks Danny!!!

The code for the menu bar works perfectly!!! 

http://www.peotoneweather.com/gr3/br248.php

I've noticed when there are no images or less then ten 10 images for a radar type, the player does not load.  It will sit empty, almost like its waiting to load!

Can the player be made to play images even if there is less then 10 available?  And is there a way to put a message on the player when this occurs?  Something like this GRLevel3 option is not available at this time.

Thanks Again Danny!
Your hard work is appreciated by all!
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1648
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Animate GRLevel3 Radar Using FlAniS
« Reply #49 on: August 11, 2010, 12:53:26 PM »
I can second that motion!!  Thanks Danny!!

I think I have finally gotten all the products I normally provide up and running and on the main menu under gr3 radar.

Greatly appreciate all the hard work you put in getting this project to work and I think I can speak for all involved in saying we are grateful
for the assistance!

Wayne


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

 

anything