Processing TRES
Spectrograph Data
|
Task | Commands to Reduce Last Night's Data | ||
---|---|---|---|
2. Run TRES reduction and classification IDL pipeline
1. Create and catalog TRES raw data archive2. Run TRES reduction and classification IDL pipeline3. Check TRES spectra and clean cosmic rays and hot pixels4. Re-run TRES classification IDL pipeline5. Run multi-order cross-correlations of red TRES spectra6. Run multi-order cross-correlations of selected TRES spectra |
Reduce the night's data> treduce Reducing TRES data for night of 2023.0405 /home/tres/idl/tres [1] 196412 fleming.tres 24> ps PID TTY TIME CMD 165821 pts/0 00:00:00 tcsh 196412 pts/0 00:00:00 reduce_tres 196453 pts/0 00:00:00 reduce_tres1 196495 pts/0 00:00:00 idl 196517 pts/0 00:00:00 ps > ps PID TTY TIME CMD 165821 pts/0 00:00:00 tcsh 196412 pts/0 00:00:00 reduce_tres 196453 pts/0 00:00:00 reduce_tres1 196495 pts/0 00:11:21 idl 196748 pts/0 00:00:00 psCheck progress of treduce by listing reduced files. > tws Listing 1 spectrum FITS files in /home/tres/tred/2023-04-05 by RFN 3 150 20230405.0044Check again and find out that all of the files have been reduced > tws 2023-04-05 Listing 24 spectrum FITS files in /home/tres/tred/2023-04-05 by RFN 20230405.0044 3 150 HIP035253_2023-04-06_02h21m20s_cb.spec.fits 20230405.0047 3 135 HIP024130_2023-04-06_02h26m20s_cb.spec.fits 20230405.0050 3 270 HIP027269_2023-04-06_02h30m34s_cb.spec.fits 20230405.0054 3 3 Sirius_2023-04-06_02h42m32s_cb.spec.fits 20230405.0058 3 2890 T0011286229_2023-04-06_02h47m57s_cb.spec.fits 20230405.0062 6 30 HD39801_2023-04-06_03h46m45s_cb.spec.fits 20230405.0069 3 180 H38230_2023-04-06_03h58m10s_cb.spec.fits 20230405.0073 3 3060 T0090853136_2023-04-06_04h07m10s_cb.spec.fits 20230405.0077 3 1980 T0220144363_2023-04-06_05h02m52s_cb.spec.fits 20230405.0081 3 270 T0456260074_2023-04-06_05h42m58s_cb.spec.fits 20230405.0085 3 3240 T0094823134_2023-04-06_05h53m23s_cb.spec.fits 20230405.0089 3 600 T0265010875_2023-04-06_06h55m12s_cb.spec.fits 20230405.0093 3 180 H65583_2023-04-06_07h15m41s_cb.spec.fits 20230405.0097 3 300 S0027066428_2023-04-06_08h08m40s_cb.spec.fits 20230405.0101 3 400 S0224292761_2023-04-06_08h19m05s_cb.spec.fits 20230405.0105 3 330 S0068121645_2023-04-06_08h31m52s_cb.spec.fits 20230405.0109 3 540 S0351370842_2023-04-06_08h44m20s_cb.spec.fits 20230405.0113 3 720 S0321553459_2023-04-06_08h59m29s_cb.spec.fits 20230405.0117 3 120 H127334_2023-04-06_09h20m20s_cb.spec.fits 20230405.0121 3 3600 BA219012316_2023-04-06_09h28m25s_cb.spec.fits 20230405.0126 3 12 Vega_2023-04-06_11h05m17s_cb.spec.fits 20230405.0130 3 800 S0388310112_2023-04-06_11h13m08s_cb.spec.fits 20230405.0134 3 2940 T0366846982_2023-04-06_11h34m34s_cb.spec.fits 20230405.0138 3 129 HD185144_2023-04-06_12h28m40s_cb.spec.fits >Check to see whether the classification step is complete > twp 2023-04-05 nps = 24 TWP: Listing 24/24 TRES Postscript files in /home/tres/tred/2023-04-05/classifications -rw-r--r-- 1 tres tresgrp 303631 Apr 6 14:37 BA219012316.classify.TR.60040.91700.ps -rw-r--r-- 1 tres tresgrp 297240 Apr 6 14:37 H127334.classify.TR.60040.89359.ps -rw-r--r-- 1 tres tresgrp 301019 Apr 6 14:38 H38230.classify.TR.60040.66485.ps -rw-r--r-- 1 tres tresgrp 296665 Apr 6 14:38 H65583.classify.TR.60040.80486.ps -rw-r--r-- 1 tres tresgrp 300114 Apr 6 14:38 HD185144.classify.TR.60041.01998.ps -rw-r--r-- 1 tres tresgrp 301131 Apr 6 14:39 HD39801.classify.TR.60040.65654.ps -rw-r--r-- 1 tres tresgrp 298808 Apr 6 14:39 HIP024130.classify.TR.60040.60004.ps -rw-r--r-- 1 tres tresgrp 304893 Apr 6 14:39 HIP027269.classify.TR.60040.60461.ps -rw-r--r-- 1 tres tresgrp 295547 Apr 6 14:40 HIP035253.classify.TR.60040.59938.ps -rw-r--r-- 1 tres tresgrp 303381 Apr 6 14:40 S0027066428.classify.TR.60040.84513.ps -rw-r--r-- 1 tres tresgrp 304584 Apr 6 14:41 S0068121645.classify.TR.60040.86207.ps -rw-r--r-- 1 tres tresgrp 302190 Apr 6 14:41 S0224292761.classify.TR.60040.85241.ps -rw-r--r-- 1 tres tresgrp 303111 Apr 6 14:42 S0321553459.classify.TR.60040.88234.ps -rw-r--r-- 1 tres tresgrp 300859 Apr 6 14:42 S0351370842.classify.TR.60040.87172.ps -rw-r--r-- 1 tres tresgrp 304087 Apr 6 14:42 S0388310112.classify.TR.60040.97082.ps -rw-r--r-- 1 tres tresgrp 278990 Apr 6 14:44 Sirius.classify.TR.60040.61297.ps -rw-r--r-- 1 tres tresgrp 304273 Apr 6 14:44 T0011286229.classify.TR.60040.63186.ps -rw-r--r-- 1 tres tresgrp 301385 Apr 6 14:44 T0090853136.classify.TR.60040.68901.ps -rw-r--r-- 1 tres tresgrp 304989 Apr 6 14:45 T0094823134.classify.TR.60040.76553.ps -rw-r--r-- 1 tres tresgrp 302277 Apr 6 14:45 T0220144363.classify.TR.60040.72193.ps -rw-r--r-- 1 tres tresgrp 300274 Apr 6 14:45 T0265010875.classify.TR.60040.79515.ps -rw-r--r-- 1 tres tresgrp 308733 Apr 6 14:45 T0366846982.classify.TR.60040.99736.ps -rw-r--r-- 1 tres tresgrp 306504 Apr 6 14:46 T0456260074.classify.TR.60040.73924.ps -rw-r--r-- 1 tres tresgrp 280132 Apr 6 14:46 Vega.classify.TR.60040.96232.ps >When the following lines are printed, the night is reduced. > wc: /home/tres/tred/2023-04-05/tres.db: No such file or directory mv: cannot stat '/home/tres/tred/2023-04-05/tres.db': No such file or directory wc: /home/tres/tred/2023-04-05/tresps.db: No such file or directory mv: cannot stat '/home/tres/tred/2023-04-05/tresps.db': No such file or directory ls: No match. arg1="2023.0405" idate=2 date=2023-04-05 input=2023.0405 Copying /home/tres/tred/2023-04-05 to /home/tres/tred/Back/2023-04-05back REDUCE_TRES: Reduction of TRES data for 2023.0405 is completeHere are examples of one order each of two of the spectra produced:
|