SRSClient

class sunpy.net.dataretriever.SRSClient[source]

Bases: sunpy.net.dataretriever.GenericClient

Provides access to the NOAA SWPC solar region summary data.

Uses the ftp archive.

Examples

>>> from sunpy.net import Fido, attrs as a
>>> results = Fido.search(a.Time("2016/1/1", "2016/1/2"),
...                       a.Instrument.soon)  
>>> results  
<sunpy.net.fido_factory.UnifiedResponse object at ...>
Results from 1 Provider:

2 Results from the SRSClient:
     Start Time           End Time        Source  Instrument Wavelength
------------------- ------------------- --------- ---------- ----------
2016-01-01 00:00:00 2016-01-02 00:00:00 NOAA/USAF       SOON        nan
2016-01-01 00:00:00 2016-01-02 00:00:00 NOAA/USAF       SOON        nan

Methods Summary

fetch(qres[, path, error_callback])

Download a set of results.

register_values()

This enables the client to register what kind of Attrs it can use directly.

Methods Documentation

fetch(qres, path=None, error_callback=None, **kwargs)[source]

Download a set of results.

Parameters

qres (QueryResponse) – Results to download.

Returns

Results Object

classmethod register_values()[source]

This enables the client to register what kind of Attrs it can use directly.

Returns

dict – A dictionary with key values of Attrs and the values are a tuple of (“Attr Type”, “Name”, “Description”).