pkg.sopackage field notes

brew / rank 10702

Install wcstools with Homebrew

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

provider-native install command

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 bottle metadata was recorded.

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
addpixexecutableindexed executableDiscovered from the local executable index.
bincatexecutableindexed executableDiscovered from the local executable index.
char2spexecutableindexed executableDiscovered from the local executable index.
conpixexecutableindexed executableDiscovered from the local executable index.
cpheadexecutableindexed executableDiscovered from the local executable index.
crlfexecutableindexed executableDiscovered from the local executable index.
delheadexecutableindexed executableDiscovered from the local executable index.
delwcsexecutableindexed executableDiscovered from the local executable index.
edheadexecutableindexed executableDiscovered from the local executable index.
filenameexecutableindexed executableDiscovered from the local executable index.
filerootexecutableindexed executableDiscovered from the local executable index.
filextexecutableindexed executableDiscovered from the local executable index.
fixpixexecutableindexed executableDiscovered from the local executable index.
getcolexecutableindexed executableDiscovered from the local executable index.
getdateexecutableindexed executableDiscovered from the local executable index.
getfitsexecutableindexed executableDiscovered from the local executable index.
getheadexecutableindexed executableDiscovered from the local executable index.
getpixexecutableindexed executableDiscovered from the local executable index.
gettabexecutableindexed executableDiscovered from the local executable index.
htmlspexecutableindexed executableDiscovered from the local executable index.
i2fexecutableindexed executableDiscovered from the local executable index.
imcatexecutableindexed executableDiscovered from the local executable index.
imextractexecutableindexed executableDiscovered from the local executable index.
imfillexecutableindexed executableDiscovered from the local executable index.
imheadexecutableindexed executableDiscovered from the local executable index.
immatchexecutableindexed executableDiscovered from the local executable index.
imresizeexecutableindexed executableDiscovered from the local executable index.
imrotexecutableindexed executableDiscovered from the local executable index.
imsizeexecutableindexed executableDiscovered from the local executable index.
imsmoothexecutableindexed executableDiscovered from the local executable index.
imstackexecutableindexed executableDiscovered from the local executable index.
imstarexecutableindexed executableDiscovered from the local executable index.
imwcsexecutableindexed executableDiscovered from the local executable index.
isfileexecutableindexed executableDiscovered from the local executable index.
isfitsexecutableindexed executableDiscovered from the local executable index.
isnumexecutableindexed executableDiscovered from the local executable index.
israngeexecutableindexed executableDiscovered from the local executable index.
keyheadexecutableindexed executableDiscovered from the local executable index.
newfitsexecutableindexed executableDiscovered from the local executable index.
remapexecutableindexed executableDiscovered from the local executable index.
scatexecutableindexed executableDiscovered from the local executable index.
setheadexecutableindexed executableDiscovered from the local executable index.
setpixexecutableindexed executableDiscovered from the local executable index.
simposexecutableindexed executableDiscovered from the local executable index.
sky2xyexecutableindexed executableDiscovered from the local executable index.
skycoorexecutableindexed executableDiscovered from the local executable index.
sp2charexecutableindexed executableDiscovered from the local executable index.
subpixexecutableindexed executableDiscovered from the local executable index.
sumpixexecutableindexed executableDiscovered from the local executable index.
wcsheadexecutableindexed executableDiscovered from the local executable index.
wcstoolsexecutableindexed executableDiscovered from the local executable index.
xy2skyexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version3.9.7
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:wcstools
Version3.9.7
Package managerHomebrew
Homepagehttp://tdc-www.harvard.edu/wcstools/
Bottlenot recorded
Servicenone declared

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
  • curated package history
  • pkgdb category and tag curation