get_header#
- sunpy.io.ana.get_header(filename, debug=False)[source]#
Deprecated since version 6.0: The ANA reader may be removed in a future version of sunpy, please comment here if you are using this code: https://community.openastronomy.org/t/possible-deprecation-of-ana-file-readers-and-writers-in-sunpy
Loads an ANA file and only return the header consisting of the dimensions, size (defined as the product of all dimensions times the size of the datatype, this not relying on actual filesize) and comments.
- Parameters:
- Returns:
list
– A list ofFileHeader
headers.
Examples
>>> header = sunpy.io.ana.get_header(filename)