B1212544230606N00159282EA0190202082B1212554230607N00159277EA0190002082B1212564230607N00159270EA0189702081
B_RECORD_RE = re.compile(r'B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])' r'(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5}).*\Z')[...]class BRecord(Record): def parse(cls, line, igc): m = B_RECORD_RE.match(line) [...] result.ele = int(m.group(12))
start="45.448333333333331 5.9219444444444447 2000 800 5000" finish="45.537777777777777 6.0263888888888886 3000 900 5000"