UnifiedResponse

class sunpy.net.fido_factory.UnifiedResponse(*results)[source]

Bases: collections.abc.Sequence

The object used to store results from search.

The Fido object returns results from multiple different clients. So it is always possible to sub-select these results, you can index this object with two indices. The first index is the client index, i.e. corresponding to the results from the VSOClient. The second index can be used to select records from the results returned from that client, for instance if you only want every second result you could index the second dimension with ::2.

Attributes Summary

file_num

responses

A generator of all the sunpy.net.dataretriever.QueryResponse objects contained in the UnifiedResponse object.

tables

Returns a list of astropy.table.Table for all responses present in a specific UnifiedResponse object.

Methods Summary

get_response(i)

Get the actual response rather than another UnifiedResponse object.

response_block_properties()

A set of class attributes on all the response blocks.

Attributes Documentation

file_num
responses

A generator of all the sunpy.net.dataretriever.QueryResponse objects contained in the UnifiedResponse object.

tables

Returns a list of astropy.table.Table for all responses present in a specific UnifiedResponse object. They can then be used to perform key-based indexing of objects of either type sunpy.net.dataretriever.QueryResponse, sunpy.net.vso.QueryResponse or sunpy.net.jsoc.JSOCClient

Returns

list – A list of astropy.table.Table, consisting of data either from the sunpy.net.dataretriever.QueryResponse, sunpy.net.vso.QueryResponse or sunpy.net.jsoc.JSOCClient.

Methods Documentation

get_response(i)[source]

Get the actual response rather than another UnifiedResponse object.

response_block_properties()[source]

A set of class attributes on all the response blocks.

Returns

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