Request a demo

Public dataset · Geography, weather and climate

NOAA Global Surface Summary of the Day (GSOD) in BigQuery

Daily weather summaries (mean, max and min temperature, dew point, wind, visibility, precipitation, snow depth) from thousands of stations worldwide, 1929 to 2025, in one table per year. The 98 tables hold 31 GiB, so filter years with _TABLE_SUFFIX instead of scanning everything.

bigquery-public-data.noaa_gsod · NOAA, with data from the USAF Climatology Center · US · Sizes measured November 23, 2026

98tables
2.4 GiBin the tables below
13,648,939rows
$0.01to scan every column once, on-demand

GSOD is the Global Surface Summary of the Day: one row per station per day with 18 surface weather elements derived from synoptic and hourly observations. NOAA created the dataset from global data obtained from the USAF Climatology Center, and the dataset description says it covers 1929 to the present from over 9,000 stations.

The feed is discontinued. The dataset description says GSOD no longer receives updates, with a last update on October 28, 2025, so gsod2025 is a partial year (2,528,312 rows against roughly 4 million in a full recent year).

Each year is its own table, gsod1929 to gsod2025, with the same 32 or 33 columns. Units are US customary: temperatures in Fahrenheit to tenths, precipitation in inches, wind in knots. Missing values are sentinels, not NULL: 9999.9 for temperatures and dew point, 99.99 for precipitation, 999.9 for wind speed, visibility and snow depth. The column descriptions add that many stations do not report 0 on dry days, so 99.99 often means no precipitation was reported rather than a failed sensor. The stations table maps usaf and wban to a station name, country, state and coordinates; join on both columns (stn = usaf AND wban = wban).

Tables and sizes

The dataset has 98 tables; the main ones are listed.

TableRowsSizeFull scanLayout
gsod20204,119,205765 MiBunder $0.01None
gsod20243,931,419730 MiBunder $0.01None
gsod20252,528,312469 MiBunder $0.01None
gsod20002,546,978453 MiBunder $0.01None
gsod1950491,35488.2 MiBunder $0.01None
stations
Station list: USAF and WBAN ids, name, country, state, latitude, longitude, elevation, begin and end dates.
29,5902.3 MiBunder $0.01None
gsod19292,081375 KiBunder $0.01None

Full scan = every column of the table at the on-demand list price of $6.25 per TiB, before your free TiB each month. Selecting fewer columns costs proportionally less. See BigQuery pricing.

Example queries

Monthly temperature for one station in 2024

Scans 132 MiB · under $0.01 on-demand

Averages and maxima per month for London Heathrow. Reading one year table plus stations costs about 132 MiB.

SELECT
  g.mo AS month,
  ROUND(AVG(g.temp), 1) AS avg_temp_f,
  ROUND(MAX(g.max), 1) AS max_temp_f,
  COUNT(*) AS days
FROM `bigquery-public-data.noaa_gsod.gsod2024` AS g
JOIN `bigquery-public-data.noaa_gsod.stations` AS s
  ON g.stn = s.usaf AND g.wban = s.wban
WHERE s.name LIKE '%HEATHROW%'
  AND g.temp != 9999.9
  AND g.max != 9999.9
GROUP BY month
ORDER BY month;

Hottest day per year, all years (expensive)

Scans 3.6 GiB · $0.02 on-demand

The wildcard gsod* without a _TABLE_SUFFIX filter reads all 97 year tables: 3.63 GiB for three columns.

SELECT
  year,
  ROUND(MAX(max), 1) AS hottest_day_f
FROM `bigquery-public-data.noaa_gsod.gsod*`
WHERE stn IN (SELECT usaf FROM `bigquery-public-data.noaa_gsod.stations` WHERE name LIKE '%HEATHROW%')
  AND max != 9999.9
GROUP BY year
ORDER BY year;

Hottest day per year, last ten full years (cheap)

Scans 862 MiB · under $0.01 on-demand

Same question limited to 2015 to 2024 with _TABLE_SUFFIX. BigQuery only opens the matching tables, so the scan drops to 862 MiB.

SELECT
  year,
  ROUND(MAX(max), 1) AS hottest_day_f
FROM `bigquery-public-data.noaa_gsod.gsod*`
WHERE _TABLE_SUFFIX BETWEEN '2015' AND '2024'
  AND stn IN (SELECT usaf FROM `bigquery-public-data.noaa_gsod.stations` WHERE name LIKE '%HEATHROW%')
  AND max != 9999.9
GROUP BY year
ORDER BY year;

Rainiest stations in 2024

Scans 87.2 MiB · under $0.01 on-demand

Total precipitation per station, skipping the 99.99 missing marker and stations with fewer than 300 reported days.

SELECT
  s.name,
  s.country,
  ROUND(SUM(g.prcp), 1) AS total_prcp_inches,
  COUNT(*) AS days_reported
FROM `bigquery-public-data.noaa_gsod.gsod2024` AS g
JOIN `bigquery-public-data.noaa_gsod.stations` AS s
  ON g.stn = s.usaf AND g.wban = s.wban
WHERE g.prcp != 99.99
GROUP BY s.name, s.country
HAVING days_reported >= 300
ORDER BY total_prcp_inches DESC
LIMIT 10;

Stations per country

Scans 112 KiB · under $0.01 on-demand

The stations table is 2.3 MiB, so this is billed at the 10 MB minimum.

SELECT
  country,
  COUNT(*) AS stations
FROM `bigquery-public-data.noaa_gsod.stations`
GROUP BY country
ORDER BY stations DESC
LIMIT 10;

Querying it cheaply

  • Always filter the wildcard with _TABLE_SUFFIX (for example BETWEEN '2015' AND '2024'). Unfiltered, gsod* reads every year from 1929.
  • A full recent year table is about 0.7 GiB (gsod2024: 764,991,602 bytes). Querying one year table directly is the cheapest way to explore.
  • No table is partitioned or clustered, so WHERE date BETWEEN ... inside a year table does not reduce bytes. Select only the columns you need: each column you add is read for every row of every year in range.
  • SELECT * over all years scans 31 GiB (33,336,909,684 bytes in a dry run).

FAQ

How much does it cost to query NOAA GSOD in BigQuery?

A query on one recent year table scans at most about 0.7 GiB, and the dry runs above range from the 10 MB minimum to 3.63 GiB. A SELECT * over all years is 31 GiB. All of these fit easily in the 1 TiB of free on-demand queries per month.

Is the NOAA GSOD dataset free?

Google pays for storing public datasets, so you never pay storage for them. You pay only for the bytes your queries scan, billed to your own project at the on-demand rate, and the first 1 TiB scanned each month is free. See BigQuery pricing.

Is GSOD still updated?

No. The dataset description says the GSOD feed was discontinued and last updated on October 28, 2025. For daily station data that is still updated, use GHCN-Daily.

Why do I see temperatures of 9999.9?

GSOD marks missing values with sentinels instead of NULL: 9999.9 for temperatures, 99.99 for precipitation and 999.9 for wind speeds. Filter them out before you aggregate, or averages will be wildly wrong.

All public datasets · BigQuery cost queries · Pricing calculator

Cut BigQuery spend without guessing

Masthead attributes compute and storage cost to every project, user, pipeline and table, finds unused and dead-end tables, and shows where editions or on-demand pricing is cheaper. Mnemonic cut its BigQuery compute cost by 20% within 24 hours of onboarding.