GONGClient#

class sunpy.net.dataretriever.GONGClient[source]#

Bases: GenericClient

Provides access to the Magnetogram products of NSO-GONG synoptic Maps.

Searches data hosted by the National Solar Observatory

Examples

>>> from sunpy.net import Fido, attrs as a
>>> results = Fido.search(a.Time("2019/12/31 22:00", "2020/1/1 02:00"),
...                       a.Instrument('GONG'))  
>>> results  
<sunpy.net.fido_factory.UnifiedResponse object at ...>
Results from 1 Provider:

5 Results from the GONGClient:
Source: https://gong2.nso.edu/oQR/zqs

       Start Time               End Time        ... Provider ExtentType
----------------------- ----------------------- ... -------- ----------
2019-12-31 22:14:00.000 2019-12-31 22:14:59.999 ...      NSO   SYNOPTIC
2019-12-31 23:04:00.000 2019-12-31 23:04:59.999 ...      NSO   SYNOPTIC
2019-12-31 23:54:00.000 2019-12-31 23:54:59.999 ...      NSO   SYNOPTIC
2020-01-01 00:14:00.000 2020-01-01 00:14:59.999 ...      NSO   SYNOPTIC
2020-01-01 01:14:00.000 2020-01-01 01:14:59.999 ...      NSO   SYNOPTIC

Attributes Summary

baseurl

info_url

This should return a string that is a URL to the data server or documentation on the data being served.

pattern

Methods Summary

register_values()

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

Attributes Documentation

baseurl = 'https://gong2.nso.edu/oQR/zqs/%Y%m/mrzqs%y%m%d/mrzqs%y%m%dt%H%Mc(\\d){4}_(\\d){3}\\.fits.gz'#
info_url#
pattern = '{}/zqs/{year:4d}{month:2d}/mrzqs{:4d}{day:2d}/mrzqs{:6d}t{hour:2d}{minute:2d}c{}'#

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”).