Sidereal time #11
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#12 Observer, and the topocentric Sun and Moon
jeff/zig-astro
Reference
jeff/zig-astro#11
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
Sidereal time in
astro.earth: Greenwich mean sidereal time (eq. 12.4) and Greenwich apparent sidereal time, which adds the equation of the equinoxes, Δψ cos ε with the true obliquity. Both accept an instant in either time scale; a TT instant is converted to UT through the ΔT model, as positions already are. Results are in [0°, 360°).Acceptance criteria
zig build test,zig build check,zig fmt --exclude zig-pkg --check .andreuse lintpassDone in
2491b18. Examples 12.a and 12.b pass (the book's 128.7378734° is a unit out in its last digit). Against Horizons: 0.0042 s at worst before 1962, where its UT is UT1; after that its UT is UTC, and the 0.73 s worst is UT1 − UTC, held to 0.9 s.