Skip to content
/ novas Public

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

Notifications You must be signed in to change notification settings

pebbe/novas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

https://bisse.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, with Go version 1.5 of newer:

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

With Go version 1.4 or older:

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published