Broken Data in Activities from Polar

Hi,

I have just imported all my activities from Polar Flow, and some of the activity data were like completely lost after some point, as in the attached images (near the end of the activity). When I delete the broken activity and upload it with .tcx file, one by one, everything looks fine. Is there any way to fix this? Well, I have hundreds of activities to upload.


Can you please try the Polar import again. It won’t duplicate the activities. Did you receive an email after the import?

Ok, I’ll try again. You reminded me that I haven’t got the email. Maybe the import process returned some errors?

Yes unfortunately I am having some issues with logging and the app so I can’t go and look.

Also can you please send me a link to an activity you haven’t fixed by manually uploading. Tx.

I got the logging sorted out and there aren’t any errors. I have also remembered how this works. Polar supplies a bunch of JSON files that Intervals.icu has to convert to fit files to be processed. So it is quite possible that the tcx file you uploaded isn’t the same. There might be a bug in my code to convert the JSON to fit.

I seem to understand what happened. In some activities (I haven’t checked all), Power, heart rate, and cadence recording stops as I pause recording, but somehow the GPS speed and altitude, which were from my Polar V800, keep being recorded until I stop the session, and thus those extra tail of data. As you can see from those images, the distance was 27.58km, but the data recorded was around 28.5km.

In fact I conceived that this might be the problem from Polar, and I have manually uploaded all activities beginning from 2019. It wasn’t that bad doing all the uploading.

If you are still interested in digging into the data, I can open a new account and import again. The problem should persist.

Nah don’t do that. I can actually go find some of the files from Polar. But I am not sure what I could do about it. No easy way to know that some of the data should be discarded.

Shouldn’t there be a field containing the length of recording, or the start/stop time of each segment of recording?

There is and I just fixed this with that field. Tx. Will deploy Fri AM (GMT+2). But don’t go delete your a/c if you have already sorted out your stuff.