TRES This IRAF package contains most of the software needed to reduce spectra from the TRES Echelle Spectrograph which is on the 1.5-meter Tillinghast Reflector on Mt. Hopkins in Arizona. Type " mkpkg " to set the architecture of the computer on which IRAF is running. Options are ssun for Sparc Solaris, redhat for Redhat Linux, macosx for Apple Macintosh computers running OSX, and macintel for Apple Macintosh computers running OS X on Intel CPUs. Type " mkpkg update" to produce binary executables in tres$bin. The default is bin.generic if "mkpkg is not used. Copy to most recent tresdata tar file, currently ftp://cfa-ftp.harvard.edu/pug/iraf/tresdata20081014.tar.gz and install it in in your IRAF tree. Check out http://tdc-www.harvard.edu/instruments/tres/reduce.html to find out how to process TRES data. For a revision history, see the NEWS file. Recent changes include: TRES 1.1.4 December 18, 2008 Fix GETTIME so that it is possible to get the current time Change GETTIME calls in processing tasks to get current time correctly In THARSET, add TIDSHIFT=0, TIDREF, and TIDMJD to FITS header In TTRES and THARSET, allow sequence number as reference spectrum In TEXTRACT1 and TFLAT1, resolve reference flat fields to dated file In TPROC and TCAL1, resolve reference ThAr to dated file Rewrite TFIB1 to use fewer string variables because limit was hit TRES 1.1.3 December 11, 2008 Add parameters to TFIB1 for more complete database creation Add program selection by number to TRSLIST and TRSGROUP Make @ optional for list file input to CTRES, FTRES, and TTRES Print observing program as last column in database files Handle negative times (such as HA) correctly in GETTIME Add TRSPEC task to search TRES database for specific object, program, apfib Add TDATE task to set TRES parameters for current directory if raw or quicklook Add deltemp parameter to TSETBCV task Update help files Return nfiles parameter from TRSSUM, TRSAVG, and TRSMED Return null string from TRSSUM, TRSAVG, and TRSMED if nfiles=0 Return imput image as outfile from TRSSUM, TRSAVG, and TRSMED if nfiles=1 In TPROC, do not process summed file if only one input file Fix bugs in FILEPATH and TFIB1 to deal with missing and zero-length files Fix TRSLIST and TRSFILES to deal better with missing and zero-length files Deal correctly with single file lists in TMAKEFLAT TRES 1.1.2 November 5, 2008 Add new task TCHECK to avoid running quick look in raw data directory If TRSPROC, QTRES, CTRES, FTRES, or TTRES run in raw directory, switch to quick-look directory for date, process, and return (2008-10-16) Default saveraw to yes in QTRES, CTRES, FTRES, and TTRES Add saveraw parameter to TRSPROC and default to no Fix TQUICK so it works Add optional datedir parameter to TDATA Add threshold parameter to CTRES, FTRES, CTRES, and TPROC to remove cosmics better (2008-10-15) Add feature to TPROC to interactively refit a spectrum specified by the new compstd parameter and turn it into a local shift standard Add compstd parameter to TTRES (2008-10-16) Set pemsao.vel_corr="none" in THARPLOT (2008-10-23) Add quickdir parameter to TCHECK (2008-10-24) TDATA will go from a quick look directory to raw data of same date TQUICK will go from a raw data directory to quick look of same date Add TSETBCV to set barycentric velocity correction and HJD midtime (2008 -10-27) Call TSETBCV from TPROC so all pipelined files have BCV in their header (2008-10-27) In TCOSBAD, avoid dividing by zero (2008-10-28) In TCOSMIC, add null string value arguement to HEDIT when deleting keywo rds In TRSSUM, TRSMED, and TRSAVG, update image header parameters Fix current time bug in GETTIME (2008-1104) In TRSSUM, TRSAVG, and TRSMED, compute positions only for OBJECT(2008-11105) TRES 1.1.1 September 25, 2008 In TFLAT/TFLAT1, always use local normalization file if it is there Add nsmooth parameter to THARPLOT and default it to zero In TFLAT, assign saveold to sv to fix bug Add TFLATSET to copy FLAT images and database/ap entries to standard In THARSET, record original file date directory and name TRES 1.1.0 September 19, 2008 Add RVSAO RVRELEARN to TRELEARN This is a new release because RVSAO rvsao.cl has a new parameter to better keep track of versions and because calibration shifts work. Change GETTIME datediff in days to timediff in hours Add TDATA task to go to current raw data directory Add TQUICK task to go to current quick-look directory (using TRSDATE) Add option to use medan pixel shift in TCAL1 instead of mean with a new parameter, medshift in TTRES, CTRES, TPROC, TCAL, and TCAL1 TRES 1.0.8 September 12, 2008 Add debug and xdebug parameters to TCAL, xdebug to TCAL1 for pxcsao debugging mode TREFIT is a new task to refit calibration lines without intervention In CTRES, plot ThAr spectra with THARPLOT In TAPREF, copy reference image and database file instead of linking Fix bug in TMODID to avoid double shifting Add TRSDUMP to save all relevant pipeline task parameters in one file Add input pixel shift to TCAL and TCAL1 -Doug Mink, 2008-12-18