fsgregs wrote:I located stars.txt on sourceforge and discovered it is not a text translation of stars.dat. I could not look up the RA and Dec used by Celestia itself to position Gliese 581, as I had hoped.
Hmm... looks like it's a rounding issue.
but Sinbad does not list the distance Gliese 581 is from Earth.
The database is SIMBAD (with an M), not the hero sailor Sinbad (with an n). SIMBAD does list parallax, which is easily converted to distance:
1000/(parallax in milliarcseconds) = distance in parsecs
fsgregs wrote: In addition, I could not find a reference to the magnitude of the star in that database.
Both B and V magnitudes are listed. See the line which says "Fluxes". Note that the magnitudes in stars.txt should not suffer from rounding errors. (Plus bear in mind that Celestia's database is derived from the Hipparcos catalogue, not from SIMBAD)
fsgregs wrote:I right-clicked on Gliese 581 and the RA and Dec was not one of the menu choices. It listed "Info", which brought me to Sinbad, so I guess that is what you meant, Fridger, but those coordinates do not seem to be the ones being used by 1.5.1. When I plugged them into an stc file, I created a 2nd star near the real Gliese 581, but not superimposed upon it.
The Celestia stars.dat is derived from the Hipparcos catalogue. The link to the star's Hipparcos catalogue entry is listed at the bottom of the SIMBAD page, under the link "HIP 74995" in the "External archives" section. HOWEVER the current stars.dat generation process
may be using the Tycho-1 coordinates (depending on the magnitudes of the errors in the HIP and TYC catalogues). Since SIMBAD only lists Tycho-2 (and even this is incompletely implemented), you will need to do a VizieR search for the Tycho catalogue. The one you want is I/239/tyc_main
However in the case of Gliese 581, the Tycho entry for the star does not contain errors on RA/Dec, so is not used. (This is according to my understanding of the generation code: there seem to be various anomalies which suggest that the code that is claimed to be used is NOT actually the code that is used)
So use the Hipparcos coordinates.
(Note the Hipparcos
decimal coordinates are preferred over the Hipparcos hms/dms coordinates)
(Alternatively if you are up to the programming task, you could parse stars.dat - I documented the format on the Celestia WikiBook
here)
Also, is there an online converter to use from RA to Decimal RA? If not, what is the formula used by Celestia for the conversion?
Usually RA is quoted in hours/minutes/seconds format. One minute = 1/60 of an hour, one second = 1/60 of a minute. Hours range [0,24). Degrees [0,360). So the conversion is very simple.
degrees = (hours + minutes / 60 + seconds / 3600) * 15
-----
Note I am currently in the process of revising stars.dat, and I am going to be using a new reduction of the Hipparcos data which may move various stars around anyway. I've already put a request in for a "Modify" directive for .stc files on the Feature Requests list.
