Blog Article
Lake Urmia from space: how much water was left each summer?
Lake Urmia, in north-west Iran, was once the largest lake in the country. Today many people know it from photos of a white salt bed. I wanted to see the whole story year by year, with numbers that anyone can check. So I measured the lake from free satellite images: one clear image from each late summer, from 1984 to 2026.
Move the slider to pick a year. The map shows the lake in that year, and the number says how much of it was water.

2026 2,475 km² of water
Drag the slider or tap the chart to see another year.
Dry land Lake waterWater area in each late summer (km²)
All years as a table
| Year | Water area (km²) | Image date |
|---|---|---|
| 1984 | 4,919 | 1984-09-03 |
| 1986 | 4,975 | 1986-09-09 |
| 1987 | 4,878 | 1987-10-14 |
| 1988 | 5,369 | 1988-09-14 |
| 1989 | 5,169 | 1989-08-24 |
| 1990 | 4,965 | 1990-10-06 |
| 1991 | 4,847 | 1991-09-07 |
| 1992 | 5,041 | 1992-10-11 |
| 1993 | 5,438 | 1993-10-14 |
| 1994 | 5,764 | 1994-09-15 |
| 1995 | 5,923 | 1995-09-02 |
| 1996 | 5,729 | 1996-10-06 |
| 1997 | 5,535 | 1997-10-09 |
| 1998 | 5,415 | 1998-10-12 |
| 1999 | 5,028 | 1999-09-29 |
| 2000 | 4,670 | 2000-09-15 |
| 2001 | 4,055 | 2001-10-04 |
| 2002 | 4,398 | 2002-08-04 |
| 2005 | 4,265 | 2005-09-13 |
| 2006 | 4,109 | 2006-09-16 |
| 2007 | 4,103 | 2007-09-19 |
| 2008 | 3,667 | 2008-09-05 |
| 2009 | 3,246 | 2009-08-23 |
| 2010 | 3,208 | 2010-08-10 |
| 2011 | 2,728 | 2011-09-14 |
| 2013 | 2,060 | 2013-09-03 |
| 2014 | 853 | 2014-09-22 |
| 2015 | 968 | 2015-10-11 |
| 2016 | 2,131 | 2016-10-13 |
| 2017 | 1,794 | 2017-09-14 |
| 2018 | 1,964 | 2018-09-01 |
| 2019 | 3,218 | 2019-10-06 |
| 2020 | 3,240 | 2020-09-06 |
| 2021 | 2,329 | 2021-10-11 |
| 2022 | 1,569 | 2022-09-04 |
| 2023 | 539 | 2023-09-23 |
| 2024 | 1,838 | 2024-09-25 |
| 2025 | 319 | 2025-10-14 |
| 2026 | 2,475 | 2026-09-15 |
No usable image for: 1985, 2003, 2004, 2012
What the images show
- The big lake. In 1995, the lake had 5,923 km² of water.
- The long loss. For the next 19 years, the water went down almost every year. In 2014, only 853 km² was left.
- The 2019 floods. A very wet spring brought water back: 3,240 km² in 2020.
- Almost empty. Then dry years came again. In 2025, only 319 km² of water was left, 95% less than in 1995.
- Water again. After a wet year, the lake had 2,475 km² of water in 2026.
Why the number jumps so much
These numbers are areas, not amounts of water. Lake Urmia is shallow, and its bed is almost flat. So when the water rises a little, it spreads over a very large area. When the water falls a little, a very large area becomes dry land. This is how the area grew by 2,156 km² in a single year (up to 2026), and fell by 1,519 km² in another (up to 2025).
Where the lake lost its water
The chart shows the whole lake. This map looks at every spot on its own. For each square of about 90 × 110 metres, I wrote down one thing per year: water, or not water. Then the Mann–Kendall test compares every pair of years and asks: was the later year wetter or drier? If “drier” wins by much more than chance would give, the spot became steadily drier, and it is red. If “wetter” wins, it is blue.

Almost the whole old lake bed is red. The edges are the darkest red, because they dried first and stayed dry the longest. The grey parts in the middle of the lake had water in most years, so they show no steady change.
How I made it
For developers, here are the steps. Everything I used is free.
- The images. The Landsat satellites have photographed the Earth since 1972, and their images are free. Each of them passes over the same place every 16 days. I used Landsat 4, 5, 8 and 9. For each year I took the clearest image from August to mid-October.
- No big downloads. Microsoft’s Planetary Computer finds the images through its STAC API (a standard way to search satellite images). It also cuts out the lake on its own server and computes a water index called NDWI: (green − near-infrared) ÷ (green + near-infrared). Water reflects some green light but almost no near-infrared light, so water gets a value above zero and dry land a value below zero. Each image was a 3 MB download instead of more than 100 MB.
- Joining images. The lake lies where two satellite tracks meet, so one image never shows all of it. For each year I joined two or three images. If part of the lake was still missing, I left that year out, because a wrong number is worse than no number.
- Measuring. The water area is the number of lake pixels with NDWI above zero, times the area of each pixel. Water that never touches the lake, such as rivers, ponds and small lakes nearby, is not counted.
- The trend and the maps. RustGIS is a new, free GIS written in Rust. With its Python package, I turned each year into a water / not-water map, ran the Mann–Kendall test on every pixel, and drew all the maps.
The analysis is about 200 lines of Python. It has tests for the parts that can be wrong without anyone noticing: the area of a pixel and the joining of images. RustGIS is still young: its mosaic tool let empty pixels hide real ones, so I joined the images with numpy instead.
One lesson was worth the whole project. My first trend map used the raw water index, and it showed the whole countryside getting drier. That was not real. The older satellites (Landsat 4 and 5) and the newer ones (Landsat 8 and 9) have different cameras, and their raw values sit at slightly different levels. The test saw the change of camera, not a change of water. Both cameras agree on which pixels are water, so the test now runs on “water or not”.
Limits
- There is one image per year. The water level changes during the summer, so the date of the image matters a little.
- “Water means NDWI above zero” is a simple rule. Very shallow or very salty water can fall on either side of it.
- The older images (Landsat 4 and 5) come from a different camera than the newer ones (Landsat 8 and 9). The rule works for both, but their numbers can differ a little.
- Some years have no usable image. The chart and the table leave them out.
- The map uses the classic Mann–Kendall test. A stricter version, which allows for wet or dry years that come in runs, finds a steady change in fewer places.
- Area says nothing about depth. A large, shallow lake can hold less water than a smaller, deeper one.
Credits
Landsat images courtesy of the U.S. Geological Survey. Search and processing by Microsoft Planetary Computer. Maps and trend made with RustGIS (open source, Apache 2.0).
If you know the lake, do these numbers match what you saw? I would like to read your story in the comments.