get_session_weather
Retrieve detailed weather data recorded during Formula 1 sessions to analyze how temperature, humidity, wind, and rainfall conditions affect race performance and strategy decisions.
Instructions
Get weather data throughout a session.
Retrieves time-series weather information recorded during a session, including temperature, humidity, pressure, wind, and rainfall data. Essential for understanding session conditions and their impact on performance.
Args: year: The season year (2018 onwards) gp: The Grand Prix name (e.g., 'Monza', 'Monaco') or round number session: Session type - 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R'
Returns: SessionWeatherDataResponse: Weather data throughout session in JSON-serializable format
Examples: >>> # Get weather data from 2024 Spa race >>> weather = get_session_weather(2024, "Spa", "R")
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| gp | Yes | ||
| session | Yes | ||
| year | Yes |