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/tresdata20081217.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.3.3 April 7, 2009 Add shell scripts THARPLOT and TRESPLOT in Shell/ directory Add TRSPLOT task to plot TRES spectra with optional line labels Change TRSDATE to continue even if raw data directory is not found Add FIBKEY codes to list file names in TRSGROUP TRES 1.3.2 March 19, 2009 Add redo parameter to TCAL, TCAL1, TEXTRACT, and TEXTRACT1 Always set redo=yes in TPROC Clean up output from THARADD Call TEXTRACT1 from TEXTRACT instead of duplicating code Fix computation of mean shift in TCAL Combine TAMPMERGE into TGAIN1 to avoid duplicating file manipulation Fix bug in THARADD which kept it from inserting new shifts between old Return ra, dec, and equinox as parameters from TFIB1 SPP task Re-order lines put out by TLOG and add ra and dec TRES 1.3.1 March 13, 2009 Add ISTAT, a localized version of images.imstat Change TXSTAT to automatically search raw data directory Add TXDISP to display raw TRES images easily Add TNEXT to find next available sequence number in TRSSUM and TRSAVG Fix lots of small bugs after demonstrating program for first time Add compreid parameter to TTRES and TPROC to interact for night standard Fix TCAL1 so interactive ecidentify works Fix THARSET to set names in database file correctly Add new task TLOG to list all observations with human-readable time Add new task TRSDELETE to delete local files from .list's or numbers Add new task THARADD to add a ThAr spectrum to a table of shifts Add redo parameter to TRSGROUP so that new files are automatically added Add ordshift parameter to TCAL1 and TMODID to copy reference ThAr with order shift TRES 1.3.0 February 27, 2009 Add task TARITH to perform operations on non-linearly-dispersed spectra Add task TMAKEREF to retrace a FLAT field image for a nightly standard Add overwrite parameter to TEXTRACT to extract if extracted files exist Fix TRSDATE so trailing zero of date dropped by IRAF is replaced automat ically Add interact parameter to TMAKEFLAT to turn off apflatten interaction Add apfunc parameter to TMAKEFLAT to specify apflatten fit function Add avgspec parameter to TPROC and FTRES to allow mean and summed output spectra Add BTRES task to process dark and bias images Add debug parameter to FTRES for debugging in TMAKEREF Add TPMAKE task to extract FLAT or other spectra which are equally expos ed in fibers 1 and 2 and divide 2 by 1 to make a throughput correction spectr um Add TMONTH task to list dates with data in a given month/run Return wdir, working directory, and rdir, raw data directory, from TRSDA TE Fix TFSET so if input is same as output file, it can be split into two f ibers (2/27) TRES 1.2.0 December 31, 2008 Add reidentify param to TCAL1 to run ecreidentify instead of ecidentify In TPROC, run ecreidentify instead of ecidentify if compstd not NULL 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 Add ECREIDENTIFY and ECIDENTIFY to tres source tree Make @ optional for *.list file input to TPROC, TEXTRACT, TDISP and TCAL In TCAL1, set TIDSHIFT in header to zero if reid or interactive set -Doug Mink, 2008-03-16