CALLISTOClient#
- class radiospectra.net.CALLISTOClient[source]#
Bases:
GenericClient
Provides access to eCallisto radio spectrometer data archive.
Notes
Specific information on the meaning of the filename.
Examples
>>> from radiospectra import net >>> from sunpy.net import Fido, attrs as a >>> query = Fido.search(a.Time('2019/10/05 23:00', '2019/10/05 23:30'), ... a.Instrument('eCALLISTO'), net.Observatory('ALASKA')) >>> query <sunpy.net.fido_factory.UnifiedResponse object at ...> Results from 1 Provider: 3 Results from the CALLISTOClient: Start Time End Time Provider ... Observatory ID ----------------------- ----------------------- --------- ... ----------- --- 2019-10-05 23:00:00.000 2019-10-05 23:14:59.999 ECALLISTO ... ALASKA 59 2019-10-05 23:15:00.000 2019-10-05 23:29:59.999 ECALLISTO ... ALASKA 59 2019-10-05 23:30:00.000 2019-10-05 23:44:59.999 ECALLISTO ... ALASKA 59
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.pre_search_hook
(*args, **kwargs)Helper function to return the baseurl, pattern and matchdict for the client required by
search()
before using the scraper.This enables the client to register what kind of Attrs it can use directly.
Attributes Documentation
- baseurl = 'http://soleil80.cs.technik.fhnw.ch/solarradio/data/2002-20yy_Callisto/%Y/%m/%d/{obs}_%Y%m%d_%H%M%S_(\\d){{2}}.fit.gz'#
- pattern = '{}/2002-20yy_Callisto/{year:4d}/{month:2d}/{day:2d}/{Observatory}_{year:4d}{month:2d}{day:2d}_{hour:2d}{minute:2d}{second:2d}_{ID:2d}.fit.gz'#
Methods Documentation
- post_search_hook(exdict, matchdict)[source]#
Helper function used after
search()
which makes the extracted metadata representable in a query response table.- Parameters:
- Returns:
rowdict (
OrderedDict
) – An Ordered Dictionary which is used byQueryResponse
to show results.