Compare light sources by the sky glow they produce, using measured spectra
DarkSky International — DRAFT for internal review, 17 July 2026. Served copy: methodology.html (generated — regenerate, don't hand-edit). House format shared across the suite. This tool is a verified browser re-implementation of the PNNL / U.S. DOE Sky Glow Comparison Tool (PNNL-SA-138348).
Not all lumens make equal sky glow: bluer light scatters more (Rayleigh), and uplight matters more than anything else. This tool compares any two light sources — real measured spectra, or a pasted spectrum — and reports the relative sky glow of the comparison source against a baseline, under a chosen observer position, atmosphere, uplight fraction, and eye weighting. The default baseline is deliberately historical: HPS at 5% uplight, the old "semi-cutoff" street-lighting allowance, so modern fully-shielded warm sources show their real improvement.
Sky Glow Index = Σλ [SPD(λ) × SF(λ)] × lumen-output %, where SF is the Kocifaj radiative-transfer scattering function for the selected combination of observer (near/far), atmosphere (clear/moderate/high particulate), uplight fraction, and weighting (photopic or scotopic). The 48 scattering- function tables, 12 example lamp spectra, CIE 1931 colour-matching functions, and V(λ)/V′(λ) curves are taken directly from the PNNL spreadsheet. Results are expressed relative to the baseline — the index is in model units, not cd/m² or mag/arcsec², and only ratios are meaningful.
| input | source |
|---|---|
| Lamp spectra | 12 measured SPDs embedded in the PNNL tool (PNNL-SA-138348), plus user-pasted spectra via the shared spectral library |
| Scattering functions | 48 Kocifaj-model tables from the PNNL spreadsheet (observer × atmosphere × uplight × weighting) |
| Colour science | CIE 1931 2° CMFs; photopic V(λ); scotopic V′(λ) — from the same spreadsheet |
This is the suite's most directly validated tool: every equation was verified line-by-line against the PNNL spreadsheet's worksheet formulas and VBA modules, and against an independent 2022 manual run of the DOE calculator (scotopic weighting, clear/low-particulate, both observer positions). The full equation-for-equation comparison is published alongside the code (VALIDATION.md): chromaticity, SPD normalization, sky-glow summation, and scattering-function selection are identical; normalization constants cancel in the baseline ratio.
App: skyglow-calculator/ (private repo darksky_tools). The line-by-line equation audit is in VALIDATION.md beside the code.