This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Convert a Strava bulk-export (activities.csv + GPX files) into proper | |
| Activity-type FIT files that COROS will accept. | |
| Unlike GPSBabel (which writes FIT *Course* files - meant for navigation routes, | |
| not workout history), this builds real Activity FIT files with file_id.type = | |
| ACTIVITY, plus session/lap/activity summary messages and a correct sport type | |
| pulled from the CSV. |