Go Back  Bike Forums > Bike Forums > Road Cycling
Reload this Page >

Made a website to determine how much wind influences Strava Segments

Search
Notices
Road Cycling “It is by riding a bicycle that you learn the contours of a country best, since you have to sweat up the hills and coast down them. Thus you remember them as they actually are, while in a motor car only a high hill impresses you, and you have no such accurate remembrance of country you have driven through as you gain by riding a bicycle.” -- Ernest Hemingway

Made a website to determine how much wind influences Strava Segments

Thread Tools
 
Search this Thread
 
Old 08-12-17, 08:47 AM
  #1  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Made a website to determine how much wind influences Strava Segments

Hey, I made a site a year ago that determines how wind affects segment efforts. I'm currently redoing the site and looking for some feedback, I made it much easier to use and it generates a correlation score, which indicates how much the wind helped you (higher => wind helped you, negative => wind didn't help).

Here's the link: Wind Analysis
MathBunny is offline  
Old 08-12-17, 09:15 AM
  #2  
Senior Member
 
San Pedro's Avatar
 
Join Date: Jan 2015
Location: Kota, Aichi, Japan
Posts: 1,277

Bikes: 2011 Giant Seek R3, 2015 Specialized Allez Elite, 2017 Giant TCR Advanced 2

Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 344 Post(s)
Liked 3 Times in 3 Posts
Couldn't get My API settings from Strava, didn't have that option in my settings page. I'm rather interested as I live in a windy area, and I know that wind is a huge factor in my segments.
San Pedro is offline  
Old 08-12-17, 09:24 AM
  #3  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Wait did you click login or did you click legacy? If you click login it does everything for you, you just need to authorize the app (it's a normal Strava login). Legacy is my old site
MathBunny is offline  
Old 08-12-17, 09:26 AM
  #4  
Senior Member
 
San Pedro's Avatar
 
Join Date: Jan 2015
Location: Kota, Aichi, Japan
Posts: 1,277

Bikes: 2011 Giant Seek R3, 2015 Specialized Allez Elite, 2017 Giant TCR Advanced 2

Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 344 Post(s)
Liked 3 Times in 3 Posts
Originally Posted by MathBunny
Wait did you click login or did you click legacy? If you click login it does everything for you, you just need to authorize the app (it's a normal Strava login). Legacy is my old site
I did legacy, I'll give it a go before I fall asleep. Now, does it let you see other riders performance too?

Edit: just looked and it does... Super cool!
San Pedro is offline  
Old 08-12-17, 09:27 AM
  #5  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Yeah, it shows the top-10 + the nearest athletes to you in the segment leaderboard. If you're in top 10 then it just shows top 10.
MathBunny is offline  
Old 08-12-17, 09:31 AM
  #6  
Junior Member
 
Join Date: May 2016
Location: Arlington, VA
Posts: 121
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 58 Post(s)
Liked 17 Times in 9 Posts
Well I just loaded it and looked at a segment that I know I had a headwind on today. The program told me the wind was coming SSW (correct), but that I was riding NE (Not correct).

Segment number is 6865608
Quiglesnbits is offline  
Old 08-12-17, 09:35 AM
  #7  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by Quiglesnbits
Well I just loaded it and looked at a segment that I know I had a headwind on today. The program told me the wind was coming SSW (correct), but that I was riding NE (Not correct).

Segment number is 6865608
Okay, I'll look into it, thanks!
MathBunny is offline  
Old 08-12-17, 09:38 AM
  #8  
Junior Member
 
Join Date: May 2016
Location: Arlington, VA
Posts: 121
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 58 Post(s)
Liked 17 Times in 9 Posts
Originally Posted by MathBunny
Okay, I'll look into it, thanks!
No problem, as an additional question. Do you have a goal for what the scale of the context number means? like, is 0 to 1 a 2 mph wind, is 2-5 a 10 mph wind? that sort of thing?
Quiglesnbits is offline  
Old 08-12-17, 09:42 AM
  #9  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by Quiglesnbits
No problem, as an additional question. Do you have a goal for what the scale of the context number means? like, is 0 to 1 a 2 mph wind, is 2-5 a 10 mph wind? that sort of thing?
My goal is to make that number related to km/h such that I can eventually sort the leaderboard by factoring in wind. Of course it's terribly inaccurate but I was looking at some empirical experiments and I ran a few regressions and this is what I came up with, but from my observations the numbers doesn't look right sometimes so for now it's just a ballpark!

I'm also looking to add miles per hour in settings to support users outside of the metric world btw.
MathBunny is offline  
Old 08-12-17, 09:49 AM
  #10  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by Quiglesnbits
Well I just loaded it and looked at a segment that I know I had a headwind on today. The program told me the wind was coming SSW (correct), but that I was riding NE (Not correct).

Segment number is 6865608
Fixed the issue!
MathBunny is offline  
Old 08-12-17, 09:53 AM
  #11  
Junior Member
 
Join Date: May 2016
Location: Arlington, VA
Posts: 121
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 58 Post(s)
Liked 17 Times in 9 Posts
Originally Posted by MathBunny
Fixed the issue!
Still saying the wind helped me though.
Quiglesnbits is offline  
Old 08-12-17, 09:55 AM
  #12  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by Quiglesnbits
Still saying the wind helped me though.
Hmm, if the wind is coming from SSW, and the ride's direction is SW, doesn't that mean that it should help you?
MathBunny is offline  
Old 08-12-17, 09:58 AM
  #13  
Junior Member
 
Join Date: May 2016
Location: Arlington, VA
Posts: 121
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 58 Post(s)
Liked 17 Times in 9 Posts
Originally Posted by MathBunny
Hmm, if the wind is coming from SSW, and the ride's direction is SW, doesn't that mean that it should help you?
No, that means the wind is blowing somewhere around 22.5 degrees off my front, towards me. From the SSW means towards me riding TO the SW.
Quiglesnbits is offline  
Old 08-12-17, 10:01 AM
  #14  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by Quiglesnbits
No, that means the wind is blowing somewhere around 22.5 degrees off my front, towards me. From the SSW means towards me riding TO the SW.
I see, got mixed up, okay I'll investigate, thanks!
MathBunny is offline  
Old 08-12-17, 11:55 AM
  #15  
Junior Member
 
Join Date: May 2012
Location: Victoria
Posts: 17
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 16 Post(s)
Likes: 0
Liked 2 Times in 2 Posts
Suggestion

This is a really interesting site you've created. Would it be possible that when I click my name in the Segment Leader board, it would show me my rides on the segment? Currently the Segment Leader Board seems clickable (mouse pointer changes to finger) but when I click nothing happens.
jcro001 is offline  
Old 08-12-17, 12:16 PM
  #16  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by jcro001
This is a really interesting site you've created. Would it be possible that when I click my name in the Segment Leader board, it would show me my rides on the segment? Currently the Segment Leader Board seems clickable (mouse pointer changes to finger) but when I click nothing happens.
Good idea, I'll add that on my TODO list, thanks! Also it does nothing, the mouse changing should be fixed. Thanks again.
MathBunny is offline  
Old 08-12-17, 01:26 PM
  #17  
Non omnino gravis
 
DrIsotope's Avatar
 
Join Date: Feb 2015
Location: SoCal, USA!
Posts: 8,553

Bikes: Nekobasu, Pandicorn, Lakitu

Mentioned: 119 Post(s)
Tagged: 0 Thread(s)
Quoted: 4905 Post(s)
Liked 1,731 Times in 958 Posts
This is pretty cool. I can assuage myself on some of my KOM losses-- I lost one recently, and my effort on the segment had a wind assist of -6.45, and the new KOM has a +4.77. I'm the only person in the top 10 with a negative number.
__________________
DrIsotope is offline  
Old 08-12-17, 01:49 PM
  #18  
Senior Member
Thread Starter
 
Join Date: Aug 2014
Posts: 68
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Update: Over 1000 users joined, I ran out of weather API keys. If you want to use it you have to wait a few hours
MathBunny is offline  
Old 08-12-17, 02:36 PM
  #19  
Member
 
PM City's Avatar
 
Join Date: Jul 2017
Posts: 25
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 11 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Kudos! I think this is awesome. I look forward playing around with it.
PM City is offline  
Old 08-13-17, 03:13 PM
  #20  
NYC
 
nycphotography's Avatar
 
Join Date: Sep 2006
Posts: 3,714
Mentioned: 18 Post(s)
Tagged: 0 Thread(s)
Quoted: 1169 Post(s)
Liked 107 Times in 62 Posts
Clever idea


Instead of an influence rating, why not use kreuzotters bike power math to back out power (with cosine of wind), and then work the power back forward with zero wind to calculate a "wind adjusted speed". And time.
nycphotography is offline  
Old 08-13-17, 03:32 PM
  #21  
laf
Banned.
 
Join Date: Aug 2013
Posts: 120

Bikes: CharlesraP

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 19 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
mywindsock.com
laf is offline  
Old 08-13-17, 05:09 PM
  #22  
Me duelen las nalgas
 
canklecat's Avatar
 
Join Date: Aug 2015
Location: Texas
Posts: 13,512

Bikes: Centurion Ironman, Trek 5900, Univega Via Carisma, Globe Carmel

Mentioned: 199 Post(s)
Tagged: 0 Thread(s)
Quoted: 4560 Post(s)
Liked 2,803 Times in 1,801 Posts
Interesting. Not sure what to make of the data. One of my fastest segments (only 3rd and far from the KOM) was definitely wind assisted. The segment is 1.3 miles long, mostly downhill, heading north by northwest, with a 15 mph wind out of the south/southeast. Yet the data shows an influence of -0.03. I would have expected at least a small positive number from the wind assist.

And the wind is consistently out of the south on that segment, so it's predictable. Most of the other riders on that segment show at least some positive number, acknowledging the wind assist.

OTOH, if the data are accurate, the guy who holds the KOM will be pleased to know he got very little wind assist. But he's a beast anyway.
canklecat is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Spire
General Cycling Discussion
4
10-23-17 12:41 AM
MathBunny
Road Cycling
13
07-18-16 02:08 PM
basqueonacaad
Road Cycling
75
09-12-14 11:29 AM
Steve Sawyer
Fifty Plus (50+)
6
07-15-13 04:17 PM
bobones
Road Cycling
30
11-13-12 09:11 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.