5.18. Wing sectionΒΆ

FlightSectionParser is responsible for parsing Wing section. This section contains a list of defined air flights.

Each line contains an ID of a single air flight. ID consists of regiment code or default squadron prefix, squadron index and flight index.

Section example:

[Wing]
  r0100
  1GvIAP12
  1GvIAP13

Output example:

{
    'flights': [
        "r0100",
        "1GvIAP12",
        "1GvIAP13",
    ],
}

The output of the parser is a dict with flights item. It contains a list of strings, where a each line represents a single flight ID.