HEKClient

class sunpy.net.hek.HEKClient(url='http://www.lmsal.com/hek/her')[source] [edit on github]

Bases: object

Client to interact with the Heliophysics Event Knowledgebase (HEK). The HEK stores solar feature and event data generated by algorithms and human observers.

Attributes Summary

default

Methods Summary

query(*query)

Deprecated since version 0.8.

search(*query) Retrieves information about HEK records matching the criteria given in the query expression.

Attributes Documentation

default = {'cmd': 'search', 'cosec': '2', 'event_coordsys': 'helioprojective', 'event_type': '**', 'type': 'column', 'x1': -5000, 'x2': 5000, 'y1': -5000, 'y2': 5000}

Methods Documentation

query(*query)[source] [edit on github]

Deprecated since version 0.8: The query function is deprecated and may be removed in a future version. Use HEKClient.search instead.

See fetch

search(*query)[source] [edit on github]

Retrieves information about HEK records matching the criteria given in the query expression. If multiple arguments are passed, they are connected with AND. The result of a query is a list of unique HEK Response objects that fulfill the criteria.