WAVESClient#

class radiospectra.net.WAVESClient[source]#

Bases: GenericClient

Provides access to WIND/WAVES IDL binary data hosted at NASA Goddard Space Physics Data Facility (SPDF).

Examples

>>> import radiospectra.net
>>> from sunpy.net import Fido, attrs as a
>>> results = Fido.search(a.Time("2020/01/01", "2020/01/02"),
...                       a.Instrument("WAVES"))
>>> results
<sunpy.net.fido_factory.UnifiedResponse object at ...>
Results from 1 Provider:

4 Results from the WAVESClient:

       Start Time               End Time        Instrument Source Provider     Wavelength
                                                                                    kHz
----------------------- ----------------------- ---------- ------ -------- -----------------
2020-01-01 00:00:00.000 2020-01-01 23:59:59.999      WAVES   WIND     SPDF    20.0 .. 1040.0
2020-01-02 00:00:00.000 2020-01-02 23:59:59.999      WAVES   WIND     SPDF    20.0 .. 1040.0
2020-01-01 00:00:00.000 2020-01-01 23:59:59.999      WAVES   WIND     SPDF 1075.0 .. 13825.0
2020-01-02 00:00:00.000 2020-01-02 23:59:59.999      WAVES   WIND     SPDF 1075.0 .. 13825.0

Attributes Summary

Methods Summary

post_search_hook(exdict, matchdict)

Convert receiver metadata to the receiver frequency ranges.

register_values()

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

pattern = 'https://spdf.gsfc.nasa.gov/pub/data/wind/waves/{receiver}_idl_binary/{year_path}/wind_waves_{receiver}_{{year:4d}}{{month:2d}}{{day:2d}}.{ext}'#

Methods Documentation

post_search_hook(exdict, matchdict)[source]#

Convert receiver metadata to the receiver frequency ranges.

classmethod register_values()[source]#

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

Returns:

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

Return type:

dict

search(*args, **kwargs)[source]#

Query this client for a list of results.

Parameters:
  • *args (tuple) – sunpy.net.attrs objects representing the query.

  • **kwargs (dict) – Any extra keywords to refine the search.

Return type:

A QueryResponse instance containing the query result.