Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Niño indices from HadISST

Authors
Affiliations
NSF NCAR
NSF NCAR
NSF NCAR
GDEX Cookbook logo

Overview

HadISST is the Met Office Hadley Centre’s globally complete reconstruction of monthly sea surface temperature (SST) and sea ice, spanning 1870–present on a 1° grid. GDEX hosts it as dataset d277003.

We use it to track the El Niño–Southern Oscillation (ENSO) by computing the standard Niño SST indices — area-averaged anomalies over four regions of the equatorial Pacific (Niño 1+2, 3, 3.4, and 4).

  1. Access HadISST over OSDF

  2. Prepare the SST field (mask land, standardize longitudes)

  3. Compute area-weighted SST anomalies for the four Niño regions

  4. Visualize El Niño and La Niña events across the regions

Prerequisites

ConceptsImportanceNotes
xarrayNecessaryLabeled N-D arrays
OSDF CookbookHelpfulStreaming data over OSDF
Niño regions / ONIHelpfulENSO index background
  • Time to learn: 25 minutes


Imports

Accessing HadISST

HadISST is distributed as a single gzip-compressed NetCDF file. We stream it from GDEX over the OSDF director, decompress it in memory, and open it with xarray.

Loading...

Preparing the SST field

HadISST flags land and missing values with large negative numbers, and uses longitudes from −180° to 180°. We mask the fill values and convert to a 0–360° longitude convention so the Pacific Niño regions form contiguous boxes.

Defining the Niño regions

ENSO is monitored over several boxes spanning the equatorial Pacific. We define the standard four — Niño 1+2, 3, 3.4, and 4 — running from the South American coast westward into the central Pacific.

Computing the Niño indices

For each region we area-average SST, remove the monthly climatology to get anomalies, then apply a 3-month running mean — the recipe behind NOAA’s Oceanic Niño Index (ONI).

Visualizing ENSO

Shading each anomaly red above +0.5 °C and blue below −0.5 °C — the conventional El Niño / La Niña thresholds — turns the series into recognizable ENSO records. The eastern regions (1+2, 3) swing more than the central-Pacific Niño 4.

<Figure size 1200x1000 with 4 Axes>

Spatial patterns of El Niño and La Niña

The indices collapse the Pacific into a single number, but the events have a distinctive spatial signature. Computing the full SST anomaly field and mapping a strong El Niño against a strong La Niña shows the warm and cold “tongues” that stretch along the equator.

<Figure size 1400x400 with 3 Axes>

Summary

We streamed HadISST sea surface temperature from GDEX over OSDF, masked land, and computed the four standard Niño SST anomaly indices with a 3-month running mean. Mapping the SST anomaly for a strong El Niño against a strong La Niña revealed the equatorial warm and cold tongues behind the indices.

What’s next?

Continue to the Radar Data Workflow, which works with another GDEX observational dataset.

Resources and references