def _parsemeta_tmy2(columns, line):
<EOL>rawmeta = "<STR_LIT:U+0020>".join(line.split()).split("<STR_LIT:U+0020>")<EOL>meta = rawmeta[:<NUM_LIT:3>]  <EOL>meta.append(int(rawmeta[<NUM_LIT:3>]))<EOL>longitude = (<EOL>float(rawmeta[<NUM_LIT:5>]) + float(rawmeta[<NUM_LIT:6>])/<NUM_LIT>) * (<NUM_LIT:2>*(rawmeta[<NUM_LIT:4>] == '<STR_LIT:N>') - <NUM_LIT:1>)<EOL>latitude = (<EOL>float(rawmeta[<NUM_LIT:8>]) + float(rawmeta[<NUM_LIT:9>])/<NUM_LIT>) * (<NUM_LIT:2>*(rawmeta[<NUM_LIT:7>] == '<STR_LIT:E>') - <NUM_LIT:1>)<EOL>meta.append(longitude)<EOL>meta.append(latitude)<EOL>meta.append(float(rawmeta[<NUM_LIT:10>]))<EOL>meta_dict = dict(zip(columns.split('<STR_LIT:U+002C>'), meta))<EOL>return meta_dict<EOL>
Retrieves metadata from the top line of the tmy2 file.

    Parameters
    ----------
    columns : string
        String of column headings in the header

    line : string
        Header string containing DataFrame

    Returns
    -------
    meta : Dict of metadata contained in the header string