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/tresdata20080213.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. Recent changes include: 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 refits 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) 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 TRES 1.0.7 August 15, 2008 TCOSFIX adds another header parameter, TCOSREP, the number of bad pixels replaced TRSPROC is a new task to reduce spectra from lists produced by TRSGROUP TRSGROUP is a new task to group spectrum files by object, configuration, and exposure time Add THARPLOT to plot ThAr spectra with lines labelled TCAL1 copies template ThAr spectra and their ID files to the current working directory for archival purposes. Add parameter redo to recompute a dispersion function even if it has already been done. In that case, a new cross-correlation shift is computed. Add disperse parameter to stop without adding dispersion to header. THARSHIFT1 interpolates pixel shifts between the two closest appropriate ThAr calibration files or uses the closest one. Set REFSPEC1 and REFSPEC2 with weights for DISPCOR. THARSHIFT1's refmode is passed down through TPROC THARSET is a new task to set a local ThAr configuration standard Rename TRSFIB1 to TFIB1 and TRSFIB to TFIB to fix parameter file problem TRES 1.0.6 June 6, 2008 DISP1 now deletes undispersed files if not moving them to Nodisp Add delimage parameter to QTRES and CTRES to determine whether or not to save image files Add overwrite parameter to TRSFILES to keep existing process files In TCOSMIC, delete limit file as well as median file if dellist=yes Move TPREAMPFIX call from TPROC to TPROC1 Make Raw/ and U*/ directories only if saving unprocessed files Add fibsize and binning parameters to tcompfiles and tflatfiles to allow them to run faster by list only the modes which are used TRSSUM updates the MJD and DATE-OBS in the header of the summed file GETTIME converts JD and MJD to FITS date format TRSLIST has an overwrite parameter to delete old files before writing TRSFIB calls TRSFIB1 for list of files TRSFIB1 returns apfib code for ease in finding the correct ThAr spectrum TRSFIB1 writes APFIB to spectrum header if writing FIBi TRSFIB1 returns midtime as MJD to help find the correct ThAr spectrum THARLIST is a new task to replace TCOMPFILES to list ThAr spectra THARLIST passes its new overwrite parameter to TRSLIST THARSHIFT1 is a new task to find shift for a specific spectrum THARTAB is a new task to tabulate times and shifts of ThAr spectra TDISP1 has a new parameter refpath to specify a ThAr reference spectrum TPROC calls THARSHIFT1 to compute pixel shifts for object spectra -Doug Mink, 2008-09-12