A wrapper for libnova -- Celestial Mechanics, Astrometry and Astrodynamics Library.
Go C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
dummy.c
dummy.go
gonova.go
julian_day.go
lunar.go
solar.go

README.md

A wrapper for libnova -- Celestial Mechanics, Astrometry and Astrodynamics Library.

The library is not very accurate. If you want something more precise, try novas

Implemented so far:

  • Julian date (to/from time.Time)
  • Lunar
  • Solar

Tested with libnova v 0.15.0

Keywords: astronomy, astrometry, celestial mechanics, sun, moon, planets

Install

You need libnova installed, with libs and headers where gcc can find them.

go get github.com/pebbe/gonova

Docs