def loadGTrajectory(fileName):
    print('loadTrajectory Started : ', time.ctime())
    TDB = {}
    with open(fileName, 'r') as rf:
        reader = csv.reader(rf)
        for line in reader:
            tid = line[0]
            meshid = line[2]
            if (tid in TDB):
                TDB[tid].append(meshid)
            else:
                TDB[tid] = [meshid]
    print('loadTrajectory Ended : ', time.ctime())
    return TDB
def loadGTrajectory(fileName):
    print('loadTrajectory Started : ', time.ctime())
    TDB = {}
    with open(fileName, 'r') as rf:
        reader = csv.reader(rf)
        for line in reader:
            tid = line[0]
            meshid = line[2]
            if (tid in TDB):
                TDB[tid].append(meshid)
            else:
                TDB[tid] = [meshid]
    print('loadTrajectory Ended : ', time.ctime())
    return TDB