RFSClient#
- class radiospectra.net.RFSClient[source]#
Bases:
GenericClient
Provides 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 kHz ----------------------- ----------------------- ---------- ------ -------- ----------------- 2019-10-02 00:00:00.000 2019-10-02 23:59:59.999 RFS PSP SPDF 10.0 .. 1700.0 2019-10-03 00:00:00.000 2019-10-03 23:59:59.999 RFS PSP SPDF 10.0 .. 1700.0 2019-10-04 00:00:00.000 2019-10-04 23:59:59.999 RFS PSP SPDF 10.0 .. 1700.0 2019-10-05 00:00:00.000 2019-10-05 23:59:59.999 RFS PSP SPDF 10.0 .. 1700.0 2019-10-02 00:00:00.000 2019-10-02 23:59:59.999 RFS PSP SPDF 1300.0 .. 19200.0 2019-10-03 00:00:00.000 2019-10-03 23:59:59.999 RFS PSP SPDF 1300.0 .. 19200.0 2019-10-04 00:00:00.000 2019-10-04 23:59:59.999 RFS PSP SPDF 1300.0 .. 19200.0 2019-10-05 00:00:00.000 2019-10-05 23:59:59.999 RFS PSP SPDF 1300.0 .. 19200.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 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
- baseurl = 'https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/{Wavelength}/{year}/psp_fld_l2_(\\w){{7}}_(\\d){{8}}_v(\\d){{2}}.cdf'#
- pattern = '{}/{Wavelength}/{year:4d}/psp_fld_l2_{Wavelength}_{year:4d}{month:2d}{day:2d}_v{: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.