I'm a kite surfer. What interests us more is Wind, in particular its variations (gusts...)
I had to add Wind_max and wind_mini to the mysql database. I also wanted to integrate the uptodate patches at the same time.
Description of Patch
This patch includes mysqlpatch1 and 2 ( mysql2300.c mysql2300.sql aligned with the database schema) and adds fields Wind_Speed_min and Wind_speed_max.
In order to calculate those two fields, after each time the script reads data is called, it calls wind_reset(ws2300, RESET_MIN) and wind_reset(ws2300, RESET_MAX. This way, you have a complete wind Statement.
Installation of Patch
just copy the files and use mysql2300.c and mysql2300.sql instead of the originals ( make ... and phpmyadmin insert into...)
Change History of Patch
Sorry for my english oops !!!
- 22 Jan 2008
I'm working one a tutorial that will explain all the installation from the ubuntu platform to the php and a tomcat war file. See you soon...
- mysql2300.c: corrected version of 1.10 with min and max wind added and comments
- mysql2300.sql: the commented and uptodate sql with min and max wind
- an example of print:
- i'm not satisfied with it. I'm working on another version, more traditional looking...: