Cor Hydrae

Report bugs, bug fixes and workarounds here.
Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Cor Hydrae

Post #1by ajtribick » 02.11.2003, 22:09

Using Celestia 1.3.1pre11, entering Cor Leonis into select, goto, or the text input after pressing enter will not work, even though on the enter text input the name is displayed.

I haven't looked at the source code, but I suspect this is because the name is processed which converts the constellation name Leonis into a three-letter abbreviation (LEO) so the program can match it against the star names.

I'm not sure how this could be resolved. Matching against names before doing this processing would mean the names would have to be processed twice, once before the conversion and once afterwards. Alternatively the conversion could be done within the matching routine if the name could be shortened, I'm not sure.

Similar problems with Cor Hydrae.

Also if you have a catalog star with a suffix e.g. HD 178911 B, this is not recognised. Again, not having looked at the source code, I would suspect this is because the program detects the HD prefix and then processes only the number following it, ignoring anything after the number. My evidence for this is that selecting an object "HD 28185SPLURGE" selects "HD 28185", so I suspect a call to a function like the Basic Abs() is being used.

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

Post #2by ajtribick » 03.11.2003, 11:38

BAH!!! I've been programming long enough to know that I meant Val() not Abs()

cs not logged in

Post #3by cs not logged in » 16.11.2003, 18:42

If starnames.dat is modified to use three letter constellation abbreviations then the lookup works fine.


Return to “Bugs”