objID_to_ssObjectID

lsst.ap.association.objID_to_ssObjectID(objID, flags=0)

Convert from Minor Planet Center packed provisional object ID to Rubin ssObjectID.

Parameters:
objIDstr

Minor Planet Center packed provisional designation for a small solar system object. Must be fewer than eight characters.

flagsint, optional

Eight free bits to enable future decoupling between Minor Planet Center and Rubin. Zero by default, should not be changed unless we need to move away from a 1:1 mapping with the MPC. Must be within [0, 255].

Returns:
ssObjectIDint

Rubin ssObjectID

Raises:
ValueError

Raised if either objID is longer than 7 characters or flags is greater than 255 or less than 0.