Drought

Drought data in Python: US Drought Monitor county statistics, the Standardized Precipitation Index from rain gauges, drought events, flash droughts, streamflow and the people affected.

Monthly bars of the 3-month precipitation index for Lincoln, Nebraska in 2012, blue above zero in spring and red below the minus-one line from July to October. a drought is a run of months below a lineJFMAMJJASONDSPI -1five months below -1: one drought eventLincoln, Nebraska, 2012: SPI-3 from +0.96 in April to -2.80 in September

Drought is measured two ways in the United States. The US Drought Monitor publishes a weekly map that its authors draw from dozens of indicators, and a county table behind it: 4,218,913 county-weeks from 2000 to 2025, each giving the share of the county in categories D0 to D4. The Standardized Precipitation Index (SPI) is a calculation anyone can run on a station's rainfall, expressing how unusual the last few months have been. They agree in direction and differ in timing, and each answers questions the other cannot.

The guides here read the Drought Monitor tables, compute SPI from GHCN-Daily records, turn an index into drought events, find flash droughts, relate rainfall deficits to river flow and count the people living in drought. Three pages deal with the traps: percentages that add up to more than 100, SPI in climates with rainless months, and map dates that point a week the wrong way.

🧭 Start with the concepts

The ideas the how-to guides below assume you already have.

⚙️ Then do the task

Step-by-step walkthroughs with code you can copy and adapt.

Show every how-to guide in this topic

🔧 When it breaks

The errors this topic produces, with the cause explained rather than just the command.

Related topics

Subjects that keep coming up alongside this one, most overlap first.

Keep browsing

Drought sits in Analysis. Every topic on the site is listed on the topics index.