Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data fetched from Nike seems incorrect #38

Closed
gricn opened this issue Nov 4, 2020 · 3 comments
Closed

Data fetched from Nike seems incorrect #38

gricn opened this issue Nov 4, 2020 · 3 comments

Comments

@gricn
Copy link

gricn commented Nov 4, 2020

First of all, thanks for your lovely project. It really encourages me to run. But I find the data fetched from Nike seems incorrect.

Data Lost

The data from my Vercel-build website is as below, which presents that I have total run only 14 times and 24.4KM.
蜂蜜浏览器_Snipaste_2020-11-04_15-54-09

When I launch my Nike Running Club, however, it presents that I have total run 34 times and 41.72KM.
蜂蜜浏览器_6fc6a509e54ea9fb701527fd83dd6ad

After checking my data, I find 20 of them are lost. It has nothing to do with running time and distance.

Remained data's problem

As for those remained data, the distance and pace are also different from Nike's. Is the distance recalculated by Mapbox?

@yihong0618
Copy link
Owner

yihong0618 commented Nov 4, 2020

@gricn
Because some of your Runs has no gpxs.
Nike_sync is based on gpx
Maybe you added them manually or something wrong with the workout(I don't know).

Distance or running time maybe a little different, because gpx and nike use different algorithms.
More accurate data for longer distances.

Thanks for your feed back ~

@yihong0618
Copy link
Owner

yihong0618 commented Nov 4, 2020

@gricn

Or you can try

rm scripts/data.db GPX_OUT/* activities/*

then

python3 scripts/nike_sync.py  eeeee

to regenerate the data, to see if the data is corrent.

@gricn
Copy link
Author

gricn commented Nov 7, 2020

I have also tried in WSL2 today, however, the data is still incorrect, just as shown in Vercel.
No matter how, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants