Field verifier
Verify whether a photograph or field report matches solar and lunar ephemeris geometry at a claimed date and location, recover plausible capture windows when time is unknown, or triangulate Earth coordinates from shadows and sky cues. Everything runs in this browser on the embedded ephemeris with zero image upload.
Procedural calibration scene active. Drop a local JPEG or PNG to measure your own photo.
| Field | Observed | Predicted | Residual | Tol | Ratio (0..2x) | Status |
|---|---|---|---|---|---|---|
| shadowBearingDeg | 71.80 | 71.81 | -0.01 | 10.00 | consistent | |
| shadowLengthRatio | 0.73 | 0.73 | 0.00 | 0.19 | consistent | |
| twilight | day | day | 0.00 | n/a | consistent |
import { Engine, julianDay, verifyObservation } from "caelus";
import { embeddedData } from "caelus/data-embedded";
const engine = new Engine(embeddedData);
const result = verifyObservation(
engine,
{
jdUt: julianDay(2026, 7, 4, 19, 30, 0),
lat: 40.7128,
lonEast: -74.006,
elevationM: 10,
},
{
shadowBearingDeg: 71.8,
shadowLengthRatio: 0.73,
twilight: "day",
},
);
console.log(result.verdict, result.consistencyScore, result.diagnostics?.summary);{
"verdict": "consistent",
"consistencyScore": 1,
"checks": [
{
"field": "shadowBearingDeg",
"status": "consistent",
"observed": 71.8,
"expected": 71.807,
"residual": -0.007
},
{
"field": "shadowLengthRatio",
"status": "consistent",
"observed": 0.73,
"expected": 0.728,
"residual": 0.002
},
{
"field": "twilight",
"status": "consistent",
"observed": "day",
"expected": "day",
"residual": 0
}
],
"diagnostics": null
}Solar and lunar horizontal coordinates include barometric atmospheric refraction scaled to observer elevation. On sloped terrain, cast shadow bearings and length ratios come from exact 3D ray-plane intersection against the tilted surface normal rather than flat-ground cotangent formulas. Lunar bright-limb orientation is projected in the Moon's local zenith tangent frame so camera lens focal length does not distort the angle.
When time or place uncertainty tolerances are supplied, verifyObservation widens each residual band using local angular drift rates before classifying a check. When a claim evaluates as inconsistent or impossible, the solver probes same-day clock shifts, latitude sign flips, and seasonal date shifts so single-axis metadata errors surface directly with one-click alignment.
Every calculation, JPEG EXIF parse, and calibration drag runs locally in browser memory on Caelus's embedded ephemeris tier (solar and lunar accuracy suitable for AD 1920 to 2080 within 0.02 degrees). No photo bytes or coordinates ever leave your device. For historical dates outside the embedded lunar window or sub-arcsecond reference checks, run the generated call in Node or Python against the full JPL ephemeris packs.
Computed locally from the embedded ephemeris.
import { Engine, julianDay, verifyObservation } from "caelus";
import { embeddedData } from "caelus/data-embedded";
const engine = new Engine(embeddedData);
const result = verifyObservation(
engine,
{
jdUt: julianDay(2026, 7, 4, 19, 30, 0),
lat: 40.7128,
lonEast: -74.006,
elevationM: 10,
},
{
shadowBearingDeg: 71.8,
shadowLengthRatio: 0.73,
twilight: "day",
},
);
console.log(result.verdict, result.consistencyScore, result.diagnostics?.summary);