% ftp cfa-ftp.harvard.edu login: anonymous password: [your user name] ftp> cd pub/iraf ftp> get wcstools-3.9.1.iraf.install ftp> get wcstools-3.9.1.iraf.readme ftp> binary ftp> get wcstools-3.9.1.iraf.tar.gz ftp> quit % ls -l -rw-r--r-- 1 mink xxxx xxx xx xx:xx wcstools-3.9.1.iraf.install -rw-r--r-- 1 mink xxxx xxx xx xx:xx wcstools-3.9.1.iraf.readme -rw-r--r-- 1 mink xxxxxx xxx xx xx:xx wcstools-3.9.1.iraf.tar.gz
% cd $hlib
Define the environment variable wcstools to be the pathname to the
wcstools root directory. UNIX pathnames must be terminated with a '/'.
reset wcstools = /wcstools/
task wcstools.pkg = wcstools$wcstools.cl
Near the end of the hlib$extern.pkg file, update the definition
of helpdb so it includes the rvsao help database, copying the syntax
already used in the string. Add this line before the line containing
a closing quote:
,wcstools$lib/helpdb.mip\
wcstools - Utilities to manipulate FITS and IRAF image WCS
reset wcstools = /wcstools/
task wcstools.pkg = wcstools$wcstools.cl
% cd $irafpkg
% zcat $ftpdir/wcstools-3.9.1.iraf.tar.gz | tar xvf -
(or maybe gzcat on a non-Linux system)
% ln -s wcstools-3.9.1 wcstools
The archive file can be deleted once the package has been
successfully installed.
rm bin.[arch] ln -sfor examplebin.[arch]
ln -s /usr/local/bin bin.linuxType "cl" or "ecl" to log in to IRAF and skip to step 10.
If you don't already have WCSTools installed on your system, continue.
ecl> mkpkgfor the architecture of the computer you are using.
ecl> mkpkg linux64or Red Hat Linux
ecl> mkpkg redhat [mkpkg linux in 2.15.1 and later]
ecl> mkpkg updateIf you want to support multiple architectures from the same IRAF, type
ecl> mkpkg clean ecl> mkpkgReport any compilation errors to Jessica Mink.ecl> mkpkg update
ecl> wcstoolsto load the package.
ecl> help wcstoolsto list all of the tasks available with brief descriptions. Some names have been modified to avoid clashes with commonly used IRAF tasks, such as dhead for delhead and chead for cphead.
Usually-up-to-date hypertext help is available on the World Wide Web at http://tdc-www.harvard.edu/software/wcstools