A Go interface to the Naval Observatory Vector Astrometry Software (NOVAS)
C 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.
examples
jpleph
.gitignore
NOVAS_eph_manager.c
NOVAS_eph_manager.h
NOVAS_novas.c
NOVAS_novas.h
NOVAS_novascon.c
NOVAS_novascon.h
NOVAS_nutation.c
NOVAS_nutation.h
NOVAS_readeph0.c
NOVAS_solarsystem.h
NOVAS_solsys1.c
README.md
body.go
doc.go
jpleph.go
novas.go
novas_test.go
place.go
planet.go
planet_test.go
star.go
star_test.go
time.go
tools_body.go
tools_moon.go
tools_planets.go
tools_sun.go

README.md

A Go interface to the Naval Observatory Vector Astrometry Software (NOVAS).

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

Docs

Installation

To install the package itself, run:

go get github.com/pebbe/novas

You also need a planetary ephemeris file JPLEPH. You can download it from here:

http://pkleiweg.home.xs4all.nl/jpleph/

Put the file in this directory:

$GOPATH/src/github.com/pebbe/novas/jpleph/

You can put the file in a different location. Then you need to provide the full path at run time in the environment variable JPLEPH, or you can set the full path at build time of the program that imports the package, like this:

go build -ldflags "-X github.com/pebbe/novas.JPLephFile=/opt/opt_local/novas/JPLEPH" program.go