Data / formats / watch-exports
Watch exports: FIT, GPX, TCX and the case-file CSVs
Sports watches save each activity as a file. Three formats are common.
| format | what it is | read it with |
|---|---|---|
| FIT | Garmin's binary format, used by most brands (COROS, Garmin, Suunto, Wahoo, Polar export). Holds per-second records, laps, a session summary, and device information | fitdecode or fitparse (Python), fit-file-parser (JavaScript), the APOPT Watch app |
| GPX | XML track points: latitude, longitude, elevation, time; heart rate and cadence only through extensions | gpxpy (Python), DOMParser (browser) |
| TCX | Garmin's XML training format: laps, track points, heart rate, cadence, distance | any XML parser |
What the case files contain instead
Raw FIT files carry the GPS track, which would show where an athlete lives and trains. The case files publish the same information as CSV with the coordinates removed:
activities.csv: one row per activity (date, sport, distance, moving and elapsed time, pace, heart rate, cadence, elevation, power, a load number).laps.csv: one row per lap.weekly.csv: Monday-to-Sunday totals, including weeks with no files.records/<activity_id>.csv: one row per second:time,elapsed_s,distance_m,speed_mps,heart_rate_bpm,cadence_spm,altitude_m,power_w, and running-dynamics columns when the watch records them.
Unit traps
- FIT stores running cadence for one foot; steps per minute is twice that (plus the
fractional_cadencefield). - Garmin's account export (
summarizedActivities) uses centimetres for distance and elevation, milliseconds for durations, and tenths of a metre per second for speed.startTimeLocalis the local clock written as if it were UTC. - A COROS Training Hub archive is one FIT file per activity. The session summary stores running cadence for one foot (double it for steps/min), step length and vertical oscillation in millimetres, and
avg_cadenceas pedal rpm or swim strokes depending on the sport. Seeathletes/jh/coros-history/. elapsedtime includes pauses;movingortimertime does not.- Distance from the watch's own field and distance summed from GPS points (haversine) differ, usually by 1–3 %.
Plain text: watch-exports.md