The cat command simply copies the input list to the output list. It's only useful for converting from a TLE file to sattool's native format. Even at that, it isn't really all that useful.
The writetle command attempts to parse each input list element as a Sgp4Sat. If it can do this, it outputs the element in TLE format.
Filter allows for filtering the input list based on arbitrary expressions. It's a fairly sophisticated expression parser, which allows expressions to be connected using 'and' and 'or' operators. It's also possible to use parenthesis to clarify your expression.
Expressions contain keywords of two types. Boolean keywords return true if what it represents is true. Value keywords take an operator and something to compare it with, and they use that to determine the truth values. The operators allowed are '<', which can be written as 'lt'; '>', which can be written as 'gt'; and '='. The keywords are:
Sample filter expressions are:
norad = 16609 or norad = 25544 lit and sunel lt -6 and minmag lt 3.56
It may be necessary to place a -- on the command line before the expression to prevent negative numbers from being parsed as options.
The marker command takes a list of sats for it's input, and takes as an argument a number of seconds. It also requires that an output file be specified with the -o option. Then, every number of seconds, it writes the current latitude and longitude to the file in a way compatible with the markerfile capabilites of xearth and xglobe.
The live command reads in an input list of objects (or equivalents), and displays it in realtime. Depending on what exactly is in the input list, more information may be displayed. For example, satellites also display their norad number and international designations, and passed display times of rise, set, cumulation, and maximum magnitude. Look angles, Latitude, Longitude, Altitude, and ECI vectors are always displayed. The units are km, km/s, or degrees, as appropriate.
The live command only works properly if it's input is a file specified with the -i option.
Here's a list of valid keystrokes.
The predict command is used to predict when a satellite pass will be visible at a given site. A pass is defined as a time when the satellite is above a given elevation.
If predict is invoked with one argument, that argument is the end time of the prediction. The start time is now. Otherwise, if two or more arguments are given, the first is the start time and the second is the end time.
The time parser is fairly sophisticated. Some of the time specifications it can handle are:
1999-12-11 12:30 noon today midnight + 2 hours
If no day is mentioned, the time is considered to be it's next occurance. For example if it's 19:30 today, the time specification 20:00 occurs on today, while 19:00 occurs tomorrow. (Unless a more specific date is mentioned.) It may be important to quote the time specifications so that they're not interpreted by the shell.
There are also otional third and fourth arguments. The third argument is is the minimum pass elevation. This defaults to the contents of the SATMINELEV environment variable. If that's not set, and the -v option is given, the default is 10 degrees. Otherwise, it defaults to 0 degrees. The fourth option is a step time. This controls the accuracy of the pass predictions, and defaults to the value of SATPREDICTSTEP, or 10 seconds if that's undefined.
The -v option is useful with predict. That option enables the prediction of visual pass information, namely the minimum magnitude found in a pass, as well as the time of that minimum magnitude.
The passes command displays information about every pass object that's piped to it. For a more complete description of this command, please see the section on "Displaying the Passes" above.
The step command takes two arguments. The first is a number of seconds, the second is an expression. The step command filters the encounter that occur every given number of seconds during the pass. It then prints out each encounter that matches the filter.
For a more complete description of this command, please see the section on "Displaying the passes" above.
The summary command displays a one line summary of each of the passes in the input list. The summarries look like:
16609 86017A Mir Complex 11/30 17:56 58 -0.6
The fields in the display are, from left to right, the norad number, the international designation, the name, the date of the pass maximum, the time of the pass maximum, the maximum elevation in the pass, and the minimum magnitude during the pass. (The latter is omitted if no visual information is associated with the pass.)
tom-sattool@onegeek.org