Page 1 of 1

Accessing HD and SAO numbers through scripts

Posted: 19.01.2008, 14:45
by ajtribick
Is it possible to access HD and SAO numbers in a celx script? If not, this feature should be added! (Please!)

Posted: 19.01.2008, 16:26
by selden
What do you mean by "access"?
Did you try something that doesn't work?
If so, exactly what?

Celestia uses the Hipparcos catalog as its primary souce of star positions plus several other smaller catalogs of stars and binaries with known distances.

Celestia includes cross-reference catalogs which associate their SAO and HD catalog numbers with the stars it knows about. Those catalog names can be used in Lua scripts. They are only a small subset of the full SAO and HD catalogs, though.

Re: Accessing HD and SAO numbers through scripts

Posted: 19.01.2008, 16:27
by Vincent
ajtribick wrote:Is it possible to access HD and SAO numbers in a celx script? If not, this feature should be added! (Please!)

You can get HIP number using star:getinfo().catalogNumber but AFAIK, HD and SAO numbers are currently not available through celx scripting.

Posted: 19.01.2008, 20:05
by chris
Andrew, you should file another feature request on the SourceForge tracker for this. It should be possible to get other catalog numbers via script.

--Chris