1WCSWARE(1) User Commands WCSWARE(1)
2
3
4
6 wcsware - Extract FITS WCS keywords for an image
7
9 wcsware [OPTION]... [FITSFILE]
10
12 wcsware extracts the WCS keywords for an image from the specified FITS
13 file, constructs wcsprm structs for each coordinate representation
14 found and performs a variety of operations using them. It features a
15 "lint" capability as one of its more useful operations.
16
17 By default, all known extensions to the FITS WCS standard are allowed,
18 including deprecated usage. However, in "lint" mode, strict confor‐
19 mance to the standard is enforced.
20
21 The FITS file may be specified according to the syntax understood by
22 cfitsio, for example "file.fits.gz+1" refers to the first extension of
23 a gzip'd FITS file. Use "-" or omit the file name for input from
24 stdin.
25
27 -a<alt>
28 Specify an alternate coordinate representation (ignored if there
29 is only one). Can also be specified as a 0-relative index in
30 the range 0 to 26, where alternates are sequenced alphabetically
31 following the primary representation.
32
33 -b Use wcsbth() for primary image headers, normally wcspih() is
34 used. (Implies -i.)
35
36 -f Apply wcsfix() to the header.
37
38 -h<hdu>
39 Move to HDU number (1-relative) which is expected to contain an
40 image array. Overrides cfitsio extended filename syntax. Also
41 useful for input from stdin.
42
43 -i Allow image header WCS keywords in binary table headers.
44
45 -l Validate (lint) the WCS keyrecords in the specified FITS header
46 for conformance to the WCS standard. (Implies -s.)
47
48 -o Use wcshdo() to translate the wcsprm struct into a FITS header
49 and print it.
50
51 -p Print the struct(s) using wcsprt() (default operation).
52
53 -P Same as -p but don't print a default struct.
54
55 -r Require strict adherence to the FITS WCS standard, though allow‐
56 ing the deprecated AIPS-convention keywords, CROTAn, EPOCH, and
57 VELREF, and also some other deprecated usage. (Must follow -l
58 if relaxed linting is required.)
59
60 -s Require strict adherence to the FITS WCS standard, disallowing
61 all deprecated features.
62
63 -t Terse (with -l), report rejected WCS keyrecords only.
64
65 -v Verbose (with -l), report recognised WCS keyrecords as well.
66
67 -w Convert world coordinates, obtained from stdin, to pixel coordi‐
68 nates using wcss2p().
69
70 -x Convert pixel coordinates, obtained from stdin, to world coordi‐
71 nates using wcsp2s().
72
73
74
75wcsware 5.19.1 July 2018 WCSWARE(1)