% ftp cfa-ftp.harvard.edu login: anonymous password: [your user name] ftp> cd pub/iraf ftp> get wcstools-3.7.0.iraf.readme ftp> binary ftp> get wcstools-3.7.0.iraf.tar.gz ftp> quit % ls -l -rw-r--r-- 1 mink xxxx xxx xx xx:xx wcstools-3.7.0.iraf.readme -rw-r--r-- 1 mink xxxxxx xxx xx xx:xx wcstools-3.7.0.iraf.tar.gzTo obtain the package from our web server, click here
% cd $hlib
Define the environment variable wcstools to be the pathname to the
wcstools root directory. UNIX pathnames must be terminated with a '/'.
Edit extern.pkg to include:
reset wcstools = /wcstools-3.7.0/
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
% cd /local % zcat $ftpdir/wcstools-3.7.0.iraf.tar.gz | tar xvf - (or maybe gzcat on a non-Linux system)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.solarisType "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 ssunor Red Hat Linux
ecl> mkpkg redhat
ecl> mkpkg updateIf you want to support multiple architectures from the same IRAF, type
ecl> mkpkg clean ecl> mkpkgReport any compilation errors to dmink@cfa.harvard.eduecl> 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 delhead to dhead.
Almost-up-to-date hypertext help is available on the World Wide Web at http://tdc-www.harvard.edu/software/wcstools