1TOFITS(1)                        User Commands                       TOFITS(1)
2
3
4

NAME

6       tofits - Turn a list of keyrecords to a valid FITS file
7

DESCRIPTION

9       tofits  turns  a  list  of FITS header keyrecords, one per line, into a
10       proper FITS header by padding them with blanks  to  80  characters  and
11       stripping  out newline characters.  It also pads the header to an inte‐
12       gral number of 2880- byte blocks if necessary.
13
14       The input byte stream is assumed to be ASCII-encoded.  Characters  out‐
15       side  the  set  of text characters allowed by FITS (ASCII 0x20 to 0x7E)
16       are ignored with the  sole  exception  that  a  byte  with  value  0xA0
17       (non-breaking  space  in all variants of ISO/IEC 8859) is translated to
18       an ordinary space (0x20).  Thus input encoded in ISO/IEC 8859 or  UTF-8
19       should  be  interpreted  correctly, with any illegal characters in key‐
20       comments simply being ignored.
21
22       tofits has no options and operates as a filter, reading from stdin  and
23       writing to stdout, e.g.
24
25              tofits < infile > outfile
26
27       Input lines beginning with '#' are treated as comments.
28
29
30
31tofits 7.12                     September 2022                       TOFITS(1)
Impressum