get_header

sunpy.io.jp2.get_header(filepath)[source] [edit on github]

Reads the header from the file

Parameters:filepath (str) – The file to be read
Returns:headers (list) – A list of headers read from the file