Weather info is from upload time, not activity time #15
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: McPringle/fitpub#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TODO: Find a weather data provider that provides "historic" data at the right conditions (free?)
We fit the free tier of Open-Meteo.com: https://open-meteo.com/en/pricing
Weather requests should be queued with a rate limit, so we make sure to never violate the limits of the free tier. This way we could even retroactively fetch the weather / add weather data to batch imports
I evaluated open meteo locally, and the times seem to work. Will push the changes on a new branch for review. Not included yet: Rate Limiting. We could omit that for now, as batch updates don't trigger weather lookups anyway