Parallaxes in file Nearstars.stc

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
Joe
Posts: 162
Joined: 29.02.2004
With us: 20 years 8 months
Location: United Kingdom

Parallaxes in file Nearstars.stc

Post #1by Joe » 26.09.2005, 18:25

Why the "Distance" values in the Nearstars.stc file is smaller than they should be. For instance, the Sun's Distance value in this file is 0.00326167. This value will make Celestia programme generate a 1Parsec = 206.265 AU which I think is wrong. It should in fact really be 3.26167 which makes 1 Parsec = 206265AU.

Is it a bug or not?

Joe
8O
Joe
8O

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Post #2by ajtribick » 26.09.2005, 19:15

The distance value of the Sun in nearstars.stc has nothing to do with the value of 1 parsec.

As far as I know it is a "fudge factor" to make cel links created with old versions of Celestia (which stored parallax in the stars.dat file, which meant that the Sun could not be placed at the exact centre of the coordinate system) to work with the new version. So as to avoid breaking these links (which I feel is an inadequate reason, though others may disagree) the (unrealistic) offset is preserved.

Brendan
Posts: 296
Joined: 15.07.2003
With us: 21 years 4 months
Location: Bellows Falls, VT
Contact:

Post #3by Brendan » 26.09.2005, 21:52

To fix it, I made the realsun.stc file in extras with the distance being 0.

Code: Select all

0 "Sol:Sun"
{
   RA 0
   Dec 0
   Distance 0
   SpectralType "G2V"
   AbsMag 4.83

   RotationPeriod      609.12  # 25.38 days
   Obliquity             7.25  # correct orientation relative to ecliptic
   EquatorAscendingNode 75.77  #
   RotationOffset       23.00  # standard meridian
}


Return to “Bugs”