예제 #1
0
def _wind(starttime, endtime, identifier, units=None, badvalues=None):
    """
    Generic method for downloading ACE data.
    """
    dataset = 'wi'
    return cdasrest._process_cdas(starttime, endtime, identifier, dataset,
                                  wind_dir,
                                  units=units,
                                  badvalues=badvalues)
예제 #2
0
def _imp8(starttime, endtime, identifier, units=None, badvalues=None,
          warn_missing_units=True):
    """
    Generic method for downloading IMP8 data.
    """
    dataset = 'imp8'
    return cdasrest._process_cdas(starttime, endtime, identifier, dataset,
                                  imp_dir,
                                  units=units,
                                  badvalues=badvalues,
                                  warn_missing_units=warn_missing_units)
예제 #3
0
def _messenger(starttime, endtime, identifier, units=None):
    """
    Generic method for downloading IMP8 data.
    """
    dataset = 'messenger'
    return cdasrest._process_cdas(starttime,
                                  endtime,
                                  identifier,
                                  dataset,
                                  mess_dir,
                                  units=units)
예제 #4
0
파일: helios.py 프로젝트: xypnox/heliopy
def _helios(starttime, endtime, identifier, units=None, badvalues=None,
            warn_missing_units=True):
    """
    Generic method for downloading Helios data from CDAWeb.
    """
    dataset = 'helios'
    return cdasrest._process_cdas(starttime, endtime, identifier, dataset,
                                  helios_dir,
                                  units=units,
                                  badvalues=badvalues,
                                  warn_missing_units=warn_missing_units)
예제 #5
0
def _ace(starttime, endtime, identifier, units=None,
         warn_missing_units=True):
    """
    Generic method for downloading ACE data.
    """
    dataset = 'ac'
    badvalues = 1e-31
    return cdasrest._process_cdas(starttime, endtime, identifier, dataset,
                                  ace_dir,
                                  units=units,
                                  badvalues=badvalues,
                                  warn_missing_units=warn_missing_units)