noraeisner / LATTE

Lightcurve Analysis Tool for Transiting Exoplanet
GNU Lesser General Public License v3.0
39 stars 10 forks source link

Regression: cannot run in batch mode #40

Open orionlee opened 3 years ago

orionlee commented 3 years ago

With the current code in master, running LATTE in batch mode almost always silently failed.

E.g. with the following input csv,

TICID,sectors,transits,BLS,model,FFI
128703021,"11,38","1601.85,2342.27",no,0,no

It failed after downloading the lightcurve fits files.

$python -m LATTE --targetlist=dataLATTE/input128703021.csv
Downloading https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat
|===========================================| 1.3k/1.3k (100.00%)         0s
Downloading https://mast.stsci.edu/api/v0.1/Download/file/?uri=mast:TESS/product/tess2019112060037-s0011-0000000128703021-0143-s_lc.fits
|===========================================| 1.9M/1.9M (100.00%)         0s
Downloading https://mast.stsci.edu/api/v0.1/Download/file/?uri=mast:TESS/product/tess2021118034608-s0038-0000000128703021-0209-s_lc.fits
|===========================================| 1.9M/1.9M (100.00%)         0s
TIC 128703021 failed to complete. Continue anyway. You can find a list of the failed IDs stored in the output folder.

  Complete!