# Historical weather on activities in progress

**URL:** <https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622>\
**Category:** Uncategorized\
**Created:** [11 October 2024 11:56 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622 "2024-10-11T11:56:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [11 October 2024 11:56 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/1 "2024-10-11T11:56:29Z")

</div>

I have started working on getting historical weather data onto completed activities. Much trickier and more work than I expected!

 ![Screenshot 2024-10-11 at 13.44.05](https://forum.intervals.icu/uploads/default/original/3X/f/1/f1ecc5b0c6bae31cfc4628567f784fe20c99116d.jpeg)

(I had a hard time keeping my new bike with 50mm wheels on the road!)

Toggle weather on/off using the wind icon on the toolbar. Rain and snow is also displayed if there is any. I am going to have a go at getting animated wind particles going but this is a functional start.

Historical data is available from 2021/2022. Currently this is fetched from [Open-Meteo](https://open-meteo.com) when you open the map and not stored. I am going to be storing it on each activity along with summary information (overall weather, time with headwind/tailwind etc.). Similar for intervals. There will also be wind direction and speed traces (from the point of view of the athlete and the raw weather info). Will also do an activity/interval wind rose.

This weather stuff is going to be a premium feature.

If you want to try this out and give feedback/ideas you need to enable beta features on the /settings page near the bottom:

 ![Screenshot 2024-10-11 at 13.41.14](https://forum.intervals.icu/uploads/default/original/3X/4/2/4234c852bda695c63310704b037bc8573fe68545.png)

---

<div class="post-metadata">

**Author:** ![John\_Peters\_endura.f](https://forum.intervals.icu/user_avatar/forum.intervals.icu/john_peters_endura.f/32/60975_2.png) [@John\_Peters\_endura.f](https://forum.intervals.icu/u/John_Peters_endura.f)\
**Post date:** [11 October 2024 12:33 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/2 "2024-10-11T12:33:30Z")

</div>

Hi David,

This looks really good. Other weather metrics that immediately spring to mind are temperature and pollen count. For pollen count I can give you thresholds for different colours as this might be easier to visualise than the absolute grains per cubic m.

Cheers

John

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [11 October 2024 12:39 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/3 "2024-10-11T12:39:03Z")

</div>

Tx. From what I can see [Open-Meteo](https://open-meteo.com/en/docs/air-quality-api#hourly=pm10,pm2_5,alder_pollen,birch_pollen,grass_pollen,mugwort_pollen,olive_pollen,ragweed_pollen&forecast_days=1) doesn’t have historical data for that. Unless I missed it. Do you know a source for historical pollen / air quality? I might be able to do something for activities received on the day they were performed without historical data.

---

<div class="post-metadata">

**Author:** ![John\_Peters\_endura.f](https://forum.intervals.icu/user_avatar/forum.intervals.icu/john_peters_endura.f/32/60975_2.png) [@John\_Peters\_endura.f](https://forum.intervals.icu/u/John_Peters_endura.f)\
**Post date:** [11 October 2024 12:56 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/4 "2024-10-11T12:56:59Z")

</div>

For historic I use a call something like this  
[https://air-quality-api.open-meteo.com/v1/air-quality?latitude=54.07222&longitude=-2.28159&hourly=alder\_pollen,birch\_pollen,grass\_pollen,mugwort\_pollen,olive\_pollen,ragweed\_pollen&start\_date=2024-03-01&end\_date=2024-03-01](https://air-quality-api.open-meteo.com/v1/air-quality?latitude=54.07222&longitude=-2.28159&hourly=alder_pollen,birch_pollen,grass_pollen,mugwort_pollen,olive_pollen,ragweed_pollen&start_date=2024-03-01&end_date=2024-03-01)

I found it in the air quality api for open-meter [💨 Air Quality API | Open-Meteo.com](https://open-meteo.com/en/docs/air-quality-api).

---

<div class="post-metadata">

**Author:** ![Gerald](https://forum.intervals.icu/user_avatar/forum.intervals.icu/gerald/32/28423_2.png) [@Gerald](https://forum.intervals.icu/u/Gerald)\
**Post date:** [11 October 2024 13:17 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/5 "2024-10-11T13:17:55Z")

</div>

Very nice part of the country, David, and some nice scenery (besides the wind).

---

<div class="post-metadata">

**Author:** ![MedTechCD](https://forum.intervals.icu/user_avatar/forum.intervals.icu/medtechcd/32/40383_2.png) [@MedTechCD](https://forum.intervals.icu/u/MedTechCD)\
**Post date:** [11 October 2024 14:46 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/6 "2024-10-11T14:46:43Z")

</div>

> [@david](#):
>
> I had a hard time keeping my new bike with 50mm wheels on the road!

That’s why I will never again ride anything beyond 35mm wheels. 😨

---

<div class="post-metadata">

**Author:** ![Glen\_Smetherham](https://forum.intervals.icu/user_avatar/forum.intervals.icu/glen_smetherham/32/27811_2.png) [@Glen\_Smetherham](https://forum.intervals.icu/u/Glen_Smetherham)\
**Post date:** [12 October 2024 03:44 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/7 "2024-10-12T03:44:48Z")

</div>

Hi @david , is this something a coach will be able to see with all their athletes?  
Will an athlete need to be a subscriber for the coach to see this info on their activities?  
Another great feature and it would be very helpful for a coach to see the weather data of sessions.  
Thanks  
Glen

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [12 October 2024 08:43 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/8 "2024-10-12T08:43:43Z")

</div>

No the athletes will need to be subscribers. It takes a lot of API calls to Open-Meteo to get weather along a GPS course. Doing that for everyone would require talking to them about an “enterprise plan”. Also I need to give people more reasons to subscribe and this is an obvious premium feature.

---

<div class="post-metadata">

**Author:** ![Glen\_Smetherham](https://forum.intervals.icu/user_avatar/forum.intervals.icu/glen_smetherham/32/27811_2.png) [@Glen\_Smetherham](https://forum.intervals.icu/u/Glen_Smetherham)\
**Post date:** [12 October 2024 08:53 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/9 "2024-10-12T08:53:09Z")

</div>

Cool, thanks.  
So for my coached athletes who are subscribers, if I ask them to enable beta features, I’ll be able to see the weather on the map?  
And for those that aren’t, I’ll tell them to hurry up and subscribe 😂

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [12 October 2024 09:57 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/10 "2024-10-12T09:57:29Z")

</div>

Right now during this initial test you will be able to see their weather data without them having to subscribe or enable beta features. When I implement storing the data and automatically generating it for incoming activities for subscribers then that will change.

---

<div class="post-metadata">

**Author:** ![Glen\_Smetherham](https://forum.intervals.icu/user_avatar/forum.intervals.icu/glen_smetherham/32/27811_2.png) [@Glen\_Smetherham](https://forum.intervals.icu/u/Glen_Smetherham)\
**Post date:** [13 October 2024 00:45 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/11 "2024-10-13T00:45:53Z")

</div>

At the moment I can only see my own weather data, not anyone I’m coaching.

---

<div class="post-metadata">

**Author:** ![nfkb](https://forum.intervals.icu/user_avatar/forum.intervals.icu/nfkb/32/30633_2.png) [@nfkb](https://forum.intervals.icu/u/nfkb)\
**Post date:** [13 October 2024 16:46 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/12 "2024-10-13T16:46:57Z")

</div>

Hello, it works well on my side thanks !

ideas :  
a) Maybe a little slider to adjust the number of arrows on a course ?  
b) Also maybe a gradients of colors for first part of the ride and second part since I often take the same route in and out at some point during my local bike rides

---

<div class="post-metadata">

**Author:** ![GiGoTmd](https://forum.intervals.icu/user_avatar/forum.intervals.icu/gigotmd/32/84741_2.png) [@GiGoTmd](https://forum.intervals.icu/u/GiGoTmd)\
**Post date:** [13 October 2024 16:59 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/13 "2024-10-13T16:59:11Z")

</div>

Another great addition!!

---

<div class="post-metadata">

**Author:** ![Thijs\_van\_Luijk](https://forum.intervals.icu/user_avatar/forum.intervals.icu/thijs_van_luijk/32/29897_2.png) [@Thijs\_van\_Luijk](https://forum.intervals.icu/u/Thijs_van_Luijk)\
**Post date:** [14 October 2024 09:25 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/14 "2024-10-14T09:25:45Z")

</div>

Not for this feature per se, but reading this just made me a supporter.

Should’ve done it long ago. Please keep up the good work!

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [14 October 2024 09:41 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/15 "2024-10-14T09:41:30Z")

</div>

> [@Glen\_Smetherham](#):
>
> At the moment I can only see my own weather data, not anyone I’m coaching.

Sorry I fixed that yesterday.

> [@nfkb](#):
>
> a) Maybe a little slider to adjust the number of arrows on a course ?

I am probably going to replace the arrows with an animated wind field (similar to [windy.com](http://windy.com)) which will help with that problem.

> [@nfkb](#):
>
> b) Also maybe a gradients of colors for first part of the ride and second part since I often take the same route in and out at some point during my local bike rides

Yes need to try figure out how to handle that. Another option would be to tie it to the marker position. So if you move the marker towards the end of your ride you see the weather on the way back.

> [@Thijs\_van\_Luijk](#):
>
> Should’ve done it long ago. Please keep up the good work!

Thanks!

---

<div class="post-metadata">

**Author:** ![Glen\_Smetherham](https://forum.intervals.icu/user_avatar/forum.intervals.icu/glen_smetherham/32/27811_2.png) [@Glen\_Smetherham](https://forum.intervals.icu/u/Glen_Smetherham)\
**Post date:** [14 October 2024 10:45 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/16 "2024-10-14T10:45:34Z")

</div>

Changing with the marker moving would be great. Especially when looking at ultramarathons that last days.  
Will it show temperature as well?

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [14 October 2024 17:41 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/17 "2024-10-14T17:41:10Z")

</div>

I do have temperature data but wasn’t planning on displaying it because I thought watches and cycle computers generally recorded temp.

---

<div class="post-metadata">

**Author:** ![John\_Peters\_endura.f](https://forum.intervals.icu/user_avatar/forum.intervals.icu/john_peters_endura.f/32/60975_2.png) [@John\_Peters\_endura.f](https://forum.intervals.icu/u/John_Peters_endura.f)\
**Post date:** [15 October 2024 10:56 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/18 "2024-10-15T10:56:47Z")

</div>

Personally I’d like to see it as the temp I get from my running watch (FR255) is contaminated by the fact it’s next to my skin. I wish it was 24 degrees C yesterday!!

From experience temp from a bike computer or stryd footpod is fine. But watches are always wrong.

---

<div class="post-metadata">

**Author:** ![Derk\_von\_Moock](https://forum.intervals.icu/user_avatar/forum.intervals.icu/derk_von_moock/32/32083_2.png) [@Derk\_von\_Moock](https://forum.intervals.icu/u/Derk_von_Moock)\
**Post date:** [16 October 2024 05:58 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/19 "2024-10-16T05:58:57Z")

</div>

Great fefature!!! Is it possible to have a marker for rain?  
Derk

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [16 October 2024 15:29 UTC](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622/20 "2024-10-16T15:29:41Z")

</div>

There is a marker for rain and snow. I did notice that the forecast seems a little light on rain, at least where I live (Cape Town, South Africa).

[Next page](https://forum.intervals.icu/t/historical-weather-on-activities-in-progress/76622.md?page=2)
