noraeisner / LATTE

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

[LATTE-dev] The recent Evolutionary tracks plot failed #28

Closed orionlee closed 4 years ago

orionlee commented 4 years ago

Update: recent commits requires reruning python -m LATTE --new-data


With the recent commits (at 9f762f9) , LATTE tries to create a new Evolutionary tracks plot, which seems to fail consistently.

E.g., for the following TICs, it worked in recent commits a few days ago (94e4ddf), but is now failing.

Periodogram plot... done.
Evolutionary tracks plot... TIC 382602147 failed to complete. Continue anyway. You can find a list of the failed IDs stored in the output folder.

The TICs I've tried:

TICID,sectors,t0,period,BLS,model,FFI
382602147,28,2062.3424200001173,2.1355143,yes,0,no

For the following input, the GUI showed up. It still failed, but have reported some information.

TICID,sectors,transits,BLS,model,FFI
144193715,28,2065.53,yes,0,no
Traceback (most recent call last):
  File "C:\pkg\_winNonPortables\Anaconda3\envs\LATTE-dev\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\pkg\_winNonPortables\Anaconda3\envs\LATTE-dev\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\dev\_juypter\LATTE\LATTE\__main__.py", line 653, in <module>
    utils.interact_LATTE(tic, indir, syspath, sectors_all, sectors, ra, dec, args)
  File "C:\dev\_juypter\LATTE\LATTE\LATTEutils.py", line 690, in interact_LATTE
    brew.brew_LATTE(tic, indir, syspath, transit_list, simple, BLS, model, save, DV, sectors, sectors_all, alltime, allflux, allflux_err, all_md, alltimebinned, allfluxbinned, allx1, allx2, ally1, ally2, alltime12, allfbkg, start_sec, end_sec, in_sec, tessmag, teff, srad, ra, dec, args)
  File "C:\dev\_juypter\LATTE\LATTE\LATTEbrew.py", line 341, in brew_LATTE
    utils.eep_target(tic, indir, syspath, teff, srad, args)
  File "C:\dev\_juypter\LATTE\LATTE\LATTEutils.py", line 6264, in eep_target
    exoplanets = pd.read_csv(infile, comment = '#')
...
  File "pandas\_libs\parsers.pyx", line 653, in pandas._libs.parsers.TextReader._setup_parser_source

FileNotFoundError: [Errno 2] No such file or directory: './dataLATTE/data/TOI_list_star_params.txt'
Evolutionary tracks plot...

The requested file does not exist

$ls ./dataLATTE/data/TOI*.txt
./dataLATTE/data/TOI_list.txt