WXforum.net
May 22, 2013, 01:20:21 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6617  •  Posts: 178535  •  Topics: 18117
Please welcome TheMOX, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1] 2 3   Go Down
  Print  
Author Topic: Putting GRLevel 3 on a Site  (Read 3546 times)
0 Members and 2 Guests are viewing this topic.
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« on: November 02, 2011, 05:10:08 PM »

Does anyone know of a good tutorial or could show me how to do this?

Thanks, Cool

--Farmtalk--
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
mackbig
Forecaster
*****
Offline Offline

Posts: 4072



WWW
« Reply #1 on: November 03, 2011, 07:24:06 AM »

http://saratoga-weather.org/scripts-GR3radar.php#GR3radar

Andrew
Logged


Andrew - Davis VP2+ 6163, serial weatherlink, wireless anemometer, running Weather Display.  Boltek PCI Stormtracker, Astrogenic Nexstorm, Strikestar - UNI, CWOP CW8618, GrLevel3, (Station 2 OS WMR968, VWS 13.01p09), Windows 7-64
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #2 on: November 03, 2011, 07:32:02 AM »

Thanks! I will post back if I have any trouble (I have surgery in a couple of hours, so  I wont be able to work on it)

Thanks again! Cool

--Farmtalk--
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #3 on: November 03, 2011, 01:01:16 PM »

Can you help me configure the code?
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
mackbig
Forecaster
*****
Offline Offline

Posts: 4072



WWW
« Reply #4 on: November 03, 2011, 01:20:50 PM »

Not much to help with beyond what the instructions already say... 

Download the code,
Edit as shown, use notepad.exe
Upload to your site

Put your ftp creds into GR3. 
Click OK.

Wait 10 minutes, then check your site.  I would actually just start uploading your images now, then they will be there, and you can rule out that as an issue, should you run into trouble with the php.

Andrew
Logged


Andrew - Davis VP2+ 6163, serial weatherlink, wireless anemometer, running Weather Display.  Boltek PCI Stormtracker, Astrogenic Nexstorm, Strikestar - UNI, CWOP CW8618, GrLevel3, (Station 2 OS WMR968, VWS 13.01p09), Windows 7-64
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #5 on: November 04, 2011, 03:56:45 PM »

Which part of my site do i put it in, the coding part? and does it need to be php or html?
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #6 on: November 04, 2011, 04:27:53 PM »

Im just confused on how to copy the code; which parts of the code do i copy, the instructions too? I read what it said but it is confusing me Sad
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #7 on: November 04, 2011, 07:31:53 PM »

Hi Joesph,

A couple of questions for you.  Do you have a dedicated computer for running GR3 all of the time?  You are using KRLX, correct?  I'll be happy to assist if I'm able to.

Also, are you able to run PHP on your site?

John
« Last Edit: November 04, 2011, 07:33:38 PM by sacreyweather » Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #8 on: November 04, 2011, 07:34:06 PM »

Do you mean keeping my com on 24/7? Only on the weekends, I dont keep my com on during school...and yes im using krlx
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #9 on: November 04, 2011, 07:44:08 PM »

Okay, no problem.  Have you have downloaded the file GR3-radar-inc.php from Ken's (Saratoga) site?  If so, have you changed the settings in there yet?

 
Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #10 on: November 04, 2011, 07:45:58 PM »

I dont understand the instructions, but yes I downloaded it  Smile
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #11 on: November 04, 2011, 07:56:14 PM »

Okay.  The settings are pretty simple.  I'll walk you through it.

# GRLevel3 Radar image settings
$GR3radar   = 'kmux';   // set to lower-case full name of NEXRAD radar site (ICAO)  Change the highlighted to "rlx"
$GR3DIR      = '/GR3';    // set to directory for GRLevel3 images (or '/' for root directory)  You can create this directory.
$GR3type   = 'cr';      // default radar image type 'cr','br','cr248','br1' etc.  This will the first thing you see after loading the webpage.
$GR3img      = 'jpg';   // GR3 image type 'jpg' or 'png'
$GR3cnt      = 10;      // number of images in series 10=(_0 ... _9 in name of file)
$GR3width   = 512;      // width of GR3 images
$GR3height  = 512;      // height of GR3 images
$GR3maxAge =  1200;  // image_0 has to be less than 20 minutes old for consideration
$GR3notAvailMsg = 'GRLevel3 radar images are not available at this time.';
$GR3notCurrentMsg = 'GRLevel3 radar image is not current - more than %s seconds old.';

The width and height can be changed of you want.  I have mine set to width=612 and the height=512.

Hope that makes sense.
Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #12 on: November 04, 2011, 08:03:46 PM »

is my directory fitzweather.html?

otherwise, how does this look?

# GRLevel3 Radar image settings
$GR3radar   = 'krlx';   // set to lower-case full name of NEXRAD radar site (ICAO)
$GR3DIR      = '/';    // set to directory for GRLevel3 images (or '/' for root directory
$GR3type   = 'br';      // default radar image type 'cr','br','cr248','br1' etc.
$GR3img      = 'jpg';   // GR3 image type 'jpg' or 'png'
$GR3cnt      = 10;      // number of images in series 10=(_0 ... _9 in name of file)
$GR3width   = 512;      // width of GR3 images
$GR3height  = 512;      // height of GR3 images
$GR3maxAge =  1200;  // image_0 has to be less than 20 minutes old for consideration
$GR3notAvailMsg = 'GRLevel3 radar images are not available at this time.';
$GR3notCurrentMsg = 'GRLevel3 radar image is not current - more than %s seconds old.';  

Like this? (Im terrible at coding as u can tell Brick wall  )
« Last Edit: November 04, 2011, 08:12:28 PM by farmtalk » Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #13 on: November 04, 2011, 08:06:40 PM »

Ok.  To use your what's called your "root" directory, please change where you have fitzweather.html to just the "/".

$GR3DIR      = '/';    // set to directory for GRLevel3 images (or '/' for root directory)  Should look like this to work properly.
« Last Edit: November 04, 2011, 08:09:04 PM by sacreyweather » Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #14 on: November 04, 2011, 08:14:16 PM »

is my directory fitzweather.html?

otherwise, how does this look?

# GRLevel3 Radar image settings
$GR3radar   = 'krlx';   // set to lower-case full name of NEXRAD radar site (ICAO)
$GR3DIR      = '/';    // set to directory for GRLevel3 images (or '/' for root directory
$GR3type   = 'br';      // default radar image type 'cr','br','cr248','br1' etc.
$GR3img      = 'jpg';   // GR3 image type 'jpg' or 'png'
$GR3cnt      = 10;      // number of images in series 10=(_0 ... _9 in name of file)
$GR3width   = 512;      // width of GR3 images
$GR3height  = 512;      // height of GR3 images
$GR3maxAge =  1200;  // image_0 has to be less than 20 minutes old for consideration
$GR3notAvailMsg = 'GRLevel3 radar images are not available at this time.';
$GR3notCurrentMsg = 'GRLevel3 radar image is not current - more than %s seconds old.'; 

Like this? (Im terrible at coding as u can tell  Brick wall )
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #15 on: November 04, 2011, 08:29:51 PM »

That looks fine, Joseph.  Now, please save the file.  I'm not all that great at coding myself.  Thank goodness for Dreamweaver.  Now we need to a new webpage to put this in.

I'm attaching a .zip file that contains a .php file that hopefully will work with your site.  Please unzip and upload this file and the GR3-radar-inc.php file to your website directory.  

Have you setup the FTP in GR3?  If so, please set it to start uploading to your website.  It will upload new radar images not long after the radar updates, so it may a few minutes to get some images there.

Once there are images, try out the wxgr3.php file and see if it works.
Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #16 on: November 04, 2011, 08:36:39 PM »

On GR3, what should I set as my directory? and when I opened ur file, nothing was there.
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #17 on: November 04, 2011, 08:40:37 PM »

On the GR3 FTP where it says Directory, you should put the "/" only.
Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #18 on: November 04, 2011, 08:42:54 PM »

Ok I did that, so the info for GR3 radar is good to go, now what part of the code do i put under your file?
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #19 on: November 04, 2011, 08:44:56 PM »

Everything should be in there.  All you should have to do is upload the 2 .php files to your website directory.
Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #20 on: November 04, 2011, 08:47:22 PM »

Can you to tell me how to do this?
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #21 on: November 04, 2011, 08:47:45 PM »

I thought what u sent me was only 1 file
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #22 on: November 04, 2011, 08:53:47 PM »

Can you to tell me how to do this?


Ok.  Dumb question.  How did you get the pages you have onto your site? 
Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 404


Saline Weather


WWW
« Reply #23 on: November 04, 2011, 08:55:36 PM »

I thought what u sent me was only 1 file

I did send 1 file.  I was thinking you had the other.  No problem.  Here is the other one.
Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb,
CoCoRaHS: AR-SL-16, Weatherbug Station No. 25826
Saline Weather
Saline Weather on Twitter
Farmtalk
Fitzweather
Forecaster
*****
Offline Offline

Posts: 3507



WWW
« Reply #24 on: November 04, 2011, 08:59:16 PM »

it says its a read only file so i cant save it
Logged

"Make it simple but significant"

Administrator- www.fitzweather.com
Administrator- www.triviacre.com
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.115 seconds with 19 queries.