run_make_todo.py command line utility
Create the TODO list which is used by the pipeline to keep track of the targets that needs to be processed.
Example
In order to create to TODO list for the directory in the TESSPHOT_INPUT
environment variable simply run the program without any further input:
>>> python run_make_todo.py
This will create the file todo.sqlite
in the directory defined in the
TESSPHOT_INPUT
environment variable.
Example
If you want to create the TODO file for a specific directory (ignoring the
TESSPHOT_INPUT
environment variable), you can simply call the script
with the directory you want to process:
>>> python run_make_todo.py /where/ever/you/want/
Note
This program assumes that the directory already contains “catalog” files for
the given sector. These can be create using the run_make_catalog()
utility.
Code author: Rasmus Handberg <rasmush@phys.au.dk>
Command help
usage: run_make_todo.py [-h] [-d] [-q] [-o] [--sector SECTOR]
[--camera {1,2,3,4}] [--ccd {1,2,3,4}]
[input_folder]
Create TODO file for TESS Photometry.
positional arguments:
input_folder TESSPhot input directory to create TODO file in.
optional arguments:
-h, --help show this help message and exit
-d, --debug Print debug messages.
-q, --quiet Only report warnings and errors.
-o, --overwrite Overwrite existing TODO file.
Filter which targets to include:
--sector SECTOR TESS Sector. Default is to run all sectors.
--camera {1,2,3,4} TESS Camera. Default is to run all cameras.
--ccd {1,2,3,4} TESS CCD. Default is to run all CCDs.