> ## Documentation Index
> Fetch the complete documentation index at: https://offthepace.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Weather

> Bronze-layer dimension.

Bronze-layer dimension. One row per sample   typically one per minute during the session. \~150–300 rows per race day.

## Overview

| Property          | Value                                                    |
| ----------------- | -------------------------------------------------------- |
| File pattern      | `bronze/weather/season=YYYY/race=<slug>/weather.parquet` |
| Example row count | 2024 Bahrain race day: \~300 samples                     |

<Note>
  rainfall\_flag is boolean (true = precipitation detected). wind\_direction is int16 (0–360). wind\_speed\_ms is in metres per second.
</Note>

<Warning>
  **Columns that look real but aren't.** A search for one of
  these on this dataset will come up empty:

  * `rainfall_mm` Rain is a boolean flag (`rainfall_flag`) only; there's no cumulative millimetre channel.
  * `wind_direction_deg` The real column is `wind_direction` (degrees, plain integer).
  * `wind_speed_kmh` The real column is `wind_speed_ms` (metres per second, not km/h).
  * `session` Race weather has no session column at all; only qualifying weather gets `session_type="Q"`.
</Warning>

## Columns

<ResponseField name="ambient_temp_c" type="float32">
  Ambient (air) temperature in Celsius. *Source: FastF1 native.*
</ResponseField>

<ResponseField name="track_temp_c" type="float32">
  Track surface temperature in Celsius. Typically 10–20°C higher than ambient on sunny days. *Source: FastF1 native.*
</ResponseField>

<ResponseField name="humidity_pct" type="float32">
  Relative humidity, 0–100%. *Source: FastF1 native.*
</ResponseField>

<ResponseField name="rainfall_flag" type="bool">
  True if precipitation is detected during this sample period. *Source: FastF1 native.*
</ResponseField>

<ResponseField name="wind_direction" type="int16">
  Wind direction in degrees (0–360°). Null if calm. *Source: FastF1 native.*
</ResponseField>

<ResponseField name="wind_speed_ms" type="float32">
  Wind speed in metres per second. *Source: FastF1 native.*
</ResponseField>

<ResponseField name="pressure_hpa" type="float32">
  Atmospheric pressure in hectopascals. *Source: FastF1 native.*
</ResponseField>

<ResponseField name="session_time_s" type="float64">
  Session elapsed time in seconds when this sample was recorded. *Source: Ingestion pipeline.*
</ResponseField>

<ResponseField name="session_type" type="string">
  Only present on qualifying weather files, where it's always `"Q"`. Absent entirely from race weather; there is no `session` column on race files. *Source: Ingestion pipeline.*
</ResponseField>

<ResponseField name="race_id" type="string" required>
  Links to `laps.race_id`. Format: `YYYY_RoundNumber`. *Source: Ingestion pipeline.*
</ResponseField>

<ResponseField name="season" type="integer" required>
  Hive partition key. *Source: Ingestion pipeline.*
</ResponseField>

## Required Columns

These columns are always present (non-null, always ingested): `race_id`, `season`.
