pub fn moon_position_topocentric(
at: OffsetDateTime,
site: &Location,
) -> EquatorialExpand description
Topocentric lunar position for an observer (equatorial, epoch of date) —
Meeus ch. 40 parallax correction with WGS-84-flattened site coordinates.
The shift from moon_position (geocentric) can reach ~61′ (the Moon’s
horizontal parallax).
use skymath::{moon_position, moon_position_topocentric, separation, Location};
use time::OffsetDateTime;
let site = Location::parse("+52 05 32", "+004 18 27", 6.0)?;
let now = OffsetDateTime::now_utc();
let parallax_shift = separation(moon_position(now), moon_position_topocentric(now, &site));
assert!(parallax_shift.arcminutes() <= 62.0);