pro Con_specObjID, specObjID,plate,mjd,fiber ; convert SDSS specObjID to plate,mjd and fiberID (after DR8) ul2=ULONG64(2) ;plate Uplate=(ul2)^14-1 Uplate=ISHFT(Uplate,50) Plate=ISHFT(specobjID and Uplate,-50) ;mjd uMjd=(ul2)^14-1 umjd=ISHFT(uMjd,24) mjd=ISHFT(specobjID and uMjd,-24)+50000 ;fiber Ufiber=(ul2)^12-1 Ufiber=ISHFT(Ufiber,38) fiber=ISHFT(specObjID and Ufiber,-38) end