def process_header(self, data):
metadata = {<EOL>"<STR_LIT>": data.read_chunk("<STR_LIT:I>"),<EOL>"<STR_LIT>": data.read_chunk("<STR_LIT:I>"),<EOL>"<STR_LIT>": data.read_chunk("<STR_LIT:I>"),<EOL>"<STR_LIT>": data.read_chunk("<STR_LIT:I>"),<EOL>}<EOL>if metadata["<STR_LIT>"] != <NUM_LIT:1>:<EOL><INDENT>raise InvalidTemporalResError(<EOL>"<STR_LIT>".format(self.filepath)<EOL>)<EOL><DEDENT>return metadata<EOL>
Reads the first part of the file to get some essential metadata

# Returns
return (dict): the metadata in the header