read#

sunpy.io.ana.read(filename, debug=False, **kwargs)[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 returns the data and a header in a list of (data, header) tuples.

Parameters:
  • filename (str) – Name of file to be read.

  • debug (bool, optional) – Prints verbose debug information.

  • **kwargs (dict) – Unused.

Returns:

list – A list of (data, header) tuples

Examples

>>> data = sunpy.io.ana.read(filename)