get_data

heliopy.data.cdasrest.get_data(dataset, starttime, endtime, vars=None, timeout=100)

Download CDAS data.

Parameters
  • dataset (string) – Dataset identifier.

  • starttime (datetime.datetime) – Beginning of interval.

  • endtime (datetime.datetime) – End of interval.

  • vars (list of str, optional) – Variables to download. If None, all variables for the given dataset will be downloaded.

  • timeout (float, optional) – Timeout on the CDAweb remote requests, in seconds. Defaults to 10s.

Returns

data_path – Path to downloaded data (stored in a temporary directroy)

Return type

str