get_datasets#

sunpy.net.cdaweb.get_datasets(observatory)[source]#

Get a list of datasets for a given observatory.

Parameters:

observatory (str) – Observatory name.

Returns:

astropy.table.Table

Examples

>>> from sunpy.net.cdaweb import get_datasets
>>>
>>> datasets = get_datasets('STEREOB') 
>>> datasets['Id'] 
<Column name='Id' dtype='str17' length=5>
    STB_LB_IMPACT
STB_L1_IMPACT_HKP
       STB_L1_HET
  STB_L2_SWEA_PAD
 STB_L1_SWEA_SPEC
>>> datasets.loc['STB_L1_SWEA_SPEC']['Label'] 
'STEREO Behind IMPACT/SWEA Spectra - J. Luhmann (UCB/SSL)'
>>> datasets.loc['STB_L1_SWEA_SPEC'][['Start', 'End']] 
<Row index=4>
         Start                     End
         str24                    str24
------------------------ ------------------------
2012-12-01T00:00:03.000Z 2013-12-31T23:59:41.000Z