Documentation: https://diegohs79.github.io/lcexoplanet
Source Code: https://github.com/DiegoHS79/lcexoplanet
This is a package to manage exoplanets light curves.
We can directly download files just providing the space mission and the ID number of the mission:
from lcexoplanet.utils import SpaceMissionFitsDownload
SpaceMissionFitsDownload("k2", "220522664")
Output
You have selected: 220522664 object from K2 Space Mission
⤷ object available in c8: downloading ktwo220522664-c08_llc.fits into /Users/username/.lcexoplanet/fits/k2/c8
The package will create a folder structure into your local “username” to download a single FIT file.
If, for instance, the mission k2 have more than one FITS files in different campaigns, it will download all those files in its folders.