TRES spectra

Processing TRES Spectrograph Data
Jessica Mink, 2023-May-08 2018-October-22

Telescope Data Center
TRES ThAr Image
[TDC Home]  [TDC Search] [OIR Home]
[Observation] [IDL Pipeline)] (Software) [Archive]

[TRES Data Directories] [Raw Data Keywords] [Reduced Data Keywords]

All TRES data since July 6, 2020 has been reduced this way

Task

Commands to Reduce Last Night's Data

5. Run multi-order cross-correlations of red TRES spectra

  1. Run tsm to use Jonathan's Python supermulti program, modified by Emily Pass, to run multi-order cross-correlations on TRES spectra of objects cooler than 4500 degrees. Because it is multi-tasked, this task is best run on a compute server. It can be started from any directory, and runs in in the background because no interaction is necessary.

  2. Run ps to list process to find out how when the processing is done.
    There should be

  3. When tsm is complete, run tressm1 to copy results to the TRES data archive in yyyy-mm-/SM/.txt.

1. Create and catalog TRES raw data archive

2. Run TRES reduction and classification IDL pipeline

3. Check TRES spectra and clean cosmic rays and hot pixels

4. Reclassify Spectra

5. Run multi-order cross-correlation of red TRES spectra

6. Run multi-order cross-correlations of selected TRES spectra

For data on night of January 13, 2023:

> tsm 2023-01-13
/data/tres/python/forAllyson
2023-01-13 1
TSM: Running supermulti on TRES data for night of 2023-01-13
[1] 63359
/data/tres/python/forAllyson
fleming.tres 35>
/home/tres/tred/2023-01-13/CUCnc_2023-01-14_09h18m59s_cb.spec.fits
/data/tres/python/forAllyson/jonathan_code/tres/read_spec.py:201:
UserWarning: object CUCnc not found in srclist
  warnings.warn("object " + objname + " not found in srclist")
#Filename
BJD-TDB       vrad     e_vrad     h     exptime vsini 
/home/tres/tred/2023-01-13/CUCnc_2023-01-14_09h18m59s_cb.spec.fits
2459958.9107  -48.1949 0.060250   0.809 2660.00  7.08
/home/tres/tred/2023-01-13/G68-34_2023-01-14_01h46m45s_cb.spec.fits
Check to make sure task is running

> ps
   PID TTY          TIME CMD
 55989 pts/4    00:00:00 tcsh
 63359 pts/4    00:00:00 bash
 63591 pts/4    00:00:00 python
 63658 pts/4    00:00:00 python
 63659 pts/4    00:00:00 ps
>

/data/tres/python/forAllyson/jonathan_code/tres/read_spec.py:201:
UserWarning: object G68-34 not found in srclist
  warnings.warn("object " + objname + " not found in srclist")
#Filename
BJD-TDB       vrad     e_vrad     h     exptime vsini 
/home/tres/tred/2023-01-13/G68-34_2023-01-14_01h46m45s_cb.spec.fits
2459958.5942  -99.9477 0.441376   0.540 3600.00 23.20
Check to make sure task is finished

> ps
   PID TTY          TIME CMD
 55989 pts/4    00:00:00 tcsh
 64662 pts/4    00:00:00 ps
Copy results to data archive

> tressm1 2023-01-13
TRESSM1: 2 /home/tres/tred/2023-01-13/SM/to_upload.txt super-multi
results copied
from /data/tres/python/forAllyson/results to
/home/tres/tred/2023-01-13/SM
Copying from list /home/tres/tred/2023-01-13/SM/pdf.list to directory
/home/tres/tred/2023-01-13/SM
Check results in data archive

> ls /home/tres/tred/2023-01-13/SM
CUCnc_2023-01-14_09h18m59s_cb.spec.fits_inone.pdf
G68-34_2023-01-14_01h46m45s_cb.spec.fits_inone.pdf  to_upload.txt

> cat /home/tres/tred/2023-01-13/SM/to_upload.txt
CUCnc 2459958.91067 -48.195 0.06 0 0 0 0 0 0 7.08 0 0.809 35.1 0 6 2660.0 tres m SM
/home/tres/tred/2023-01-13/SM/CUCnc_2023-01-14_09h18m59s_cb.spec.fits_inone.pdf none
G68-34 2459958.59417 -99.948 0.441 0 0 0 0 0 0 23.2 0 0.54 13.1 0 6 3600.0 tres m SM
/home/tres/tred/2023-01-13/SM/G68-34_2023-01-14_01h46m45s_cb.spec.fits_inone.pdf none

Click for larger image

Click for larger image