fiheader(1)

fiheader1

Reading and manipulating fits header keywords

Usage

fiheader [opions] [input] [{-o | --output <output>}]

Overview

This program allows the user to read, set, alter or remove a set of values associated with the specified keywords from the primary header unit (a.k.a. simply "header") of a FITS image file.

Options

General options:

-h, --help

Gives general summary about the command line options.

--long-help, --help-long

Gives a detailed list of command line options.

--wiki-help, --help-wiki, --mediawiki-help, --help-mediawiki

Gives a detailed list of command line options in Mediawiki format.

--version, --version-short, --short-version

Gives some version information about the program.

-i, --input <image file>

Name of the input FITS image file.

-o, --output <image file>

Name of the output FITS image file (can be the same as the input image file).

Read keyword values:

-g, --get, --read <keyword>,...

List of keywords to get from FITS header.

-F, --format <format>

Format of the output, space separated list of the arguments "filename", "keyword", "value", "comment" or "list", in the desired order. The "list" here is a list of tab-separated values of matched keywords.

-x, --extension <extension>

Read keyword values from the given extension.

Note that shell wildcard character patterns can be used in the keyword specifications.

Altering FITS headers:

-s, --set, --update <keyword>=<value>[/<comment>],...

List of keywords with their new values (and optional comments) to be altered.

-a, --append <keyword>=<value>[/<comment>],...

List of keywords with their new values (and optional comments) to be appended to the existing list of keywords.

-d, --delete <keyword>,...

List of keywords to be removed from the header.

--force-alter-reserved-keywords

Enable to alter reserved FITS keywords (use with caution).

-w, --rewrite

Re-write the input file(s) directly. Use this option exclusively from -o|--output.

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–10
  2. 11–13

Reporting bugs

Report bugs to <[email protected]>, see also https://fitsh.net/.

From fitsh 0.9.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.