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...)