QueryResponse

class sunpy.net.vso.QueryResponse(lst, queryresult=None, table=None)[source] [edit on github]

Bases: list

A container for VSO Records returned from VSO Searches.

Methods Summary

add_error(exception)

build_table()

Create a human readable table.

create(queryresult)

response_block_properties()

Returns a set of class attributes on all the response blocks.

search(*query)

Furtherly reduce the query response by matching it against another query, e.g.

time_range()

Return total time-range all records span across.

total_size()

Total size of data in KB.

Methods Documentation

add_error(exception)[source] [edit on github]
build_table()[source] [edit on github]

Create a human readable table.

Returns

table (astropy.table.QTable)

classmethod create(queryresult)[source] [edit on github]
response_block_properties()[source] [edit on github]

Returns a set of class attributes on all the response blocks.

Returns

s (list) – List of strings, containing attribute names in the response blocks.

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

Furtherly reduce the query response by matching it against another query, e.g. response.search(attrs.Instrument(‘aia’)).

time_range()[source] [edit on github]

Return total time-range all records span across.

total_size()[source] [edit on github]

Total size of data in KB. May be less than the actual size because of inaccurate data providers.