ASWSClient#
- class radiospectra.net.ASWSClient[source]#
Bases:
GenericClientProvides access to Learmonth Solar Observatory dynamic spectra (SRS format) hosted at the Australian Bureau of Meteorology Space Weather Services World Data Centre archive. The client is called “ASWS” for “Australian Space Weather Service”.
Learmonth is part of the RSTN network, so this client uses the same
Instrument('RSTN')/Observatory('Learmonth')query convention asRSTNClient. The two clients differ byProvider:'RSTN'for the NOAA NGDC mirror (pre-2019) and'SWS'for the actively-updated SWS archive served here.Examples
>>> from radiospectra import net >>> from radiospectra.net.attrs import Observatory >>> from sunpy.net import Fido, attrs as a >>> query = Fido.search(a.Time('2024/05/11 00:00', '2024/05/11 23:59'), ... a.Instrument('RSTN'), Observatory('Learmonth'), a.Provider("ASWS")) >>> query <sunpy.net.fido_factory.UnifiedResponse object at ...> Results from 1 Provider: 1 Results from the ASWSClient: Start Time End Time Provider Instrument Observatory ----------------------- ----------------------- -------- ---------- ----------- 2024-05-11 00:00:00.000 2024-05-11 23:59:59.999 ASWS RSTN Learmonth
Attributes Summary
Methods Summary
post_search_hook(exdict, matchdict)Helper function used after
search()which makes the extracted metadata representable in a query response table.This enables the client to register what kind of Attrs it can use directly.
Attributes Documentation
- pattern = 'https://downloads.sws.bom.gov.au/wdc/wdc_spec/data/learmonth/raw/{{year:2d}}/LM{{year:2d}}{{month:2d}}{{day:2d}}.srs'#
Methods Documentation