NASA-Planetary-Science/sbpy

A/ designations do not parse

mkelley opened this issue · 0 comments

An A/ designation indicates an asteroidal object (in appearance) in a cometary orbit: https://minorplanetcenter.net/mpec/K18/K18H54.html

A/ objects do not parse as cometary or asteroidal:

>>> from sbpy.data import Names
>>> Names.asteroid_or_comet('A/2018 V3')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/disks/data0/astro/Projects/sbpy/sbpy/data/names.py", line 597, in asteroid_or_comet
    raise TargetNameParseError('Target nature unclear.')
sbpy.data.names.TargetNameParseError: Target nature unclear.

What did you expect?
A/ should parse as an asteroid.