GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TOFITS(1) User Commands TOFITS(1)

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

tofits turns a list of FITS header keyrecords, one per line, into a proper FITS header by padding them with blanks to 80 characters and stripping out newline characters. It also pads the header to an integral number of 2880- byte blocks if necessary.

The input byte stream is assumed to be ASCII-encoded. Characters outside the set of text characters allowed by FITS (ASCII 0x20 to 0x7E) are ignored with the sole exception that a byte with value 0xA0 (non-breaking space in all variants of ISO/IEC 8859) is translated to an ordinary space (0x20). Thus input encoded in ISO/IEC 8859 or UTF-8 should be interpreted correctly, with any illegal characters in keycomments simply being ignored.

tofits has no options and operates as a filter, reading from stdin and writing to stdout, e.g.

tofits < infile > outfile

Input lines beginning with '#' are treated as comments.

October 2024 tofits 8.4

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.