Пример #1
0
def raveon(dr=5, verbose=True, spider=False):
    filePath = path.raveonPath(dr=dr)
    if os.path.exists(filePath): return None
    if dr == 5:
        _download_file(\
            'https://zenodo.org/record/154381/files/RAVE-on-v1.0.fits.gz',
            filePath,verbose=verbose,spider=spider)
    return None
Пример #2
0
def raveon(dr=5):
    """
    NAME:
       raveon
    PURPOSE:
       Load the RAVE-on data
    INPUT:
       dr= (5) RAVE data release
    OUTPUT:
       data table
    HISTORY:
       2016-09-20 - Written - Bovy (UofT)
    """
    filePath = path.raveonPath(dr=dr)
    if not os.path.exists(filePath):
        download.raveon(dr=dr)
    data = fitsread(filePath, 1)
    return data