def parse_header(data, verbose=False, *args, **kwargs):
<EOL>if verbose:<EOL><INDENT>print("<STR_LIT>", file=sys.stderr)<EOL><DEDENT>parser = Parser(amira_header_grammar)<EOL>if verbose:<EOL><INDENT>print("<STR_LIT>", file=sys.stderr)<EOL><DEDENT>amira_processor = AmiraDispatchProcessor()<EOL>if verbose:<EOL><INDENT>print("<STR_LIT>", file=sys.stderr)<EOL><DEDENT>success, parsed_data, next_item = parser.parse(data, production='<STR_LIT>', processor=amira_processor)<EOL>if success:<EOL><INDENT>if verbose:<EOL><INDENT>print("<STR_LIT>", file=sys.stderr)<EOL><DEDENT>return parsed_data<EOL><DEDENT>else:<EOL><INDENT>raise TypeError("<STR_LIT>".format(parsed_data, next_item))<EOL><DEDENT>
Parse the data using the grammar specified in this module

    :param str data: delimited data to be parsed for metadata
    :return list parsed_data: structured metadata