Menu

#1 Nothing is added to output file

1.0
closed
nobody
None
2014-01-03
2013-12-26
Alex Hun
No

Tried to run file to add power as per instructions: python tcx_vpower.py --kalman --mass 87 --verbose 08-30-2013CranleighEnglandUnitedKingdom.tcx
The output file simply repeats the inputfile entries, no additional field for power is added? I have attached the output file.
Only output during process:
Rider + bike mass: 87.0 kg
Total Time: None
Total Distance: None
Any clues as to where I might be going wrong?

Regards

Alex

1 Attachments

Discussion

  • David Kessler

    David Kessler - 2014-01-01

    Looks like the tcx file has the <Track> under a <Courses> hierarchy instead of the <Activities> hierarchy that TCX VPower is expecting. Shouldn't be too hard to tweak the tool so it supports both. Stay tuned.

     
  • David Kessler

    David Kessler - 2014-01-01
    • status: open --> accepted
     
  • David Kessler

    David Kessler - 2014-01-01

    Tweaked the code to find tracks regardless of parent elements. Appears to fix the problem, but can't say for certain without original input file. Please give this a go and let me know if it corrects the issue. Thanks.

     
  • David Kessler

    David Kessler - 2014-01-01
    • status: accepted --> closed
     
  • Alex Hun

    Alex Hun - 2014-01-03

    That seems to have done the trick!
    Many thanks for your help.

     

Log in to post a comment.