Weather on activities and map

Outdoor activities are now updated with weather data from the time of the activity (from Open-Meteo). This is a premium feature (only for supporters). Click the wind info on the activity summary:

The left wind rose shows the wind direction and speed. The right wind rose shows the same data from the perspective of the athlete. The length of the pie slice indicates what percentage of the time the wind was coming from that direction.

If you have zoomed in on the activity timeline chart the weather is displayed for the visible portion of the activity. So you can select an interval or whatever and see how bad the headwind really was.

Weather data is available from about April 2021 onwards. Existing activities without weather data are shown like this:

Just click that icon or re-analyse the activity to add weather data.

If you have linked Strava and this is a Strava activity or is linked to one then you can add weather data to the Strava description (like MyWindsock):

-- Intervals icu --
Wind: E 16 - 23 km/h Gusts 36 - 76
Headwind: 50% 2h11m
Tailwind: 31% 1h20m
Temp: 13.2 to 20.6 °C avg 16.4
Feels like: 10.3 to 18.5 °C avg 13.8
Clouds: 100%

Weather data can also be overlaid on the map. The weather markers display weather at the time of the current marker position on the activity timeline chart.

Use the options drop down to control the number of weather markers etc…

Click the markers to show detailed info:

The following weather related fields are available in the activity list view:

  • Min Temp: Min temperature from device
  • Max Temp: Max temperature from device
  • Avg Forecast Temp: Average forecast temperature
  • Min Forecast Temp: Min forecast temperature
  • Max Forecast Temp: Max forecast temperature
  • Avg Feels Like: Average forecast feels like temp
  • Min Feels Like: Min forecast feels like temp
  • Max Feels Like: Max forecast feels like temp
  • Avg Wind Spd: Average wind speed
  • Avg Wind Gust: Average wind gust
  • Prevailing Wind: Prevailing wind direction
  • Headwind%: Time with headwind %
  • Tailwind%: Time with tailwind %
  • Clouds: Average cloud cover
  • Rain: Max rain on route per hour
  • Snow: Max snow on route per hour

The following interval fields are available (click “Fields” under the timeline chart):

  • Average temp (from device)
  • Average forecast temp
  • Average feels like (from forecast)
  • Average wind speed
  • Average wind gusts
  • Prevailing wind (most popular wind direction from 16 compass point buckets)
  • Headwind % (percent of moving time with a headwind)
  • Tailwind % (percent of moving time with a tailwind)
  • Yaw angle

Several weather related activity traces are available (click “Charts” under the timeline chart):

  • F Temp: Forecast temperature
  • Feels like
  • Wind speed
  • Gusts
  • Wind direction
  • Bearing: Direction the athlete is travelling in
  • A Wind↗: Wind direction from perspective of athlete
  • Yaw angle

The weather features were developed with input from lots of people (thanks all!) on this post:

39 Likes

@david Ou YES, please! :smiley::+1:t2:
:star: Very nice feature for many reasons :star:

2 Likes

Awesome! … A small bug: the graph appears cropped on some devices. The snapshot image is as well then. (Switching to desktop view makes the page unusable.)

PS
A switch in the Accessibility settings solved the problem for me.
→ zoom on all websites

Tx. In theory it should work much better on mobile now. The dialog uses full width and the wind roses will wrap if they have to.

1 Like

I love your work, @david , but the weather map screendump works buggy for me. Can you fix that?:

1 Like

Tx. I replied on the bug report post. It’s cold where you are but no wind!

1 Like

Awesome! Can the field “average temp (from device)” also take the temp from the Stryd device (which now collects both temp and humidity)? Doesn’t seem to be doing that currently.

Amazing! This is very cool. Thank you, @david!

Yes with some custom field hackery. I have just changed things so the weather summary info uses the temp info on the activity instead of re-computing it from the temperature stream. Create a custom activity field with this script:

out: {
    let temp = icu.streams.StrydTemperature
    if (!temp) break out
    let humidity = icu.streams.StrydHumidity
    let tot = 0, n = 0, min = 9999, max = -9999
    for (let i = 0; i < temp.length; i++) {
        let c = temp[i]
        if (typeof c === 'number') {
            // Stryd seems to start with a series of zeros for temp and humidity so ignore temp if humidity is zero
            if (!c && humidity && !humidity[i]) continue
            tot += c
            ++n
            if (c < min) min = c
            if (c > max) max = c
        }
    }
    if (n) { // overwrite the temp data on the activity .. this will be from the device
        activity.min_temp = min
        activity.max_temp = max
        activity.average_temp = tot/n
    }
}

You need to have the Stryd Temperature and Humidity custom streams added. Please call the field “Stryd Temp” and share it with a note about the required custom streams in the description.

1 Like

Done.

1 Like

Nice… tho in where I live, i don’t really care much about the weather during my rides. (It’s always just HOT)

1 Like

Me Likey

@david how can I disable pushing this description to strava? Is there any option? (I couldn’t find it)

Just click “Add to Strava” and change it to “No”:

1 Like

I love this feature more-and-more, @david. Would it be difficult to have the possibility for the map-view to decorate it with other type of (alternative) (numeric) data overlaid beyond temperature and wind speeds ?

Such as speed, or HR, or elevation grade?

It would be great for understanding race performance, for example, like for this quite long (315km) earlier exercise-race of mine:

I could look around and see, whether I was struggling at a given point due to terrain (say due to a 2…3km long sneaky bastard 1…2% percent uphill), or due to headwind, or due to overheating (very common for me).

Or (conversely) whether I was excelling at a given segment not because of my excellent fitness but simply due to some subtle backwind, or a slight-but-long-and-persistent downward slope (say 1…2% for 2…3 km).

This would be soo good…

You can get some of that via the interval stats. It is quite challenging to put stuff on the map without making a huge mess and the weather points are quite widely spaced.

Hi! As I understand it, the right wind rose shows the wind relative to where the rider is going, but assuming the rider stands still. So the riders speed is not taken into account here?

Say I go 30kph South with a 30kph wind from the East, the relative rose will show 30kph left. Not, umh maths, 42kph from left-front?

If not the second, I’ll make that a feature request as third wind rose :wink:

1 Like

It’s always the wind speed only relative to your direction without taking in account your speed. So it is the first one.

1 Like

Well, what I was thinking to make the decoration with numeric data configurable, say, with a list of possible data (including the current one, i.e., wind and temperature data, plus a number of others I mentioned, like GAP-speed, like HR, etc.))

What I say is to limit the number of visible data item decorations on the arrows (say, keep the limit to 4, like the current setup), but make the actual content shown on those 4 positions user-selectable from a list of alternatives…
kép

One data.display per lap (say 5k, or 10 laps) would be nice, but the frequency of the arrows are already configurable, IIRC…