SWAVESClient#
- class radiospectra.net.SWAVESClient[source]#
Bases:
GenericClient
Provides access to STEREO S-WAVES radio.
Examples
>>> import radiospectra.net >>> from sunpy.net import Fido, attrs as a >>> results = Fido.search(a.Time("2010/10/01", "2010/10/02"), ... a.Instrument('SWAVES')) >>> results[1] <sunpy.net.dataretriever.client.QueryResponse object at ...> Start Time End Time ... Provider Wavelength ... kHz ----------------------- ----------------------- ... -------- ---------------- 2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 10.0 .. 160.0 2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 10.0 .. 160.0 2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 125.0 .. 16000.0 2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 125.0 .. 16000.0 2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 10.0 .. 160.0 2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 10.0 .. 160.0 2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 125.0 .. 16000.0 2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 125.0 .. 16000.0
Attributes Summary
Methods Summary
post_search_hook
(exdict, matchdict)This method converts 'rfs_hfr' and 'rfs_lfr' in the url's metadata to the frequency ranges.
This enables the client to register what kind of Attrs it can use directly.
search
(*args, **kwargs)Query this client for a list of results.
Attributes Documentation
- baseurl = 'https://solar-radio.gsfc.nasa.gov/data/stereo/summary/{year}/swaves_average_(\\d){{8}}_{Spacecraft}_{Wavelength}.dat'#
- pattern = '{}/{year:4d}/swaves_average_{year:4d}{month:2d}{day:2d}_{Spacecraft}_{Wavelength}.dat'#
Methods Documentation
- post_search_hook(exdict, matchdict)[source]#
This method converts ‘rfs_hfr’ and ‘rfs_lfr’ in the url’s metadata to the frequency ranges.
of for low and high frequency receivers.