South Africa runs on one clock so what time does the sun rise across the country
For Day 7 of the 30 Day Map Challenge, the theme is A 10 minute map. Most people read it as "a map made in ten minutes". After Day 6's vintage mining map, I took it more literally: a map of ten minutes. Each band on the map is a ten-minute slice of sunrise.
The whole country shares South African Standard Time, UTC+2. But the sun doesn't follow the clock. On the winter solstice it rises at 06:33 in the far north-east of the Kruger Park and at 07:52 on the Cape Peninsula: 79 minutes later on the same clock.
That gap matters to anyone whose day starts with first light, and above all to the energy sector. Every solar farm in the country "wakes up" with its band. So the question for grid operators, solar generators and energy traders is: how does the morning solar ramp travel across the country, and how does it change through the year?
Explore the interactive report
The page shows four maps side by side, one for each season of 2026:
- the autumn equinox (20 March)
- the winter solstice (21 June)
- the spring equinox (23 September)
- the summer solstice (21 December)
Drag the clock slider at the top right to move the sun across all four at once.
- Bands change from night blue to dawn colours as the sun rises over them, warm gold for the first band through to blue for the last. A white edge marks the band the sun has just crossed.
- Solar farms are drawn as panel icons sized by capacity. They're faded grey before sunrise and switch to a blue panel with a small sun once the sun is up.
- FIRST and LAST mark the first and last places in mainland South Africa to see the sun rise that day. City dots, two per province, light up too.
- Click a band to select it and everything inside it. The city matrix then lists only the cities in that band, with their sunrise in all four seasons. Click the band again to clear the selection.
- The season table shows how much of the country, and how many megawatts of solar, are in daylight at the selected time.
- The city matrix turns a cell yellow once the sun is up in that city.
Interactive report: Day 7, The Geography of Dawn
These are calculated sunrise times for a flat horizon. They don't allow for mountains, which delay sunrise in valleys, or for cloud. A solar farm "awake" on the map can start generating; it isn't at full output yet.
Starting with a public-domain outline of South Africa
The country outline comes from Natural Earth's 1:10m Admin 0 Countries layer, which is in the public domain. I took the South Africa geometry from the project's GitHub mirror and kept only the mainland polygon. That drops the Prince Edward Islands and leaves Lesotho as a hole, so Lesotho's own sunrise isn't counted. At national scale, 1:10m is detailed enough for the coastline to look right without making the polygons heavy.
From solar equations to sunrise times
Sunrise times come from the NOAA solar calculation equations, which I wrote in Python with NumPy. For each point, the script works out the sun's declination and the equation of time for the date. It then finds the hour angle at which the centre of the sun sits 90.833° from overhead. That is the standard definition of sunrise, allowing for the sun's radius and average atmospheric refraction.
I ran the calculation three times per point, each time using the sun's position at the previous estimate of sunrise rather than at noon. After the second pass, the answer changes by well under a minute.
I calculated it on a regular grid of 0.01°, about 1 km, covering the whole country: 1,130,541 points inside the outline. Each of the four dates takes a few seconds.
To check the results, I compared the model against published times. It gives Cape Town 07:51 on 21 June 2026, the same as sunrise-sunset.net. Johannesburg comes out at 06:54 and Durban at 06:51.
From a sunrise grid to 10-minute bands
Next, I turned the sunrise times into bands.
- Contouring. The grid of sunrise times was contoured at clock-aligned 10-minute levels (06:30, 06:40, 06:50 and so on) with contourpy, the contouring library behind Matplotlib. That gives filled polygons, or isobands, between each pair of levels.
- Clipping. Points outside the country were masked before contouring, so the bands come out already clipped to the coastline and to Lesotho's border.
- Simplifying. I simplified the band edges with a Douglas–Peucker filter at 0.004° and dropped slivers smaller than about 1 km².
The result is 41 polygons across the four dates, saved as WKT text in a CSV. The largest is 8,632 characters, comfortably small for a Power BI text column.
The bands are clock-aligned, so the count changes
| Date (2026) | First sunrise | Last sunrise | Spread | Bands |
|---|---|---|---|---|
| 20 March (autumn equinox) | 05:52, Kosi Bay | 06:57, Alexander Bay | 66 min | 7 |
| 21 June (winter solstice) | 06:33, Pafuri, Kruger Park | 07:52, Cape Peninsula | 79 min | 9 |
| 23 September (spring equinox) | 05:38, Kosi Bay | 06:44, Alexander Bay | 66 min | 8 |
| 21 December (summer solstice) | 04:49, St Lucia coast | 05:53, Alexander Bay | 64 min | 8 |
The two equinoxes have the same spread but a different number of bands. The bands start on fixed clock times, so a sunrise period that begins at 05:38 cuts across one more 10-minute boundary than one that begins at 05:52.
Same sun, different clock
The equinoxes surprised me. On both dates the sun is over the equator, so the bands have the same shape. Yet every sunrise in September is about 14 minutes earlier on the clock than in March. The reason is the equation of time: because of the Earth's tilt and its slightly oval orbit, the sun runs about 8 minutes behind the average clock in late March and about 8 minutes ahead of it in late September.
Adding the energy story
The solar farms come from Global Energy Monitor's Global Integrated Power Tracker, September 2026 release, under CC BY 4.0. I'd already downloaded it for Day 2's power lines map.
I kept the operating utility-scale solar units: 251 rows, of photovoltaic (PV) and concentrated solar power (CSP). These are grouped into 243 plant locations with 5,384 MW of capacity between them. The same Python function then works out each plant's sunrise on the four dates.
The geography matters. The Northern Cape has 3,041 MW, 56% of the total, and much of the province is among the last places to see the sun.
Four maps in Icon Map Slicer
One table, three layers
Each map reads one table of 1,093 rows: the band polygons, 18 towns (two per province), the first and last sunrise points, and the 243 solar farms for each date. The map draws them with three layers:
- WKT layer for the bands. Their fill, outline and transparency come from measures that compare each band's end time with the slider.
- Circle layer for the towns: grey before sunrise, pale once the sun is up.
- Image layer for the solar panels and the FIRST and LAST markers. Each is an SVG returned by a DAX measure as a data URI. The solar panel changes picture with the clock, and its size comes from the square root of the plant's capacity.
The bands and the icons share one field. A single Map shape measure returns WKT for a band and an SVG for a solar farm or marker, and each layer picks up the rows it understands.
Four seasons from one map
Each map is the same visual with a filter for its season. The season and clock tables aren't linked to the map table. Measures read the season and the clock time, so no filter can ever leave a map without rows. Each map's subtitle comes from a measure as well: "First to last sunrise: 79 min" on the winter map.
Select a band, list its cities
I built the first version with Icon Map Pro, then switched to Icon Map Slicer for one feature: selecting everything inside a shape. With Select Intersecting Items switched on, clicking a band selects the band and every point inside it, and the Slicer filters the page to that selection, just like a Power BI slicer.
A few settings made it work:
- Select mode is left at its default, Fully Contain. Intersect or Contain also picked up the neighbouring bands, because they share an edge.
- The circle and image layers allow selection, so the towns and solar farms inside the band are picked up.
- Unselected items fade to 60%, so the selection is easy to see.
Two things needed fixing in the model and the page:
- The city matrix. The selection is on rows of one season, so at first the other three season columns went blank. The
City sunrisemeasure now takes the names of the selected cities, withTREATAS ( VALUES ( map_items[name] ), map_items[name] ), and looks up all four seasons for them. - The other maps. Each map's bands, towns and solar farms are separate rows, so a selection on the March map would filter the June, September and December maps down to nothing. I switched off the interactions between the four maps, so a selection only filters the tables.
A time slider in hh:mm
Power BI's slider only works on numbers, and minutes after midnight (390, 400, 410…) are hard to read. Following a Fabric community tip, the clock table stores each time as a whole number in hhmm form, so 06:30 is 630. The column has the format string 0#:##, so the slider shows 06:30.
The slider is set to "less than or equal to". The measures take the latest real 10-minute step at or before the slider, so an in-between value such as 05:75 still lands on 05:50.
Design choices
Colour. The bands run from warm gold for the first sunrise to cool blue for the last, like the sky. Bands still waiting for the sun are a flat night blue, so the lit part of the country stands out.
Icons. Solar panels waiting for the sun are drawn at 35% opacity, so the dense clusters in Gauteng and the Free State don't swamp the map. The FIRST and LAST markers sit on a navy disc with a white ring, so they stand out on both the gold and the blue bands.
Labels. Only towns and the two sunrise markers have hover cards, for example "First sunrise 06:33 · Pafuri, Kruger Park". The bands and solar farms use plain tooltips with their times, area or capacity.
What I left out. Before switching to the Slicer, I also tried Icon Map Pro's daylight terminator, which draws the day–night line. The band edges already show where it falls at each step, so I left it off. The title changed too. I started with South Africa Wakes Up, but many people are up long before sunrise, so I changed it to The Geography of Dawn.
What the map reveals
- Winter's dawn runs diagonally. On 21 June, sunrise sweeps from the north-east to the south-west over 79 minutes, from Pafuri at 06:33 to the Cape Peninsula at 07:52. In winter, latitude matters as much as longitude. Musina sees the sun at 06:38, while East London, at a similar longitude, waits until 07:11.
- The equinoxes run east to west. In March and September, the bands run almost due north to south, so dawn simply sweeps from Kosi Bay to Alexander Bay in about 66 minutes.
- Summer turns it round. On 21 December, dawn sweeps from the south-east to the north-west, and the south-east coast comes first. East London (04:56) sees the sun before Johannesburg (05:12) and Musina (05:13).
- The solar ramp travels west. In winter, the first solar farm (in Mpumalanga's Ehlanzeni district) wakes at 06:35. Half of the country's solar capacity is in daylight by 07:18, and the last plant, near Cape Town, at 07:50. That is 75 minutes from first to last, against 51 minutes in summer (04:51 to 05:42).
- Cape Town has the latest winter mornings of any city on the map. On 21 June its sunrise is 07:51, an hour and 13 minutes after Musina.
None of this says how much power a solar farm produces at sunrise. Output builds over the following hours and depends on cloud, panel orientation and tracking. The capacities are nameplate figures from the tracker, some in AC output and some in DC panel rating.
What I learned from Day 7
1. A theme can be read literally. "A 10 minute map" can be a map of ten minutes rather than a map made in ten minutes.
2. Check the clock, not just the sun. The equation of time moves every sunrise by up to a quarter of an hour, which is why the two equinoxes differ by 14 minutes.
3. Contouring a masked grid clips for free. Masking the points outside the country before contouring gave bands already cut to the coast and to Lesotho, with no GIS software.
4. Select inside a shape, then check the knock-on filters. Icon Map Slicer's "select inside a shape" turns a band into a filter, but measures that compare across seasons, and other maps on the page, need to be told how to treat that selection.
5. Format numbers to look like time. An hhmm number with the format 0#:## turns Power BI's numeric slider into a usable time slider.
Final thoughts
A clock is a social agreement; sunrise is geography. Mapping the gap between them shows something you can't see on a single clock face. The same approach works for any data that follows the sun rather than the clock: solar generation, outdoor work, lighting, wildlife activity or retail footfall. Calculate it on a fine grid, cut it into bands people already think in, and let a slider show the change over time.
Sources and attribution
- Country outline: Natural Earth, 1:10m Admin 0 Countries. Public domain. Taken from the
nvkelso/natural-earth-vectorGitHub repository, November 2026. - Sunrise method: NOAA Global Monitoring Laboratory, General Solar Position Calculations. Sunrise definition as used by the US Naval Observatory (Rise, Set, and Twilight Definitions).
- Solar plants: Global Energy Monitor, Global Integrated Power Tracker, September 2026 release. Used under CC BY 4.0. Operating utility-scale solar units in South Africa, with no records flagged with TransitionZero identifiers.
- Check: Cape Town sunrise for June 2026 from sunrise-sunset.net.
Methodology note: Sunrise is calculated with the NOAA solar equations for a zenith of 90.833° (standard refraction, sun's upper limb, flat horizon) on a 0.01° grid, in South African Standard Time (UTC+2). Terrain, sea horizon and weather are not modelled, so local sunrise can differ by several minutes, especially in mountain valleys. Bands are clock-aligned 10-minute isobands clipped to mainland South Africa (Lesotho excluded) and simplified at 0.004°. Solar plant capacities are nameplate values from the tracker, a mix of MWac and MWp. A plant counted as "awake" has passed sunrise; this is not an output estimate.