def apogeeField(dr=None): """ NAME: apogeeField PURPOSE: read the apogeeField file INPUT: dr= return the file corresponding to this data release OUTPUT: apogeeField file HISTORY: 2013-11-04 - Written - Bovy (IAS) """ filePath = path.apogeeFieldPath(dr=dr) if not os.path.exists(filePath): download.apogeeField(dr=dr) return fitsio.read(filePath)
def apogeeField(dr=None): """ NAME: apogeeField PURPOSE: read the apogeeField file INPUT: dr= return the file corresponding to this data release OUTPUT: apogeeField file HISTORY: 2013-11-04 - Written - Bovy (IAS) """ filePath= path.apogeeFieldPath(dr=dr) if not os.path.exists(filePath): download.apogeeField(dr=dr) return fitsio.read(filePath)