Usage: l2a infile [outfile]
Files: asciiout.par (or other file specifying output parameters).
Input information: parameter file name, start time, stop time.
Next it asks for the name of the file describing the needed output parameters, and reads that file. The file specifies the size of maximum output record in bytes, the number of channels, and then lists the parameters associated with each channel, and what format it should be written in. The header record (which records the start sample number (counted as number of sample/frame times the frame counter), the number of samples output, and the universal time at start of the file in digital hours) will be padded with null characters to the maximum record size. The output records are composed of a line with the listed channels, a status number (set to 0 for good data), and a newline to terminate the record.
Unlike l2b, l2a implements the parameter mask (in some of its output formats). For the "u" format and all of the non-decimal formats, the parameter is masked as indicated in the parameter descriptions. The current formats are,
Finally, l2a asks for the start time and stop time for the extracted data segment. The default day is that of the start time of the file, and the user can give one of three formats:
At this point l2a finds the beginning of the data segment, displays a note that it has found the beginning and extracts data. If there are discontinuties in the frame counter, diagnostic messages are printed. When the frame counter is bad, or if there are missing frames, the data is recorded as all 0's and the status number is set to 2.
Check the source code directory for documentation on the source code. This directory is currently: //garbo.berkeley.edu/lange/users/wilbanks/max/loral/source
author: Thor Wilbanks
Return to MAXIMA top level page.