stack
is required. On MacOS it can be installed via brew install stack
.
Assuming there is an affected Garmin activity that you want to remove HR data from.
-
Export TCX file from the affected activity.
-
Delete the activity.
-
Execute the script.
./remove-hr.hs ./activity_16430490680.tcx > ./activity_16430490680_nohr.tcx
- Upload the fixed TCX file.