
Loading Weather Data
Weather data is automatically included in lap data and available separately.Weather Data Structure
Weather is recorded approximately once per minute.Time is a timedelta64[ns] column that counts from the session start. Rainfall is a boolean column.
Temperature vs Lap Time
Analyze how track temperature affects lap times.Temperature Evolution
Track how temperature changes during the session.Humidity Impact
Analyze how humidity affects performance.Rain Analysis
Analyze performance in wet conditions. The 2024 Singapore race was dry, so this block prints nothing for it. To see output, run it on a wet race, such as the 2023 Monaco Grand Prix.Tire Compound Performance by Temperature
See how different compounds perform at different temperatures.Wind Impact
Analyze how wind affects lap times.Pressure Analysis
Atmospheric pressure can affect engine performance.Multi-Factor Analysis
Combine multiple weather factors.Weather-Adjusted Performance
Normalize lap times for weather conditions.This section requires the optional machine-learning library. Install it with
pip install scikit-learn.Complete Weather Analysis Function
Summary
Usetif1 to:
- Correlate temperature with lap times
- Identify rain impact on performance
- Analyze humidity and wind effects
- Compare tire compound performance by temperature
- Normalize performance for weather conditions
Related Pages
Race Analysis
Race analysis.
Core API
Weather data API.
Examples
More examples.