br-g / openf1

OpenF1 API - Real-time and historical Formula 1 data
MIT License
322 stars 15 forks source link

Minisectors for sector 3 have a lap delay #78

Open thefeli73 opened 2 months ago

thefeli73 commented 2 months ago

Minisectors for sector 3 for any lap in any session are always showing the minisectors for the next lap, meaning lap10 has the minisectors in sector 3 of lap 11’s sector 3. The latest lap therefore always has empty sector 3 minisectors. example I just pulled:

[{"meeting_key":1238,"session_key":9532,"driver_number":63,"i1_speed":179,"i2_speed":237,"st_speed":240,"date_start":"2024-06-21T11:47:47.833000+00:00","lap_duration":100.057,"is_pit_out_lap":false,"duration_sector_1":28.927,"duration_sector_2":40.11,"duration_sector_3":31.02,"segments_sector_1":[null,2048,2048,2048,2048,2048,2048],"segments_sector_2":[2048,2048,2048,2048,2048,2048,2048,2048],"segments_sector_3":[],"lap_number":11}]

IMG_4853

a more visual example is a web app I’m building, but I have confirmed the issue is not my code: