Re: Astronomical ephemeris libraries



> Mike McGavin wrote:
Hi everyone.

Can anyone suggest any reasonable astronomical ephemeris libraries? Preferably ones suitable for linking to from C code, and ideally free.

I'm hoping to write some code behind a database to do certain things. Essentially I'd need to be able to predict positions of planets and asteroids (after providing orbital elements for the latter). I'd probably also want to calculate altitude/azimuth, map a position in the sky to a particular constellation, calculate moon phase, and so on.

The actual calculations for doing this are a bit beyond me, at least to the point where I'd rather not spend time focusing on them. I'd assumed there would be at least one open source library available, and although there are some open source planetarium programs (such as kstars), I haven't managed to find any nicely packaged libraries.

libastro, distributed with xephem, looks alright, but it's not well documented and the licence seems very daunting. Even if I were to get permission to use it for something other than compiling xephem, I might still want to distribute my own source in the future, and that could make things complicated.

I'd appreciate any suggestions.

Thanks.
Mike.

Perhaps the following will be useful: http://www.willbell.com/math/fundephcomp.htm Al .



Relevant Pages

  • Re: RealThinClient SDK for Linux
    ... I've read extensively on how to make money on open source and for a library I've come to the conclusion that for a library like yours the only real way is for dual licensing. ... I personally believe the record is clear by now that the pure OSS "paid support" path is an economic failure. ... This is another issue with OSS projects, they have to attain a very large following to attract just a few active developers. ... For libraries programmers will either continue to support it as their own code, but don't try to revive the project, or just look for a new actively developed library they can use. ...
    (borland.public.delphi.thirdpartytools.general)
  • Astronomical ephemeris libraries
    ... I'd assumed there would be at least one open source library available, and although there are some open source planetarium programs, I haven't managed to find any nicely packaged libraries. ... Even if I were to get permission to use it for something other than compiling xephem, I might still want to distribute my own source in the future, and that could make things complicated. ...
    (sci.astro)
  • Re: PDF Framework for smalltalk systems
    ... I think I need to clarify the term Open Source here. ... That we give the Sources away is a sign of thrust to our customers - the ... I have not had requests to generate PDF from object model yet. ... I don´t know libraries that exposes the PDF contents in the ...
    (comp.lang.smalltalk)
  • Re: Delphi Bugs
    ... about in the seminal book about open source, ... Because it would greatly improve the way packages could be used in Linux. ... to work with new versions of Delphi or the operating system. ... The reason we buy third-party libraries is to save us time. ...
    (borland.public.delphi.non-technical)
  • ANNC: Cells-Gtk: In Search of Cells3 [was Re: Arity of a closure and a Lisp Community Process]
    ... Lispers: Unlimited Energy for Whining, ... Until we push those other languages into the sea and enslave the their captured users we just won't have the resources needed to turn one developer's personal gem into a portable, easily-installed, well-documented open source package. ... Someone spoke to Lisp-NYC about that big Lisp math lib and grabbed me with the analysis of how the laws of threes made open source projects 27 times harder than doing something for yourself. ... And the way to get better Lisp libraries is to work on them, not whine about them and defintely not to create another Lisp Gardeners? ...
    (comp.lang.lisp)