Incorrect Distance for Joined Workouts

Issue #261 resolved
Former user created an issue

Summary: Joining workouts using the "Glue" function sometimes results in incorrect (very high) distance value ,that does not match the sum of the distances of the joined workouts.

Steps to reproduce: (1) From Glue Workouts page, choose multiple workouts from the same day (using on-the-water data from NK Speedcoach CSV files); (2) Glue the workouts to create Joined Workout (3) Note that the Joined Workout has incorrect Distance

What is the current bug behavior? See above description: the "Distance" value is much higher than the actual distance rowed.

What is the expected correct behavior? The "Distance" value should equal the sum of the Distance values for the workouts that have been "glued".

Relevant logs and/or screenshots Here is the latest example: 3 workouts that were recorded by Speedcoach today: https://rowsandall.com/rowers/workout/19802/ https://rowsandall.com/rowers/workout/19803/ https://rowsandall.com/rowers/workout/19804/

These three above show respectively 3872m + 3650m + 1815m = 9336m

But, Joined workout: https://rowsandall.com/rowers/workout/19806/ shows 32,448m distance

Possible fixes Sorry, I am no help here.

Let me know how I can help!

Greg

Comments (4)

  1. Sander Roosendaal repo owner

    There is overlap in data between file 1 and 2 - third column is distance. The lower values are from the second (in time) workout, the higher values from the first.

    Capture.JPG

  2. Sander Roosendaal repo owner

    This may come from the time computation from the NK SpeedCoach CSV file. The ideal solution would be an absolute time stamp in the NK SpeedCoach CSV file.

  3. Sander Roosendaal repo owner

    Workaround implemented on dev. Will be part of next release. Sent email to NK to fix at their end.

  4. Log in to comment