def rdzipn2targets(infile):
    """Read rdzipn infile and return target and truth tables
    """
    ra, dec, z, itype, priority, numobs = io.read_rdzipn(infile)
    n = len(ra)

    #- Martin's itype is 1 to n, while Bob's fiberassign is 0 to n-1
    itype -= 1
    assert np.min(itype >= 0)

    #- rdzipn has float32 ra, dec, but it should be float64
    ra = ra.astype('float64') % 360     #- enforce 0 <= ra < 360
    dec = dec.astype('float64')

    #- Hardcoded in rdzipn format
    # 0 : 'QSO',      #- QSO-LyA
    # 1 : 'QSO',      #- QSO-Tracer
    # 2 : 'LRG',      #- LRG
    # 3 : 'ELG',      #- ELG
    # 4 : 'STAR',     #- QSO-Fake
    # 5 : 'UNKNOWN',  #- LRG-Fake
    # 6 : 'STAR',     #- StdStar
    # 7 : 'SKY',      #- Sky