There are eight "buckets" (0-7) with ranges
displayed on the legend (m/s):
0-1, 1-2, 2-3, 3-5, 5-6, 6-10, 10-13.5, 13-99
The first element (0) specify the percentage of 0-1 reading the sum of these reading,
this will be placed in the center of the windrose plot.
The second element (1) specifies the percentage of 1-2 readings,
the third element (2) the percentage of 2-3 readings and so on.
First create a new windrose graph:
$graph = new WindroseGraph(600,600);
Get data from database and create the windrose plot: $wp = new WindrosePlot($data);
Copy FMI and Windrose graphs to server:
Recurse through a local FMI directory and upload the entire contents to a remote FTP server.
Copy the entire "FI101398-all/" directory located at ~/fmidata/ to a
remote server's /public_html/fmidata/FI101398-all/ via FTP.
The system (22.11.2018):
Operating system: Linux
Machine: x86_64 (Ubuntu 16.04.4 LTS Server)
Server version: Apache/2.4.18
Data collection: Perl v5.22.1
Graph: RRDtool 1.5.5
The windrose graphic: jpgraph-3.1.x