XML and CSV formats are similar in terms of data format.
XML is a multi-sail format (i.e. there is a data section for each sail)
CSV have a single 'merged' sail section. The data for each
point (wind speed,wind angle) is for the sail that
produces the best boat speed for that sailing point.
The first line of the sail data section has a list of wind speeds (in knts)
- Code: Select all
0;2;4;5;6;7;8;9;10;12;14;16;18;20;22;24;25;26;28;30;32;34;36;38;40;42;44;46;48;50;60;70;
The following lines start with wind angle followed by a list of boat speeds (also in knts).
Use "." as decimal separator and ";" to separate values, as shown below
- Code: Select all
35;1.50;3.70;4.50;5.30;5.50;6.40;6.50;6.50;7.20;7.60;7.80;7.90;8.10;8.20;8.40;8.40;8.50;8....
40;2.00;4.60;5.60;6.60;6.80;7.90;8.00;8.10;9.10;9.40;9.60;9.80;10.00;10.20;10.30;10.40;...
45;2.30;5.10;6.20;7.20;7.70;8.40;8.50;8.60;9.50;9.90;10.10;10.40;10.60;10.70;10.90;11.00;...
The number of boat speeds must match the number of wind speeds in the first line.
Normally you have lines spaced 2 degrees in the close hauled section (i.e. wind angle near 40 deg)
and for each 5 degrees in the rest of the wind angles. This is the so called "classic" polars.
CSV files may have an extra parameter in each point indicating the sail number
that produces the best boat speed. The sail number is separated from the boat speed by a ":"
as shown below
- Code: Select all
40;1.9:1;2.85:1;8.56:1;8.56:1;9.51:1;9.8:1;11.42:1;12.18:1;10.85:1;10.18:1;10.18:1;9.32:1..