Skip to content

Live demo · NASA · Data pipeline

Lightning Detector.

NASA’s Optical Transient Detector was the first lightning imager in space, launched aboard MicroLab-1 in April 1995. As an intern I worked with Dr. William L. Boeck, physics professor emeritus and research professor, and helped write the data pipeline software that turned the satellite’s raw data stream into lightning scientists could trust. It’s the same problem today’s streaming and IoT systems solve: a noisy feed in, clean data out.

The software had three jobs: remove false lightning caused by electrical interference, recover from data-stream de-synchronization, and handle corrupt data automatically. Today those are called noise filtering, resynchronization and integrity checks, and every IoT and streaming system still relies on them. Here’s that pipeline again, running live in your browser.

Illustration: the OTD satellite above a thunderstorm, marking each lightning flash it detects and sending the data to a ground station

The real instrument

Optical Transient Detector

OTD was the first lightning imager in space, and the engineering prototype for NASA’s Lightning Imaging Sensor (LIS).

It flew aboard MicroLab-1, a low-orbit imaging microsatellite only 740 km up, launched on a Pegasus rocket in April 1995. OTD was one of its two instruments; the other was the GPS/Meteorology experiment (GPS/MET).

Job 1
Remove false lightning caused by electrical interference
Today: noise & outlier filtering
Job 2
Handle de-synchronization of the data stream automatically
Today: sequencing & resync
Job 3
Handle any data corruption automatically
Today: checksums & integrity checks

More on the mission: Michael J. Peterson’s MicroLab-1 page →

LeftEvery dot the satellite reports. Some are real lightning, but many are fake: random static, a stuck pixel that keeps blinking in one spot, radio streaks across a whole row, and scrambled packets that scatter junk. On the ground they all look the same.

RightWhat the software keeps. Real storms stay as glowing clusters. Everything it throws out becomes a colored ✕ with a label saying why. Switch a stage off and the junk it was catching starts showing up as “lightning”.

Pipeline stages
Raw downlinkreal + fake, indistinguishable
After the pipelineconfirmed lightning
● kept as lightning ✕ corrupt packet ✕ duplicate ✕ interference
Packets received
0
Lightning confirmed
0
Corrupt (dropped)
0
Duplicates
0
Interference
0
Precision vs truth
0

Turn a stage off and watch precision fall. The simulator knows the ground truth for every event; the pipeline never sees it.