ILOFARMode357Client#

class radiospectra.net.ILOFARMode357Client[source]#

Bases: GenericClient

Provides access to I-LOFAR mode 357 observations from the data archive

Examples

>>> import radiospectra.net
>>> from sunpy.net import Fido, attrs as a
>>> results = Fido.search(a.Time("2021/09/01", "2021/09/21"),
...                       a.Instrument('ILOFAR'))  
>>> results 
<sunpy.net.fido_factory.UnifiedResponse object at ...>
Results from 1 Provider:

10 Results from the ILOFARMode357Client:

       Start Time               End Time        ... Provider Polarisation
----------------------- ----------------------- ... -------- ------------
2021-09-14 07:39:13.000 2021-09-14 07:39:13.999 ...   ILOFAR            X
2021-09-14 07:39:13.000 2021-09-14 07:39:13.999 ...   ILOFAR            Y
2021-09-01 08:07:29.000 2021-09-01 08:07:29.999 ...   ILOFAR            X
2021-09-01 08:07:29.000 2021-09-01 08:07:29.999 ...   ILOFAR            Y
2021-09-07 08:07:52.000 2021-09-07 08:07:52.999 ...   ILOFAR            X
2021-09-07 08:07:52.000 2021-09-07 08:07:52.999 ...   ILOFAR            Y
2021-09-08 08:04:07.000 2021-09-08 08:04:07.999 ...   ILOFAR            X
2021-09-08 08:04:07.000 2021-09-08 08:04:07.999 ...   ILOFAR            Y
2021-09-08 10:34:31.000 2021-09-08 10:34:31.999 ...   ILOFAR            X
2021-09-08 10:34:31.000 2021-09-08 10:34:31.999 ...   ILOFAR            Y

Attributes Summary

baseurl

pattern

Methods Summary

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

baseurl = 'https://data.lofar.ie/%Y/%m/%d/bst/kbt/{dataset}/%Y%m%d_\\d{{6}}_bst_00\\S{{1}}.dat'#
pattern = '{}/{year:4d}{month:2d}{day:2d}_{hour:2d}{minute:2d}{second:2d}_bst_00{Polarisation}.dat'#

Methods Documentation

classmethod register_values()[source]#

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

Returns:

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

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.

Returns:

A QueryResponse instance containing the query result.