XCSoar polar file format

This page was last updated on 01 December, 2009.

Format

XCSoar uses the Winpilot polar file format, which seems to be almost entirely undocumented: there appears to be no published specification for it, just examples. Even the Winpilot site assumes you'll use the file from their collection that best matches your glider and will not attempt to edit it. By testing XCSoar it has been determined that:

XCSoar quirks

Examples

  1. A file in the format preferred by Winpilot. All whitespace is tabs.
    
    *H-201 Std Libelle      WinPilot POLAR file: MassDryGross[kg],  MaxWaterBallast[liters], Speed1[km/h], Sink1[m/s], Speed2, Sink2,   Speed3, Sink3
    304,    0,      97,     -0.79,  152.43, -1.91,  190.54, -3.3
    
    
  2. A prettier layout. Comments have been split over multiple lines but the data values are on the mandatory single line with a tab after each comma.
    
    * H-201 Std Libelle
    * =================
    * WinPilot POLAR file:
    * MassDryGross[kg], MaxWaterBallast[liters], Speed1[km/h], Sink1[m/s], Speed2, Sink2, Speed3, Sink3
    304,    0,  97, -0.79,  152.43, -1.91,  190.54, -3.3
    *
    * End of file
    *