How sunlight becomes a satellite image
A satellite image looks like a photograph of the ground. It is a count of light that left the sun about eight and a half minutes earlier, crossed the air twice, and touched the ground once in between. A good share of it never touched the ground at all.
I wanted to see how large that share is, band by band, without trusting a textbook diagram. So I took one real image, the Sentinel-2 scene of Pasco, Washington that I used for two earlier posts, and read it twice. ESA publishes every acquisition at two levels. Level-1C is what the instrument measured from orbit. Level-2A is ESA’s estimate of the ground underneath, with the air taken out. Putting the two side by side for the same pixels shows what the air did in each of the thirteen bands that day.
This is a still. The moving scene runs on a wider screen with motion allowed. The numbers below work either way.
What leaves the sun
The sun is not equally bright in every colour. The file that comes with the image lists how much sunlight arrives above the atmosphere in each band: 1,960 watts per square metre per micrometre in blue, 1,042 in the near infrared, and 85 in the longest shortwave band. That is a factor of 23 before anything on Earth has been involved. On 8 July the Earth was also close to its farthest from the sun, 1.017 times the average distance, which the same file records because it dims everything by about 3%.
Over Pasco the sun stood 27° from overhead, to the south-east. A square metre of ground tilted that far from the beam catches 89% of what a square metre facing it would.
Down through the air
Two things happen on the way down. Air molecules scatter light out of the beam, and they do it far more to short wavelengths: the strength goes as one over the wavelength to the fourth power, so blue at 443 nm is scattered about 600 times more than shortwave infrared at 2,202 nm. Haze and dust scatter too, less selectively. Scattered light is not gone. It goes somewhere else, and that matters in a moment.
The other thing is absorption. Water vapour, oxygen, ozone and carbon dioxide each remove specific wavelengths, and at those wavelengths the light is simply gone. The strip under the scene shows it: the upper line is sunlight above the air, the filled area is the direct beam left at the ground, and the deep notches are mostly water vapour. Almost every Sentinel-2 band sits between the notches. In that reference atmosphere, 69% of the blue beam reaches the ground directly and 93% of the 2,202 nm beam does.
The ground gets one chance
The ground reflects some fraction of what arrives and absorbs the rest. That fraction, the reflectance, is the only part of the whole journey that says anything about what is down there. The irrigated crops in this scene reflect 4% of red light and 41% of near infrared, which is the signature every vegetation index is built on. The Columbia River reflects 0.6% in green and close to nothing beyond red.
Back up, with company
Reflected light crosses the air again and loses more. Meanwhile, some of the sunlight that was scattered on the way down was scattered upward, straight into the telescope. It carries no information about the ground and it lands on the same detector.
So what the sensor reads has two parts: a share of the ground’s reflectance that
survived both crossings, plus a constant that the air adds by itself. I fitted exactly
that, a straight line per band, across about 35,000 cloud-free 60 m cells of the
scene: measured value equals a plus b times ground value.
| Band | Centre | Air adds | Survives both ways | Fit R² |
|---|---|---|---|---|
| B1 coastal aerosol | 443 nm | 11.0% | 56% | 0.982 |
| B2 blue | 493 nm | 8.1% | 62% | 0.989 |
| B3 green | 560 nm | 5.3% | 66% | 0.994 |
| B4 red | 665 nm | 3.5% | 76% | 0.996 |
| B5 red edge | 704 nm | 3.2% | 75% | 0.995 |
| B6 red edge | 741 nm | 3.7% | 79% | 0.995 |
| B7 red edge | 783 nm | 3.6% | 84% | 0.996 |
| B8 near infrared | 833 nm | 3.0% | 80% | 0.997 |
| B8A narrow near infrared | 865 nm | 3.0% | 88% | 0.997 |
| B9 water vapour | 945 nm | 1.8% | 27% | 0.956 |
| B11 shortwave infrared | 1,614 nm | 0.6% | 90% | 0.999 |
| B12 shortwave infrared | 2,202 nm | 0.2% | 85% | 0.999 |
Read the blue row. With a perfectly black ground the sensor would still have reported 8.1%, and only 62% of whatever the ground reflected got back out. The crops reflect 2.6% in blue, so the ground’s part of the reading is 1.6 points out of 9.6. In the near infrared the same field reflects 41%, the air adds 3 points, and the picture is almost all ground.
The two effects pull in opposite directions. The air brightens dark things and dims bright ones, so every band is squeezed toward a middle grey. In blue that grey is a reflectance of 21%: anything darker looks brighter from orbit than it is, anything brighter looks darker, and the contrast between any two surfaces is cut to 62% of what it is on the ground. This is why true-colour satellite images look washed out and blue until someone corrects them, and why the river in this scene, which reflects 0.2% in blue, reads 7.9%.
Three bands that look at the air on purpose
Not every band avoids the notches. Band 9 sits inside a water vapour absorption at 945 nm, and only 27% of the ground signal survived it that day. That loss is the measurement: comparing band 9 with its clean neighbour, band 8A, gives the amount of water vapour in the column, which ESA put at 1.1 cm for this scene.
Band 10, at 1,375 nm, sits in a deeper one. In the reference atmosphere 0.03% of the direct beam reaches the ground there, and over this scene the sensor read a reflectance of about 0.1% whatever was underneath. It cannot see the ground, which is why Level-2A does not include it. What it can see is anything bright above most of the water vapour, and that means thin, high cirrus that is nearly invisible in the other bands.
Band 1 does the same job for haze. At 443 nm the air’s own contribution is the largest of any band, so it is the one most sensitive to how much aerosol is in the way.
Into the instrument
Sentinel-2 does not take pictures the way a camera does. Its telescope has a 150 mm opening. Behind it, each band has its own row of detectors under its own filter, lying across the direction of travel, and the image is built one line at a time as the ground slides past at 6.6 km per second. A 10 m pixel is under its detector for about a millisecond and a half.
That is enough to work out how much light a pixel actually is. Over the crops, one 10 m near-infrared pixel delivers about 160,000 photons to the telescope opening in that time. One red pixel over the river delivers about 5,500. The 60 m bands collect from 36 times the area for six times as long, which is how band 1 gets a couple of million from a signal that is mostly haze. The readout in the figure gives the count for any band and ground.
The detectors turn those photons into a 12-bit number. On the ground, ESA converts that to radiance, divides by the sunlight that was available in that band on that day at that sun angle, and stores the result as reflectance times 10,000. The 9.6% blue reading over the crops is stored as 964. Everything a model later learns from the image, it learns from integers like that one, each of them part ground and part air.
Method
Both products are from Sentinel-2A, tile 11TLM, relative orbit 113, sensed 8 July 2021 at 19:01 UTC, processing baseline 03.01: Level-1C from Google’s public mirror of the Copernicus archive and Level-2A from the cloud-optimised archive on AWS. I read all thirteen bands over the 14.4 by 9.5 km window of the earlier posts, averaged each to 60 m, dropped cells that Level-2A classes as cloud or cloud shadow, and fitted an ordinary least-squares line per band. The four ground types are the medians of the 60 m cells that WorldCover 2021 labels entirely as water, cropland, grassland or built-up. Sun angle, sun distance, per-band solar irradiance, band limits and spectral responses come from the product metadata.
Level-2A is itself a model output. ESA’s processor, Sen2Cor, used an aerosol optical thickness of 0.20 for this scene and solved the same physics in reverse, so the table reports the atmosphere that processor inferred, and it is as good as that inference. The spectrum strip is the ASTM G173-03 reference: the US standard atmosphere, sun 48° from overhead, direct beam only. The scene splits each band’s loss between the way down and the way up by path length. Photon counts are at the telescope opening, before the optics and detectors lose some, and assume the pixel is collected for as long as the satellite takes to move one pixel.
Check it yourself
- Data
- Level-1C product
S2A_MSIL1C_20210708T184921_N0301_R113_T11TLM_20210708T222235and Level-2A itemS2A_11TLM_20210708_0_L2A. Both are public and need no account. - Reproduce
- tools/sunlight-data.py downloads both, fits the lines and writes data.js, the only numbers the figure uses.
- Arithmetic
- Open the console on this page and run
SunlightModel.derive(7, 1)for band 8 over crops. It returns the radiance and the photon count from the values in data.js. The code is sunlight.js, unminified.
References
- M. Drusch et al. “Sentinel-2: ESA’s Optical High-Resolution Mission for GMES Operational Services.” Remote Sensing of Environment, 120, 2012, pp. 25–36. Orbit height, telescope, bands and detectors.
- M. Main-Knorn et al. “Sen2Cor for Sentinel-2.” Proceedings of SPIE, 10427, 2017. doi:10.1117/12.2278218. How Level-2A is made.
- ASTM International. G173-03: Standard Tables for Reference Solar Spectral Irradiances. Read from the copy distributed with pvlib.
- D. Zanaga et al. ESA WorldCover 10 m 2021 v200. Zenodo, 2022. doi:10.5281/zenodo.7254221. The ground types.