Automic VaultAutomic Vault

brew

Install wcstools with Homebrew, apt, dnf, MacPorts

Tools for using World Coordinate Systems (WCS) in astronomical images. Version 3.9.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install wcstools

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install wcstools

MacPorts ports tree · science/wcstools/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install iraf-wcstools

Debian stable package indexes · iraf-wcstools · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install wcstools

Fedora Rawhide package metadata · wcstools · source: dl.fedoraproject.org

overview

Package summary

Tools for using World Coordinate Systems (WCS) in astronomical images

Commands and aliases

  • addpix
  • bincat
  • char2sp
  • conpix
  • cphead
  • crlf
  • delhead
  • delwcs
  • edhead
  • filename
  • fileroot
  • filext
  • fixpix
  • getcol
  • getdate
  • getfits
  • gethead
  • getpix
  • gettab
  • htmlsp
  • i2f
  • imcat
  • imextract
  • imfill
  • imhead
  • immatch
  • imresize
  • imrot
  • imsize
  • imsmooth
  • imstack
  • imstar

history

Project history and usage

WCSTools is a long-running Smithsonian Astrophysical Observatory package of C command-line programs and subroutines for astronomical world coordinate systems. Its core job is to create, read, manipulate, and use WCS metadata in FITS and IRAF images so pixels can be related to positions on the sky.

The package sits in the practical astronomy niche where image headers, catalog matching, and shell pipelines meet. Tools such as imwcs, sky2xy, xy2sky, scat, gethead, sethead, and imcat make astrometry and FITS-header work scriptable without requiring users to embed a full astronomical data system in their workflow.

Project history

The published lineage begins in the mid-1990s. Douglas J. Mink's 1996 ADASS paper explains that after WCS support was added to SAOimage and then to SAOtng and SkyCat, astronomers still lacked WCS headers for much ground-based optical data. Mink adapted Elwood Downey's University of Iowa SETWCS approach into IMWCS and, as the software was generalized for more image types and reference catalogs, a wider suite of portable WCS utilities and subroutines emerged.

By the 1998 ADASS paper, WCSTools had become an image astrometry toolkit rather than a single fitting program. The package provided both modular subroutines and simple programs, read and wrote FITS and IRAF .imh images, supported many map projections used in FITS WCS work, and was explicitly designed to be easy to call from scripts.

The 2001 ADASS paper on WCSTools 3.0 described five years of use in image astrometry and noted that the package had grown alongside new reference catalogs such as GSC-ACT, 2MASS, and GSC II. The current upstream README identifies version 3.9.7, released April 26, 2022, as a mature continuation of the same SAO codebase maintained by Jessica Mink with contributions and algorithms from astronomy software specialists at institutions including CSIRO, NRAO, STScI, IPAC, NOAO, and others.

Adoption history

WCSTools became important partly because its subroutines were adopted by astronomical image browsers. The 1998 paper says SAOtng, its successor, and SkyCat used WCSTools subroutines, while the ASP abstract also lists SAOimage, SkyCat, and SAOtng as users of the library for displaying sky coordinates while browsing images.

Its adoption pattern is classic scientific Unix software: not a broad consumer tool, but a durable utility layer for observatories, archives, and astronomers who need repeatable FITS/IRAF header manipulation, catalog searches, and coordinate conversion inside scripts.

How it is used

Typical usage starts with existing FITS or IRAF images. imwcs can match image stars against reference catalogs and fit a WCS into the image header; xy2sky and sky2xy translate between pixel coordinates and sky coordinates; scat and imcat query source catalogs; gethead, sethead, edhead, and related tools inspect or edit FITS and IRAF metadata.

The toolkit is especially useful when older or ground-based images lack complete WCS headers. In that context, WCSTools can extract image stars, compare them to reference catalogs or Digitized Sky Survey fields, write WCS keywords, and then let downstream programs treat image positions as sky positions.

Why package nerds care

WCSTools is significant because it preserves a Unix-style astronomy workflow around FITS WCS: small executables, text-friendly output, and direct interoperability with shell scripts. For package maintainers, it is a good example of scientific software whose value comes from decades of domain compatibility rather than a modern repository or dependency graph.

It also documents the pre-Astropy, pre-service era of astronomical tooling, where command-line C utilities, IRAF compatibility, SAOimage-family viewers, and catalog CD-ROMs or web services were stitched together into practical astrometry pipelines.

Timeline

  • 1996: Mink presents the IMWCS-focused WCSTools work at ADASS VI, describing the adaptation from SETWCS and the development of portable WCS utilities.
  • 1998: Mink presents WCSTools as a broader image astrometry toolkit at ADASS VIII, emphasizing subroutines, command-line programs, scriptability, FITS/IRAF support, and image-browser integration.
  • 2001-2002: The WCSTools 3.0 paper describes five years of image astrometry use and catalog-search expansion, including support for newer large catalogs.
  • 2022-04-26: The upstream README lists WCSTools 3.9.7 and a detailed set of recent fixes and new utility behavior.

Related projects

  • WCSTools is historically connected to SAOimage, SAOtng, SkyCat, FITS, IRAF, the Digitized Sky Survey, HST Guide Star Catalog, USNO catalogs, 2MASS, WCSLIB, Astropy WCS tooling, and other astrometry packages such as SExtractor, SCAMP, and Astrometry.net.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
addpixcliglobal executable
bincatcliglobal executable
char2spcliglobal executable
conpixcliglobal executable
cpheadcliglobal executable
crlfcliglobal executable
delheadcliglobal executable
delwcscliglobal executable
edheadcliglobal executable
filenamecliglobal executable
filerootcliglobal executable
filextcliglobal executable
fixpixcliglobal executable
getcolcliglobal executable
getdatecliglobal executable
getfitscliglobal executable
getheadcliglobal executable
getpixcliglobal executable
gettabcliglobal executable
htmlspcliglobal executable
i2fcliglobal executable
imcatcliglobal executable
imextractcliglobal executable
imfillcliglobal executable
imheadcliglobal executable
immatchcliglobal executable
imresizecliglobal executable
imrotcliglobal executable
imsizecliglobal executable
imsmoothcliglobal executable
imstackcliglobal executable
imstarcliglobal executable
imwcscliglobal executable
isfilecliglobal executable
isfitscliglobal executable
isnumcliglobal executable
israngecliglobal executable
keyheadcliglobal executable
newfitscliglobal executable
remapcliglobal executable
scatcliglobal executable
setheadcliglobal executable
setpixcliglobal executable
simposcliglobal executable
sky2xycliglobal executable
skycoorcliglobal executable
sp2charcliglobal executable
subpixcliglobal executable
sumpixcliglobal executable
wcsheadcliglobal executable
wcstoolscliglobal executable
xy2skycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.9.7
manager updated
local dataok
upstreamnot checked
latest detectednot detected

http://tdc-www.harvard.edu/wcstools/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.http://tdc-www.harvard.edu/wcstools/none confidence

install metadata

Package metadata

Package keybrew:wcstools
Version3.9.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/wcstools
Homepagehttp://tdc-www.harvard.edu/wcstools/
Upstream docshttp://tdc-www.harvard.edu/wcstools
LicenseGPL-2.0-or-later
Source archivehttps://distfiles.macports.org/wcstools/wcstools-3.9.7.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewcstools
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

iraf-wcstools 3.9.7-1.1

Handle the WCS of a FITS image (IRAF package)

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

sudo apt install iraf-wcstools
  • Section: science
  • Architecture: all
  • Source Package: wcstools
  • 2 dependencies
  • normalized package name match
  • Matched by: Wcstools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: iraf-wcstools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libwcstools-dev 3.9.7-1.1+b1

Handle the WCS of a FITS image (development files)

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

sudo apt install libwcstools-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: wcstools
  • 1 dependencies
  • normalized package name match
  • Matched by: Wcstools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libwcstools-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libwcstools1t64 3.9.7-1.1+b1

Handle the WCS of a FITS image (shared library)

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

sudo apt install libwcstools1t64
  • Section: libs
  • Architecture: amd64
  • Source Package: wcstools
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Wcstools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libwcstools1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

wcstools 3.9.7-1.1+b1

Handle the WCS of a FITS image

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

sudo apt install wcstools
  • Section: science
  • Architecture: amd64
  • Source Package: wcstools
  • 2 dependencies
  • normalized package name match
  • Matched by: Wcstools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: wcstools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

iraf-wcstools 3.9.7-1.1build1

Handle the WCS of a FITS image (IRAF package)

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

sudo apt install iraf-wcstools
  • Section: universe/science
  • Architecture: all
  • Source Package: wcstools
  • 2 dependencies
  • normalized package name match
  • Matched by: Wcstools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: iraf-wcstools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libwcstools-dev 3.9.7-1.1build1

Handle the WCS of a FITS image (development files)

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

sudo apt install libwcstools-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: wcstools
  • 1 dependencies
  • normalized package name match
  • Matched by: Wcstools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libwcstools-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libwcstools1t64 3.9.7-1.1build1

Handle the WCS of a FITS image (shared library)

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

sudo apt install libwcstools1t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: wcstools
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Wcstools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libwcstools1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

wcstools 3.9.7-1.1build1

Handle the WCS of a FITS image

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

sudo apt install wcstools
  • Section: universe/science
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Wcstools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: wcstools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

wcstools 3.9.7-13.fc44

Software utilities to display and manipulate the WCS of a FITS image

http://tdc-www.harvard.edu/wcstools

sudo dnf install wcstools
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wcstools
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Wcstools
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wcstools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

wcstools-devel 3.9.7-13.fc44

Libraries, includes, etc. used to develop an application with wcstools

http://tdc-www.harvard.edu/wcstools

sudo dnf install wcstools-devel
  • License: LGPL-2.0-or-later AND LGPL-2.1-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wcstools
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Wcstools
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wcstools-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

wcstools-libs 3.9.7-13.fc44

Wcstools shared library

http://tdc-www.harvard.edu/wcstools

sudo dnf install wcstools-libs
  • License: LGPL-2.0-or-later AND LGPL-2.1-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wcstools
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Wcstools
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wcstools-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

wcstools

sudo port install wcstools
  • normalized package name match
  • Matched by: Wcstools
MacPorts ports tree · api.github.com · MacPorts ports tree: science/wcstools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment