recording and ploting the METAR data
Brought to you by:
iridium
From: Ferhat B. <s0...@st...> - 2003-08-16 21:23:01
|
Hi all, I am currently working on a data managment tool for php-weather. I started my first plotting code. I am using the JPGraph plotting script. My first prototype takes the Kastrup airport station data and puts in a MySQL table with a cron job every 2 hours. For the first test I am getting the $title_list=array( 1 => "Wind Direction (degree)", 2 => "Wind Speed (knot)", 3 => "Visibility (km)", 4 => "Temperature (degree C)", 5 => "Dev Point (degree C)", 6 => "Pressure (pascal)" ); The user may access the plot via www.ventusvigor.com/weather/kastrup.php Any user might include the image in their websites like below <img src=http://www.ventusvigor.com/weather/plot.php?data=1> As you might understand data=X means the data type listed above. Till now my code do NOT include any part of the phpweather. But, when it is ready and you all people thinks that it is good for the phpweather I will try to integrate the code into it. Will you please try it and give me some feedback? I will send the first public release of my own code next month? FERHAT P.S. When I send you this message there was only one raw in the database. But I tested it with more data before so I hope it will work, I have to go to bed now.... :)) P.S.2 : For the people who are interested in winddata I have also coded a website called www.winddata.com for my university . You may give it a try if you like... |