Accuracy Open the app

Checked against NASA and JPL

How accurate is Moonat

Moonat places the Sun, the Earth and the stars over real lunar terrain and works out when the ground hides them. Each part was tested against an independent reference. This page lists every check: what is computed, what it was compared with, the measured difference, and the note that holds the method and the commands to repeat it. Then it lists what Moonat does not model.

Every measured figure (in green, at the start of each check) is copied from the note linked beside it. The date is the day the note was written. 1″ (arcsecond) is 1/3600 of a degree; "pp" is percentage points.

Where the Sun and the Earth are

Computed: the apparent direction of the Sun and the Earth from a point on the Moon (light time and aberration included, no atmosphere), in the Moon's Mean Earth frame. Reference: NASA JPL Horizons, the service used to plan spacecraft operations.

Notes of 2026-11-14. Data: JPL DE421 with the lunar frame MOON_ME_DE421 (Moonat); DE441 (Horizons).

The code in your browser against the reference code

Computed: the app's JavaScript physics (positions from the shipped tables, the share of the Sun's disk above the terrain, sunlight). Reference: the Python pipeline that was checked against Horizons, and exact geometry.

Note of 2026-11-15. Data: the shipped DE421 tables, 3 h step, 1966–1976 and 2013–2040.

The skyline: terrain horizons

Computed: the horizon around a site from NASA elevation models, with the Moon's curvature, and from it the share of time the Sun is in view. Reference: published illumination studies of the south pole, and our own precomputed horizons for terrain fetched live.

Notes of 2026-11-14 (terrain-everywhere), 2026-11-16 (terrain), 2026-11-20 (horizons_finest). Data: LOLA polar grids of 5 to 240 m, LDEM_64 and LDEM_16, SLDEM2015 (59 m), NASA Moon Trek LOLA grids.

Eclipses of the Sun by the Earth

Computed: when the Earth covers the Sun as seen from the Moon (a lunar eclipse on Earth), with contact times. Reference: NASA's eclipse predictions (F. Espenak, NASA GSFC) for 14 March 2025 and 24 April 1967.

Note of 2026-11-14. Data: JPL DE421; Earth radius 6378.137 km; solar radius 695 700 km (IAU 2015).

Apollo moments

Computed: the Sun in the sky at the Apollo sites at mission times, and the rover drives. Reference: the Apollo Lunar Surface Journal (ALSJ) Sun table and timeline, NASA TN D-7469, and LROC's measured positions.

Notes of 2026-11-16 (apollo_traverses) and 2026-11-17 (real_photos). Data: JPL DE421; ALSJ; NASA TN D-7469.

Not quoted here: the comparison with Apollo surface photos. A fit of a camera to a skyline can agree without showing that the ground below the skyline is right. That comparison is being checked again, with tests that can fail, and no figure from it appears on this page until it is done.

Whole-Moon sunlight maps

Computed: for every pixel, the share of time the Sun and the Earth are in view. Reference: NASA's polar illumination maps (Planetary Geodesy Data Archive, product 69, release 201608; method of Mazarico et al. 2011), pixel by pixel on the same 240 m grid.

Note of 2026-11-17, run v1 (2026-01-01 to 2044-08-12, ground level). Data: JPL DE421, LOLA polar grids of 240 m. The maps in the app today come from the same code for 2030–2040 at 0, 2 and 10 m; this comparison was not repeated for them.

The Apollo 17 liftoff film

Computed: where the Lunar Module and the far hills stand as seen from the TV camera on the parked rover. Reference: NASA's film of the liftoff (ALSJ).

Notes of 2026-11-20. Data: LROC NAC_DTM_APOLLO17 (5 m, product version 1.9), SLDEM2015.

Fine terrain: LROC stereo models and cleaning

Used: LROC NAC stereo terrain models of 2 to 6 m at landing sites, under the coarser LOLA and SLDEM2015 grids. Reference: LOLA laser tracks (LROC's own registration figures) and independent control points.

Notes of 2026-11-18 (dem_spikes) and 2026-11-20 (a17_geometry, pins_hires). Data: LROC NAC DTMs (LROC RDR), LOLA, SLDEM2015.

Mars

Computed: the Sun and the Earth from 13 sites on Mars, 1971–2040. Reference: JPL Horizons.

Note of 2026-11-16. Data: JPL DE421 and the IAU 2015 rotation model of Mars.

Limits: what Moonat does not model

The notes

Each note gives the method, the full tables and the commands that reproduce its numbers, as plain text.