Measure what people see, not what the sensor sees
Public light pollution maps rely on one satellite sensor, tuned for old sodium streetlights. White LEDs give off most of their light outside what it sees, so the maps miss the fastest growing source of light. Duskmeter corrects the satellite data with readings taken from the ground.
- Kind
- Own open source
- Timeline
- 28 Jul to 2 Sep 2026
- Commits
- 86
- Outside contributors
- 4
- Layers
- Website, server
- Stack
- SvelteKit, TypeScript, Three.js, Leaflet, SQLite, Docker
The problem
The satellite band every public map uses was calibrated for sodium lamps around 589 nm. White and blue rich LEDs shine strongly near 450 nm, below what it sees.
So every public map underestimates modern light pollution, and the gap grows as cities switch to LEDs.
What we built, by layer
- Website
A landing page with a 3D globe, a map of monitored sites, and a page per site that sets the corrected brightness against the satellite's estimate.
- Server
Satellite data processed once into SQLite, a Docker image published on every release, security headers, and a database that survives upgrades.
Decisions
-
Process the satellite data once
Yearly satellite rasters, some over 4 GB, are turned into SQLite ahead of time, so the live site never parses a giant file on a request.
-
Honest fallbacks
A site without enough ground readings uses published values and says so, instead of pretending to a precision it doesn't have.
-
Versioned releases
Every release publishes a Docker image with a version tag, so anyone can run the exact version they cite.
Numbers
- 86 commits in five weeks.
- Pull requests from four outside contributors.
- 8 ground readings before a site gets its own calibration.
Credits
Rohan Sharma, with pull requests from four open source contributors during the alpha and beta.