Author Topic: grlevel3 publishing/script  (Read 3205 times)

0 Members and 1 Guest are viewing this topic.

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
grlevel3 publishing/script
« on: December 15, 2018, 09:22:33 PM »
hi again,

So I have both .php files in '/' and I have the radar images publishing to
ftp://northshoreweatherservice.com/kbox_cc1_9.jpg {for example}

when I go into wordpress and I try to add the code to a page in my theme it shows nothing...or it just shows the text from the script.  What am I doing wrong? 

Thanks in advance,

Justin

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #1 on: December 15, 2018, 11:31:50 PM »
Hi,

Does your webhost have PHP installed on the server?
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #2 on: December 15, 2018, 11:57:05 PM »
Yes as far as I can tell...I went with Bluehost...looks like they have Php7

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #3 on: December 16, 2018, 09:33:33 AM »
Hi,

When I try your site, it shows me an Admin page. Is Wordpress installed? I am also attaching a test page for you to try on your site. You will need yo unzip then upload it to your site. Once uploaded, you can run the test by typing http://www.northshoreweatherservice.com/test.php into your browser. This will determine if your site has PHP installed or not.

Once your have determined you have PHP, you can make your own site using Wordpress, make a site from scratch, or use some pre-designed weather templates.

You can use:

Ken True's Saratoga template,
Wim's Leuven template, etc.  There are other templates out there as well.

Hope this helps,

John
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #4 on: December 16, 2018, 09:54:16 AM »
Hi John, I really appreciate your help...I'd love to get some of this stuff working but I'm having trouble.  I'm usually not bad at this lol.  So I put the test.php in my root directory through filezilla.  I got a 404 saying file not found...I've attached a pic just so you can see what it looks like.  Wordpress is installed...I'm not sure why the admin page was coming up.  The wordpress theme might be making this all the more difficult...?  I'm totally open to suggestions at this point. 

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #5 on: December 16, 2018, 09:59:16 AM »
Hmmm.....interesting. When I tried the test.php link, I still see the Admin login page for Wordpress. I haven't used WP in years, so I am not accustomed to it any longer. As a suggestion, you may want to look at one of the template links I supplied and go from there for the time being.
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #6 on: December 16, 2018, 10:03:00 AM »
Well the admin login site comes up as a "coming soon" page.  I haven't hit the launch button for the site to go public.  Would that help?

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #7 on: December 16, 2018, 10:04:12 AM »
Well the admin login site comes up as a "coming soon" page.  I haven't hit the launch button for the site to go public.  Would that help?

That could be the issue as to why I can not see anything.
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #8 on: December 16, 2018, 10:09:06 AM »
lol yes exactly!  Well this stinks...I have Gr3, gempak, and awips 2...plenty of stuff to make a great website...but I'm hitting a wall already.  The issue that I'm struggling the most with is getting files from my computers to the server...and then into an html page...it seems like it should be SO easy

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #9 on: December 16, 2018, 10:14:11 AM »
Did Wordpress come pre-installed with the new site or did you install it? You may have un-install WP to move forward for the time being. The template listings I provided normally include the use of a weather station providing data. Those templates can be modified, or if you want to make your own site from scratch.

John
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #10 on: December 16, 2018, 10:26:38 AM »
If I do it from scratch....is there a program that helps with webpage design/development? 

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #11 on: December 16, 2018, 10:47:26 AM »
I use Dreamweaver CS6 as my webpage editor. Notepad++ is free and a good editor as well. My personal site uses a free HTML5 responsive web template that I have modified for my use. For starting out, you may want to look at Ken's Saratoga template. I will do my best to help you with this, if you would like.

John
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #12 on: December 16, 2018, 11:09:06 AM »
ok I just downloaded Dreamweaver as well.  I don't know if I want to use a template.  I need a spot to post forecasts...I'm planning on providing 7 day forecasts of my own, plus any storm-related forecasts/updates.  The template also uses a weather station...I have one...but I do not have it hooked up to my computer.  One of the sensors is busted too...so I'd be wasting my time hooking it up now.  I guess I will just have to start the daunting task of learning how to develop my own page!

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #13 on: December 16, 2018, 11:46:42 AM »
When I first started in January 2009 with my first weather station (Oregon Scientific WS-2316U), I used the Saratoga Template as a starting point in learning website building. I used Notepad as my first editor. Learning from that I began building my own sites and also using other templates as a learning tool. I got a real DVD of Dreamweaver CS6 off of Amazon right after Adobe went to the SAAS for all of their products. I refuse to "lease" software for my use.

If I can help in any way, please let me know. There are many very talented individuals on this forum.

John
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #14 on: December 16, 2018, 12:05:19 PM »
John, Thanks so much...I'm probably going to need it based on my first impression from opening and browsing through Dreamweaver!  I guess I am just being stubborn since I'm spending money on having AWIPS 2 data, gempak data, and GR3...I keep thinking to myself..."if I have access to all of this, why would I want to link to Wunderground...or any other data source?"  It HAS to be possible to get Gr3 images into a site...since I see a ton of websites using it...and many model pages are built around gempak data.  How the heck am I struggling with getting images from ftp to a webpage?  I'm even trying to have GR3 publish to my computer and then have a web page read that image on my computer...but then it just loads as a static image...and any new image after that isn't uploaded unless I manually do it.  Any idea on how to help with any of this?  Can I start with the saratoga template and mix some of these things in?

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #15 on: December 16, 2018, 12:08:32 PM »
and yeah...I have around 4000 followers on Facebook...plus many others...that are waiting for me to launch this site ughhhhh.  If I can just get something going where I have a spot to upload radar images...upload local conditions from my excel spreadsheat that feeds in data from mesowest...and, of course, post my latest forecast discussions and graphics...those three things will be a good start for me

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #16 on: December 16, 2018, 12:11:26 PM »
Which is why I was feeling pretty good about the wordpress setup...all I needed to really jump start this page was getting gr3 images rolling via this script...I can handle setting up other pages for forecasts and, hopefully, getting those local observations to feed in via excel

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #17 on: December 16, 2018, 12:28:14 PM »
Yes, trying to figure out the GR3 upload is a trick in of itself. When doing the setup for the GR3 FTP, make sure to do just like it says - ftp://username:password@server.com/directory

On the server.com part, try northshoreweatherservice.com/ . The preceding should work if you are uploading to your root directory, OR if it does not work try northshoreweatherservice.com/www/www as well. This can vary so much from webhost to webhost. It is truly a matter of trial and error. Also, in the publishing part of GR3, select your image size you want to upload, you have .jpg set, on the image filename part, you have site ID checked, do you want to upload the last a sequence of images for when you want to make a loop of those, then check that box, and lastly, on the right side check the products you want to upload, BR, BV, etc., then hit OK. If the box disappears with out showing an error, it "should be uploading". One thing to note, the program will upload its first image after it updates to a new data download, so it may take a few minutes for it to update. The newest image will be like (e.g. - kbox_br1_0.jpg).

John
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #18 on: December 16, 2018, 12:32:44 PM »
John,

Thanks you again...and yes, I have the files uploading to my ftp root directory.  So now what do I do with the .php?  I have the gr files there...I just can't seem to get the scripting right

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #19 on: December 16, 2018, 12:42:18 PM »
Are you currently wanting just a page to show the radar image? If so, please try the following. Open up Dreamweaver, click new HTML. Once it opens up, just copy and paste what is below over what is in the new page, save it to whatever name you want, but do make sure it ends in .html, then upload it to your site.

<!DOCTYPE>
<html lang="en">
<head>
<title>GR3 Doppler Radar</title>
</head>
<body>
<h3>Current Doppler Radar from Boston, MA</h3>
<img src="https://northshoreweatherservice.com/kbox_br1_0.jpg" alt=""/>
</body>
</html>

If all goes well, you should be able to see the latest GR3 image in that page.
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #20 on: December 16, 2018, 12:58:38 PM »
nothing yet....i think i gotta ditch wordpress?

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #21 on: December 16, 2018, 12:59:53 PM »
I was kind of hoping to keep wordpress and figure out how to get the gr3 images into the wordpress pages

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #22 on: December 16, 2018, 01:02:16 PM »
One would think it would be relatively "easy" to do so considering the number of Blogs out there. I may have to install it and play with it myself.
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #23 on: December 16, 2018, 01:03:17 PM »
I put that stuff in my radar page and it just gave me back the html code lol ugh what the heckkkk

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #24 on: December 16, 2018, 01:11:24 PM »
I agree...this should NOT be this difficult lol.  I mean, if I have to give you my login so you can see this stuff first-hand, that is fine with me.  I just want to get this going

 

anything