Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A/ designations do not parse #340

Closed
mkelley opened this issue May 27, 2022 · 0 comments · Fixed by #343
Closed

A/ designations do not parse #340

mkelley opened this issue May 27, 2022 · 0 comments · Fixed by #343
Assignees
Labels
data potential bug automated label to indicate issue reports
Milestone

Comments

@mkelley
Copy link
Member

mkelley commented May 27, 2022

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.

@mkelley mkelley added the potential bug automated label to indicate issue reports label May 27, 2022
@mkelley mkelley added this to the v0.4 milestone May 27, 2022
@mkelley mkelley added the data label May 27, 2022
@mkelley mkelley self-assigned this Jun 4, 2022
@jianyangli jianyangli linked a pull request Jun 29, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data potential bug automated label to indicate issue reports
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant