Caelus3,462 checksGitHubv0.26.0MIT
I-05Field verifier presetsclient-side
Instrument I-05

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.

MODEForensic solververifyObservation
3 constraints activeembedded ephemeris100% local, never uploaded
INClaim & observationsverify

New York City on 4 July 2026 at 19:30 UTC (3:30 PM EDT). A vertical bollard casts a shadow toward 71.8 deg (ENE) with length ratio L/H = 0.73, agreeing cleanly with solar ephemeris geometry.

CALZero-upload photo shadow calibration100% local, never uploaded
Local only Drop a local JPEG/PNG or drag handles on the calibration stage

Procedural calibration scene active. Drop a local JPEG or PNG to measure your own photo.

N 0°Level urban plaza, vertical bollard, afternoon Sun in WSW.Pole H (78 px)Shadow L (57 px)
Measured L/H = 0.730Bearing = 71.8°
OUTVerification verdict & compass dialcaelus 0.26.0, embedded tier
consistentScore: 1.0002026-07-04T19:30Z @40.71,-74.01 | day Sun 53.9deg WSW setting | shd 0.73x ENE | Moon 80% wan -54.5deg | next sunset 299m
NESWOuter ring L/H = 4.0SunShadow L/H (pred violet, obs peach)01.5x0.730.73
Sun az 251.8° / alt 53.9°Predicted shadow 71.8° (L/H 0.728)Moon below horizon
CHKPer-check residuals3 evaluated
FieldObservedPredictedResidualTolRatio (0..2x)Status
shadowBearingDeg71.8071.81-0.0110.00
consistent
shadowLengthRatio0.730.730.000.19
consistent
twilightdayday0.00n/a
consistent
TSTypeScript call
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);
RETReturn valueverify
{
  "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
}
M-1Forward shadow and refraction model

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.

M-2Tolerance widening and counterfactual forensics

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.

M-3Embedded-tier browser limits and privacy

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.

APICode & live JSONnyc-summer-authentic

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);

Use the observation API in your own code

Observation guide