WCSGRID(1)
β¨ NAME β¨
wcsgrid β bestie, this one extracts FITS WCS keywords and plots a graticule, no cap π«
π SYNOPSIS π
wcsgrid [-a<alt>] [-d<pgdev>] [-h<hdu>] [<fitsfile>]
π¦ DESCRIPTION π¦
okay so, wcsgrid pulls the WCS keywords for an image out of the FITS file you point it at, and then it uses pgsbox() to plot a 2-D coordinate graticule for each alternate representation it finds. every single one. it's giving thorough π
the FITS file can be specified using the syntax that cfitsio understands β for example, "file.fits.gz+1" means the first extension (aka the second HDU) of a gzip'd FITS file. iykyk π«Ά
and if you want input from stdin? just use "-" or straight up omit the file name. easy. iconic. periodt β¨
π OPTIONS π
-a<alt>β plot a graticule only for the alternate representation you specify. (it gets ignored if there's only one, bestie, so don't stress π)-d<pgdev>β the PGPLOT device type. default isXWINDOW, and if you use"?"it'll give you a list. very helpful of it tbh π-h<hdu>β move to HDU number (1-relative, so yeah, counting starts at one) which is expected to contain an image array. (super useful when you're feeding input from stdin π)
fr fr, don't sleep on that -h flag if you're piping stuff in β it's the moment π
this lil masterpiece is wcsgrid 8.9, dropped June 2026 πΈ go plot something gorgeous, queen ππ
π¦ where this page comes from
- ubuntu stonking: wcslib-tools 8.9+ds-2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms