Package igc handles IGC
files.
- Robust, flexible parser for real IGC files, including common deviations from the IGC specification.
- Support for all IGC record types.
- Support for B record additions.
- Support for K record additions.
- Support for N record additions.
- Support for sub-second resolution timestamps with the
TDSB record addition. - Support for high-resolution coordinates with the
LADandLODB record additions. - Support for UTC midnight rollover.
- Support for CIVL's Open Validation Server.
A simple command line client for CIVL's Open Validation server is included. Install and run it with:
$ go install github.com/twpayne/go-igc/cmd/validate-igc@latest
$ validate-igc filename.igc
filename.igc: Valid
$ echo $?
0The exit code is 0 if the IGC file is valid, 1 if it is invalid, or 2 if
it could not be validated.
MIT