CN Leonis, AX Microscopii, unsearchable?

Report bugs, bug fixes and workarounds here.
Topic author
Apollo7
Posts: 112
Joined: 03.05.2003
Age: 46
With us: 21 years 6 months
Location: Houston, TX

CN Leonis, AX Microscopii, unsearchable?

Post #1by Apollo7 » 04.05.2003, 10:21

Hmm this is an odd problem. I added Wolf 359 to my data, and it appears properly (though with abnormaly small radius), but when I put in its variable designation CN Leonis, it will show up on the stars name, but will not allow me to search for it. I can find it via its "fake" HIP number and the name Wolf 359, but CN Leonis wont work, neither will UV Ceti. Are these protected names or what?

Cheers.
"May Fortune Favor the Foolish" - James T. Kirk

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Re: CN Leonis, AX Microscopii, unsearchable?

Post #2by granthutchison » 04.05.2003, 18:53

Apollo7 wrote:... but when I put in its variable designation CN Leonis, it will show up on the stars name, but will not allow me to search for it. I can find it via its "fake" HIP number and the name Wolf 359, but CN Leonis wont work, neither will UV Ceti. Are these protected names or what?

Odd indeed. My own Wolf 359 has the alternative name "CN Leo", and that's searchable. Here's the text I added to starnames.dat:

Code: Select all

350001:Wolf 359:CN Leo:Gliese 406

But if I just add in those three letters "nis", the name seems to drop out of searchability, despite, as you say, appearing in the name list for the object. Meanwhile, "Gliese 406" remains searchable.

Grant

HankR

Post #3by HankR » 04.05.2003, 20:48

If I am not mistaken, CN Leonis and UV Ceti are variable star designations. They are not Bayer or Flamsteed designations. Perhaps when Celestia sees the constellation name it assumes the latter, so the search fails.

- Hank

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #4by chris » 05.05.2003, 03:48

After looking at the code for a few minutes I see what the problem is . . . The star name lookup code checks for a constellation name (either the abbreviation or the genitive form), and if it finds one, it canonicalizes the name before searching. So, CN Leonis gets converted to CN Leo, which doesn't match anything in the star names database. Any star name that includes a constellation name (Bayer, Flamsteed, etc. designations) should use the standard three letter abbreviation for the constellation. If you do this, the canonicalization step assures that a user will be able to lookup the star using any form of the constellation name (e.g. CN Leo or CN Leonis). At first I thought this was a bug, but I actually think it's a very reasonable restriction on how star names should appear in the names file.

Right now, I'm working on letting star names appear in .stc files. I'm also trying to come up with ways to make it easy to add catalog cross-references. For example, it'd be nice to include a file mapping numbers from one catalog to some sort of standardized star number (currently, the HIP or Tycho number):

Code: Select all

Gliese
23:8939
24:2389
28:9205
...


as an alternative to adding Gliese names for every star in a catalog. The HD catalog could be implemented this way instead of storing an HD number for every single star (extremely wasteful in the 2 million+ star Tycho catalog, where the vast majority of stars don't even have an HD number.)

--Chris

HankR

Post #5by HankR » 06.05.2003, 03:21

Keep in mind that not all star catalogs use a simple prefix/sequence number format. For example:

NASA's NStars database (http://nstars.arc.nasa.gov/index.cfm) of nearby stars (currently including 2633 objects in 2029 systems within 25 parsecs) uses a format which encodes the RA and Dec. of the object, e.g.:

NS 1103+3558
NS 2305-3551

(Companion stars use the RA and Dec. of the brightest component, plus a letter suffix: A,B,C.)

The Bonner Durchmusterung, Cordoba Durchmusterung, and Cape Photographic Durchmusterung (BD, CD or CPD respectively) use a signed zone number (Dec.) plus sequence number (and possibly a letter suffix), e.g.:

CD-36 15693
BD+04 3561a

In the last example the letter suffix indicates a supplement entry, not a companion star.

Here are a couple of technical references:

IAU specs for nomenclature http://vizier.u-strasbg.fr/Dic/iau-spec.htx
Descriptions of formats http://vizier.u-strasbg.fr/Dic/formats.htx


- Hank


Return to “Bugs”