WXforum.net
May 21, 2013, 08:45:36 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6615  •  Posts: 178469  •  Topics: 18111
Please welcome Christea, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Graphical TRACReport  (Read 3434 times)
0 Members and 1 Guest are viewing this topic.
Curly
Forecaster
*****
Offline Offline

Posts: 476


WWW
« on: March 30, 2008, 09:52:32 AM »

I've added a color coded graphical trac report that gets the data from the TRACReport text file. At this point, it works without any known errors  but the script can be shortened and sweetend up somehow and I'm at a dead end with my php skills. I just can't release it this way and would really like some help to finish it.
If you want to get involved with this, let me know!

The graphical trac report can be seen at the top of the page only if there is a storm being tracked. If there are no storms, click on the link at the bottom of the page for the demo. http://www.weather.ricksturf.com/lightning.php

Thanks
Curly
 
 
Logged
MesquiteWx
Forecaster
*****
Offline Offline

Posts: 349



WWW
« Reply #1 on: March 31, 2008, 09:59:20 PM »

Very nice addition. I wish I could help you out. What is it you are stuck with?
Logged

Curly
Forecaster
*****
Offline Offline

Posts: 476


WWW
« Reply #2 on: March 31, 2008, 10:12:49 PM »

Thanks MesquiteXmas.

This will list up to 10 active storms and each storm has a table with 11 cells. That's a lot of lines that can be reduced, somehow...

I'm still working on it and learning as I go.
Logged
MesquiteWx
Forecaster
*****
Offline Offline

Posts: 349



WWW
« Reply #3 on: April 01, 2008, 09:33:34 AM »

Ok this I might actually be able to help you with if it is what I think you are needed.

So you are wanting to limit less then 10 active storms? If this is true what way would you like to prioritize what storms you want to be shown?
Logged

Curly
Forecaster
*****
Offline Offline

Posts: 476


WWW
« Reply #4 on: April 01, 2008, 12:09:57 PM »

The list gets too long and is distractive if there are more than 10 storms being tracked.  That's long enough for scrolling tickers too. IMHO
I thought about trend or strength priority but that would tend to make the storms in the chart jump around. No priority would work best.
Logged
Curly
Forecaster
*****
Offline Offline

Posts: 476


WWW
« Reply #5 on: June 29, 2008, 05:15:41 PM »

The Graphical TRACreport has been updated.
Smaller and XHTML 1.0 Strict.
http://weather.ricksturf.com/scripts/GTRsamples.php
Logged
UniKyrn
Member
*
Offline Offline

Posts: 8


WWW
« Reply #6 on: September 08, 2008, 11:34:51 AM »

Thanks for making these available, it's a huge improvement over just dumping the raw text to the page.  I've noticed though that I get the following errors in my web servers error log each time the page is accessed, when no storms are being tracked.

[error] PHP Notice:  Undefined offset:  0 in /htdocs/Weather/NexStorm/tracreport2a.php on line 17
[error] PHP Notice:  Undefined offset:  0 in /htdocs/Weather/NexStorm/tracreport2a.php on line 24
[error] PHP Notice:  Undefined offset:  0 in /htdocs/Weather/NexStorm/tracreport2a.php on line 69
[error] PHP Notice:  Undefined offset:  0 in /htdocs/Weather/NexStorm/tracreport2a.php on line 73

It looks like the bounds of those arrays should be tested after the file is parsed to see if they actually contain anything.
Logged
Curly
Forecaster
*****
Offline Offline

Posts: 476


WWW
« Reply #7 on: September 08, 2008, 11:48:12 AM »

Thanks UniKyrn,
I'll look into it this evening.
Curly
Logged
Pages: [1]   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.104 seconds with 19 queries.
anything