INNER CODE UNIT · Python
astroNNAges
jobovy/gaia_tools · gaia_tools/load/__init__.py:250
def astroNNAges(**kwargs):
"""
NAME:
astroNNAges
PURPOSE:
read the astroNNAges file (Mackereth, Bovy, Leung, et al. 2019)
INPUT:
dr= data reduction to load the catalog for (automatically set based on APOGEE_REDUX if not given explicitly)
OUTPUT:
astroNN data
HISTORY:
2019-02-15 - Written - Bovy (UofT)
"""
if not _APOGEE_LOADED:
_warn_apogee_fallback()
dr= kwargs.get('dr',14)
filePath= path.astroNNAgesPath(dr=dr)
if not os.path.exists(filePath):