RFSClient#
- class radiospectra.net.RFSClient[source]#
Bases:
GenericClientProvides access to Parker Solar Probe FIELDS Radio Frequency Spectrometer data archive 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("2019/10/02", "2019/10/05"), ... a.Instrument('rfs')) >>> results <sunpy.net.fido_factory.UnifiedResponse object at ...> Results from 1 Provider: 8 Results from the RFSClient: Start Time End Time Instrument Source Provider Wavelength version kHz ----------------------- ----------------------- ---------- ------ -------- ----------------- ------- 2019-10-02 00:00:00.000 2019-10-02 23:59:59.999 RFS PSP SPDF 10.0 .. 1700.0 3 2019-10-03 00:00:00.000 2019-10-03 23:59:59.999 RFS PSP SPDF 10.0 .. 1700.0 3 2019-10-04 00:00:00.000 2019-10-04 23:59:59.999 RFS PSP SPDF 10.0 .. 1700.0 3 2019-10-05 00:00:00.000 2019-10-05 23:59:59.999 RFS PSP SPDF 10.0 .. 1700.0 3 2019-10-02 00:00:00.000 2019-10-02 23:59:59.999 RFS PSP SPDF 1300.0 .. 19200.0 3 2019-10-03 00:00:00.000 2019-10-03 23:59:59.999 RFS PSP SPDF 1300.0 .. 19200.0 3 2019-10-04 00:00:00.000 2019-10-04 23:59:59.999 RFS PSP SPDF 1300.0 .. 19200.0 3 2019-10-05 00:00:00.000 2019-10-05 23:59:59.999 RFS PSP SPDF 1300.0 .. 19200.0 3
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 for low and high frequency receivers.
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/psp/fields/l2/{receiver}/{year_path}/psp_fld_l2_{{Wavelength}}_{{year:4d}}{{month:2d}}{{day:2d}}_v{{version:2d}}.cdf'#
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 for low and high frequency receivers.
- 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:
- search(*args, **kwargs)[source]#
Query this client for a list of results.
- Parameters:
*args (
tuple) –sunpy.net.attrsobjects representing the query.**kwargs (
dict) – Any extra keywords to refine the search.
- Return type:
A
QueryResponseinstance containing the query result.