Turbo87/Skylines — comment on commit 898495ff54c8e43426b2ab3fe190ae493cd87f46
File:  line 0
By twpayne:

Be careful with IGC files: IGC files in real life contains *lots* of errors of all sorts, and it's much better to simply ignore invalid records than to abort the file.

IGC parsing is also much easier with regular expressions. See, for example:
https://github.com/twpayne/igc2kmz/blob/master/igc2kmz/igc.py

Regards,
Tom