202.8. Current identifications table#
202.8. Current Identifications table¶
For the Rubin Science Platform at data.lsst.cloud.
Data Release: Prompt Products
Container Size: Large
LSST Science Pipelines version: r30.0.11
Last verified to run: 2026-11-30
Repository: github.com/lsst/tutorial-notebooks
DOI: 10.11578/rubin/dc.20250909.20
Learning objective: To understand the contents of the current_identifications table and how to access it.
LSST data products: current_identifications
Packages: lsst.rsp
Credit: Originally developed by the Rubin Community Science team. Please consider acknowledging them if this notebook is used for the preparation of journal articles, software releases, or other notebooks.
Get Support: Everyone is encouraged to ask questions or raise issues in the Support Category of the Rubin Community Forum. Rubin staff will respond to all questions posted there.
1. Introduction¶
In the course of MPC operations submission of observations of an unassociated tracklet may receive a designation as a new object, but upon further orbital refinement these observations are found to belong to an already known object. In this case the new designation and the old designation both refer to the same solar system object. The relation between this alternate designations is kept at the MPC through the current_identifications table as described in the MPC's documentation. This table is duplicated on the Rubin Science Platform and is updated daily in order to allow Solar System Processing (SSP) pipeline to keep track of all designations.
Related tutorials: The TAP data access services are demonstrated in the 100-level "How to" tutorials.
1.1. Import packages¶
From the lsst package, import the module for the TAP service.
from lsst.rsp import RSPDiscovery
1.2. Define parameters and functions¶
Create an instance of the TAP service.
discovery = RSPDiscovery("prompt")
service = discovery.get_tap_client()
2. Schema (columns)¶
To browse the table schema visit the Rubin schema browser, or use the TAP service via the Portal Aspect or as demonstrated in Section 2.1.
2.1. Retrieve table schema¶
To retrieve the table schema, define a query for the schema columns of the current_identifications table and run the query job.
query = """SELECT column_name, datatype, description, unit
FROM tap_schema.columns
WHERE table_name = 'ppdb.current_identifications'"""
job = service.submit_job(query)
job.run()
job.wait(phases=['COMPLETED', 'ERROR'])
print('Job phase is', job.phase)
if job.phase == 'ERROR':
job.raise_if_error()
Job phase is COMPLETED
Retrieve the query results and display them as an astropy table with the to_table() attribute.
assert job.phase == 'COMPLETED'
results = job.fetch_result().to_table()
results
| column_name | datatype | description | unit |
|---|---|---|---|
| str64 | str64 | str512 | str64 |
| id | int | Internal ID (generally not seen/used by the user) | |
| packed_primary_provisional_designation | char | The primary provisional designation in packed form (e.g. K08A00B) | |
| packed_secondary_provisional_designation | char | The secondary provisional designation in packed form (e.g. K08A00B). May be the same-as (A=A) or different-to (A=B) the primary provisional designation | |
| unpacked_primary_provisional_designation | char | The primary provisional designation in unpacked form (e.g. 2008 AB) | |
| unpacked_secondary_provisional_designation | char | The secondary provisional designation in unpacked form (e.g. 2008 AB). May be the same-as (A=A) or different-to (A=B) the primary provisional designation | |
| published | int | Publication status of this identification, as the integer code in the MPC's table (not a boolean; the values 0, 1, 2 and 4 occur). | |
| object_type | int | Integer to indicate the object type. To be linked (foreign key) to object_type lookup table | |
| numbered | boolean | Has the object been numbered and hence does it appear in the numbered_objects table? | |
| created_at | char | When this row was created | |
| updated_at | char | When this row was updated |
Delete the job, but not the results.
del query
job.delete()
2.2. Key Columns¶
Of the 10 columns in the current_identifications table, the following are the most commonly used.
2.2.1. Unpacked Designations¶
The primary provisional designation in unpacked form is given alongside any secondary designations associated with the object:
unpacked_primary_provisional_designationunpacked_secondary_provisional_designation
These unpacked designations are equivalent to the designation field in the other PPDB Solar System tables.
2.2.2. Packed Designations¶
The primary and secondary designations are also given in MPC packed form:
packed_primary_provisional_designationpacked_secondary_provisional_designation
2.2.3. Object Type¶
The an integer is assigned to indicate the orbital group to which the object belongs:
object_type
2.2.4. Number¶
Most solar system objects in the MPC have provisional designation. Objects with sufficiently secure orbital solutions will eventually receive a permanent ID number from the MPC. More details are given in the numbered_identifications table; in current_identifications a flag indicates if a given object also has a number:
numbered
3. Data access¶
The Prompt Products current_identifications table is available via the TAP service.
3.1. TAP (Table Access Protocol)¶
The current_identifications table is accessible via the TAP services using ADQL queries.
3.1.1. Current catalog size¶
The current_identifications table is a copy of the MPC database and is updated daily as part of solar system processing (SSP). As of the date of PPDB release (30th November 2026) current_identifications contains over 2,110,000 rows.
Run a query that retrieves the size of the current_identifications table (at the time of query).
query = """SELECT COUNT(*)
FROM ppdb.current_identifications"""
job = service.submit_job(query)
job.run()
job.wait(phases=['COMPLETED', 'ERROR'])
print('Job phase is', job.phase)
if job.phase == 'ERROR':
job.raise_if_error()
Job phase is COMPLETED
Fetch the results as an astropy table.
assert job.phase == 'COMPLETED'
results = job.fetch_result().to_table()
print(results)
COUNT1 ------- 2119376
Clean up.
job.delete()
del query, results
3.1.2. Demo query - inspect designations in current_identifications¶
Inspect the primary and secondary (unpacked) designations. If they are equal, the object has no alternate designations.
query = """SELECT TOP 10 unpacked_primary_provisional_designation,
unpacked_secondary_provisional_designation
FROM ppdb.current_identifications
WHERE unpacked_primary_provisional_designation !=
unpacked_secondary_provisional_designation"""
job = service.submit_job(query)
job.run()
job.wait(phases=['COMPLETED', 'ERROR'])
print('Job phase is', job.phase)
if job.phase == 'ERROR':
job.raise_if_error()
Job phase is COMPLETED
Fetch the results as an astropy table.
assert job.phase == 'COMPLETED'
results = job.fetch_result()
results = results.to_table()
Display the results. The columns indicate the mapping between a 'primary' and 'secondary' designation for MPC objects.
results
| unpacked_primary_provisional_designation | unpacked_secondary_provisional_designation |
|---|---|
| str16 | str16 |
| 2015 KQ482 | 2025 OH61 |
| 2014 HO375 | 2025 HQ68 |
| 2006 UP343 | 2025 OT524 |
| 2024 CX30 | 2025 NW358 |
| 2016 JJ22 | 2013 AP182 |
| 2007 BJ96 | 2025 OW124 |
| 2005 NR105 | 2026 HM13 |
| 2006 QE179 | 2013 CQ131 |
| 2019 XA14 | 2010 CG257 |
| 2014 HZ87 | 2025 NY361 |
Clean up.
job.delete()
del query, results
3.1.3. Demo query - find a 'missing' designation¶
If a solar system object is expected to have been observed by Rubin but its designation cannot be found in SSObject (therefore it is not in SSObservation), and there are no non-detections in NearbySSO, then it may be listed under an alternate designation.
The following query demonstrates that a particular object designation = 2019 JX30 cannot be found in either SSObject or NearbySSO.
query = """SELECT designation, nObs
FROM ppdb.SSObject as sso
WHERE sso.designation = '2019 JX30'"""
job = service.submit_job(query)
job.run()
job.wait(phases=['COMPLETED', 'ERROR'])
print('Job phase is', job.phase)
if job.phase == 'ERROR':
job.raise_if_error()
Job phase is COMPLETED
assert job.phase == 'COMPLETED'
results = job.fetch_result()
Inspect the results as an astropy table, and see that the table is empty (as expected).
results.to_table()
| designation | nObs |
|---|---|
| str16 | int32 |
In general the unpacked_primary_provisional_designation found in the MPC tables is the same as designation in the Rubin Solar System tables.
Therefore search for 2019 JX30 in the unpacked_secondary_provisional_designation in current_identifications.
query = """SELECT *
FROM ppdb.current_identifications
WHERE unpacked_secondary_provisional_designation = '2019 JX30'"""
job = service.submit_job(query)
job.run()
job.wait(phases=['COMPLETED', 'ERROR'])
print('Job phase is', job.phase)
if job.phase == 'ERROR':
job.raise_if_error()
Job phase is COMPLETED
assert job.phase == 'COMPLETED'
results = job.fetch_result()
results = results.to_table()
Inspect the results; 2019 JX30 is associated with another designation, 1999 VM128 .
results
| id | packed_primary_provisional_designation | packed_secondary_provisional_designation | unpacked_primary_provisional_designation | unpacked_secondary_provisional_designation | published | object_type | numbered | created_at | updated_at |
|---|---|---|---|---|---|---|---|---|---|
| int32 | str16 | str16 | str16 | str16 | int32 | int32 | bool | object | object |
| 602340 | J99VC8M | K19J30X | 1999 VM128 | 2019 JX30 | 4 | 0 | True | 2020-07-30T16:20:56.364 | 2026-03-18T19:48:15.852 |
Some objects may have more than one alternate designation. Query current_identifications again to find other objects associated that may be associated with 1999 VM128, the primary designation of 2019 JX30.
query = """SELECT unpacked_primary_provisional_designation,
unpacked_secondary_provisional_designation
FROM ppdb.current_identifications
WHERE unpacked_primary_provisional_designation =
'1999 VM128'"""
job = service.submit_job(query)
job.run()
job.wait(phases=['COMPLETED', 'ERROR'])
print('Job phase is', job.phase)
if job.phase == 'ERROR':
job.raise_if_error()
Job phase is COMPLETED
assert job.phase == 'COMPLETED'
results = job.fetch_result()
results = results.to_table()
Inspect the results. The original designation = 2019 JX30 is associated with three alternate designations.
results
| unpacked_primary_provisional_designation | unpacked_secondary_provisional_designation |
|---|---|
| str16 | str16 |
| 1999 VM128 | 2012 TC60 |
| 1999 VM128 | 1999 VM128 |
| 1999 VM128 | 2014 EZ23 |
| 1999 VM128 | 2019 JX30 |
Repeating the original query in this demo for the primary designation 1999 VM128 shows that it is detected in Rubin data.
query = """SELECT designation, nObs
FROM ppdb.SSObject as sso
WHERE sso.designation = '1999 VM128'"""
job = service.submit_job(query)
job.run()
job.wait(phases=['COMPLETED', 'ERROR'])
print('Job phase is', job.phase)
if job.phase == 'ERROR':
job.raise_if_error()
assert job.phase == 'COMPLETED'
results = job.fetch_result()
results = results.to_table()
results
Job phase is COMPLETED
| designation | nObs |
|---|---|
| str16 | int32 |
| 1999 VM128 | 8 |
3.1.3. Joinable tables¶
The current_identifications table can be joined to the other Solar System tables via unpacked_primary_provisional_designation = designation.
3.2. Butler¶
The PPDB SSObservation table is not currently available via the Butler.