Converts Avidyne R9 log files to Garmin CSV format, for use with websites that expect logs in Garmin format.
AvidyneR9ToGarmin is a Swift Package Manager project with an executable target. It has been developed for macOS 15 using Swift 6.
- Edit the
Sources/libAvidyneR9ToGarmin/Converter/R9ToGarminConverter.swift
file. Change theprivate static let headers
constant; in particular, theaircraft_ident
andsystem_id
fields. Note that many websites use these fields to automatically assign log files to aircraft profiles. - Run
swift build
(orswift build -c release
) to create theavidyne-r9-to-garmin
executable.
USAGE: avidyne-r9-to-garmin <input> <output> [--verbose]
ARGUMENTS:
<input> The directory where Avidyne R9 CSVs are stored.
<output> The directory to contain the generated Garmin CSV files.
OPTIONS:
--verbose Include extra information in the output.
-h, --help Show help information.
The executable will create a Garmin log file for each power-on cycle of the R9 system. Empty log files will automatically be deleted; however, a "long tail" of trivially small log files will still be present. You can, at your discretion, delete these irrelevant smaller log files.
- The R9 system does not log many of the data points present in Garmin logs (e.g., target vertical speed, GPS U/X/W, wind direction and speed, etc.) Some websites can interpolate some of these values, but others will necessarily be un-derivable.