Horizontal coordinates #13
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#14 Refraction
jeff/zig-astro
#12 Observer, and the topocentric Sun and Moon
jeff/zig-astro
Reference
jeff/zig-astro#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #10
Parent
#10
What to build
Horizontal coordinates: a new coordinate type of azimuth, counted from north through east in [0°, 360°), and altitude in [−90°, +90°] (ch. 13, with the azimuth turned to north as ADR 0003 records). The topocentric result gains a
horizontalfield holding the azimuth and the airless altitude; no refraction is applied.The README's table of modules gains
observer, with a tested example of the Moon's altitude and azimuth from a named site.Acceptance criteria
zig build test,zig build check,zig fmt --exclude zig-pkg --check .andreuse lintpassBlocked by
Done in
ff6998f. Example 13.b passes (with Meeus's longitude rounded to 5h08m15.7s as he works with it). Airless azimuth and altitude against Horizons from the three sites: 28.65″ (Sun) and 5.64″ (Moon) before 1962, when Horizons' UT is UT1; 37″ and 12″ after, when it is UTC. README example of the Moon from Palomar, tested.