New nearest star to the sun

Report bugs, bug fixes and workarounds here.
Topic author
Hamiltonian
Posts: 51
Joined: 27.10.2004
With us: 20 years 1 month

New nearest star to the sun

Post #1by Hamiltonian » 05.06.2007, 22:32

The sun has a new nearest neighbour in 1.5pre3 (may be earlier too I never looked). A tiny binary called KSI Sco A and B, at 4.16 ly.
Problem seems to be in visualbins.stc

Code: Select all

Barycenter "KSI Sco"
{
RA       241.092450
Dec       92.529645
Distance   4.160160
}

That declination is a bit nonstandard, too. :lol:

And is it possible to standardise the usage for Greek letters?
Visualbins uses "KSI", but Celestia converts "XI" to the Greek letter, not "KSI". Visualbins uses the three letter abbreviation "PI." but Celestia recognises and converts "PI" (no dot), so we have stars Celestia calls ?€. Cen A and ?€. Cen B.
It seems like visualbins is using this code and the rest of Celestia isn't.
Hamiltonian

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #2by t00fri » 05.06.2007, 22:51

Thanks,

here the PERL extraction script was confused, apparently, when merging the revisions with the HIP stars. That star (HIP 78727) is missing in HIP and in the revision we got

RA 241.09245
Dec -11.372945
Distance 92.529645
SpectralType "F6IV"
AppMag 4.16016

So apparently Distance -> Dec as well as AppMag -> Distance ;-)

Will be fixed.

Bye Fridger
Image

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #3by t00fri » 06.06.2007, 00:00

It was a pretty nasty little bug in my PERL script, where the HIP stars were merged with the correction file revised.stc:

In the regular expression that is to pick out the declinaton entry (Dec),

Code: Select all

if(/Dec\b\s+([-\d.]+)/){$c2 = $1; next;}


the - sign before \d was missing, whence negative declinations were skipped. That's what happened, yet luckily it affected only one star.

Bye Fridger
Image

Topic author
Hamiltonian
Posts: 51
Joined: 27.10.2004
With us: 20 years 1 month

Post #4by Hamiltonian » 06.06.2007, 09:15

Thanks!

Any thoughts on resolving the situation with regard to Greek letter names?
Hamiltonian

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #5by t00fri » 06.06.2007, 09:57

Hamiltonian wrote:Thanks!

Any thoughts on resolving the situation with regard to Greek letter names?


As you suspected, I had adopted the 3 letter standard that is canonically used in many publications. I will discuss this issue with the other developers. It's no problem to tell PERL any convention we like.

The generated .stc data files are never touched by hand, of course. Otherwise we would loose the concise documentation feature (via the PERL script) relative to the published raw orbit data.

Bye Fridger
Image

Topic author
Hamiltonian
Posts: 51
Joined: 27.10.2004
With us: 20 years 1 month

Post #6by Hamiltonian » 06.06.2007, 13:12

OK good.
Another difference in spelling to look out for is KHI / CHI.
Hamiltonian


Return to “Bugs”