theOehrly / Fast-F1

FastF1 is a python package for accessing and analyzing Formula 1 results, schedules, timing data and telemetry
https://docs.fastf1.dev
MIT License
2.55k stars 267 forks source link

[BUG] No status, position or points results for Miami 2022 #174

Closed bruzie closed 2 years ago

bruzie commented 2 years ago

Describe the issue:

Status, position and points data is not being returned in session.results for Miami 2022.

Reproduce the code example:

sess = fastf1.get_session(2022,'miami','r')
sess.load()
sess.results

Error message:

First three lines for brevity:

   DriverNumber BroadcastName Abbreviation         TeamName TeamColor  FirstName    LastName          FullName  Position  GridPosition  Q1  Q2  Q3 Time Status  Points
16           16     C LECLERC          LEC          Ferrari    ed1c24    Charles     Leclerc   Charles Leclerc       0.0           0.0 NaT NaT NaT  NaT            0.0
23           23       A ALBON          ALB         Williams    37bedd  Alexander       Albon   Alexander Albon       0.0           0.0 NaT NaT NaT  NaT            0.0
24           24        G ZHOU          ZHO       Alfa Romeo    b12039     Guanyu        Zhou       Guanyu Zhou       0.0           0.0 NaT NaT NaT  NaT            0.0

First three lines for Imola:

   DriverNumber BroadcastName Abbreviation         TeamName TeamColor  FirstName    LastName          FullName  Position  GridPosition  Q1  Q2  Q3                   Time     Status  Points
1             1  M VERSTAPPEN          VER  Red Bull Racing    1e5bc6        Max  Verstappen    Max Verstappen       1.0           1.0 NaT NaT NaT 0 days 01:32:07.986000   Finished    26.0
11           11       S PEREZ          PER  Red Bull Racing    1e5bc6     Sergio       Perez      Sergio Perez       2.0           3.0 NaT NaT NaT 0 days 01:32:24.513000   Finished    18.0
4             4      L NORRIS          NOR          McLaren    f58020      Lando      Norris      Lando Norris       3.0           5.0 NaT NaT NaT 0 days 01:32:42.820000   Finished    15.0
theOehrly commented 2 years ago

It's working now for me. I guess the data was not yet available on Ergast. Sometimes it takes a bit of time until it is available.

bruzie commented 2 years ago

Can confirm the missing data is there now - Ergast was a bit slower to update this time, I'll just have to be more patient. :)