File: Install

package info (click to toggle)
wcstools 3.9.7-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,684 kB
  • sloc: ansic: 113,336; sh: 553; makefile: 245; lisp: 86; sed: 1
file content (65 lines) | stat: -rw-r--r-- 2,831 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
WCSTools Installation

WCSTools is a set of software utilities, written in very portable C,
which create, display and manipulate the world coordinate system of
a FITS or IRAF image, using specific keywords in the image header
which relate pixel position within the image to position on the sky.
Auxillary programs search star catalogs and manipulate images.  All
of the programs are run on the command line, but they are designed to
be easily used in scripts.

Brief descriptions of file contents are in the Programs file.
A history of this software is in the NEWS file.

The complete source code is in
http://tdc-www.harvard.edu/software/wcstools/wcstools-3.9.7.tar.gz

Documentation, with examples and installation directions, is on the
World Wide Web at http://tdc-www.harvard.edu/software/wcstools/

To install the code, download it, and run

        gzcat wcstools-3.9.7.tar.gz | tar xvf -

The directory wcstools-3.9.7 will contain the source code for the programs,
and a subdirectory, libwcs, will contain the source code for the subroutines.

Catalog access subroutines, gscread.c, actread, uacread.c, ubcread.c,
ujcread.c, ty2read.c, tmcread.c, gsc2read.c, and ucacread.c contain
wired-in paths to the root directories of the HST Guide Star Catalog,
the USNO ACT, A2.0 and SA2.0, B1.0, and J Catalogs, the Tycho-2 Catalog,
the 2MASS Point Source Catalog, the GSC II Catalog, and the USNO UCAC[1-3]
catalogs, respectively. You should change the paths in the source files
to match the paths in your local installation. Environment variables may
be also used to override whatever path is in the code: GSC_NORTH sets
the path for the HST GSC CDROM containing the northern hemisphere and
GSC_SOUTH does the same for the southern hemisphere disk. For the
USNO-A2.0 catalog, set the environment variable UA2_PATH to the directory
containing the region files or UA2_ROOT to the directory below which the
CDROMs (ua001, ua002,...ua011) are mounted. For the USNO-B1.0 Catalog,
the environment variable UB1_PATH should be set to the directory
containing the zone subdirectories. Path information for all supported
catalogs is at

http://tdc-www.harvard.edu/software/wcstools/wcstools.files.html.  

Type

	make all

to compile the entire package, or

	make program_name

to compile any of the individual programs. The resulting executable(s)
will be in the bin/ subdirectory. Once again, the programs are listed
in the Programs file.

The WCSTools package has been written to be as portable as possible. The
only conditional code is to deal with VMS vs. Unix and to deal with 64-bit
systems, and even that has been minimized. The package even compiles and runs
under Windows using the free Cygwin environment. If you have any problems,
feel free to write the author. 

-Jessica Mink, SAO, 2022-04-26
http://tdc-www.harvard.edu/mink/