def METHOD_NAME():
    with open('patran.rpt', 'r') as patran_rpt:
        lines = patran_rpt.readlines()[14:]
    nheader = 2
    headers = ''
    for iheader in range(nheader):
        header = lines[iheader].strip('\n\r\t')
        headers += header
    headers = headers.split('-')
    headers2 = []
    for header in headers:
        if header:
            headers2.append(header)
    headers = headers2
    #headers2 = [header if header.strip() for header in headers]
    print(headers)
    i = 2
    j = 0
    res = 0
    results = {0:[], 1:[]}
    while i < len(lines):
        data = []
        for iheader in range(nheader):
            data += lines[i + iheader].strip().split()
        if "MSC.Patran" in data:
            res += 1
            i += 11
            continue
        if len(data) == 0:
            break
        results[res].append(data)
        #print "i=%s j=%s data =%s" %(i, j, data)
        i += nheader
        j += 1
        if int(float(data[0])) == 0:
            raise NotImplementedError()
    key_map = {}
    for ikey, key in enumerate(headers):
        key_map[key] = ikey
    return headers, results, key_map