TOSIZE

Section: Misc. Reference Manual Pages (LOCAL)
Updated: 15 July 1989
Index Return to Main Contents
 

NAME

tosize - Encode size of object in two characters, as used in starchart data  

SYNOPSIS

tosize [ - [ d ][ m ][ s ]] size [ size ... ]         
 

DESCRIPTION

The size field for non-stellar objects in the starchart databases contains the size of the object in seconds of arc encoded to two significant figures as two characters, up to a diameter of 89000 seconds, or 24.7 degrees, which is encoded as `Z9'.

This program is intended to facilitate the encoding. The sizes of several objects may be included in the command line, the encoded sizes are sent to the standard output. The first argument may be used to control the meaning of the succeding arguments. A `d' means that the corresponding argument is the size in degrees, a `m' represents minutes, and `s' represents seconds. These may be combined up to three letters. That is, `-dm' means that the following arguments should be taken in pairs, with the first being the degree component of the size, and the second the minutes.

When the command line arguments have been exhausted, numbers are read from the standard input.

 

EXAMPLES

tosize 1 14 140 1400 14000 14000 89000 88000
tosize -dms 1 10 30 2 30 45  

FILES

 

BUGS

 

AUTHOR

Craig Counterman


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 08:42:16 GMT, October 30, 2024