BASEDIT
BASEDIT creates a copy of a MERGE-format file, eliminating the space
reserved for baselines or closure triangles that have no associated
data.
Programs that create MERGE-format files (e.g., MERGE) usually reserve
space for the maximum possible number of baselines and/or closure
triangles; e.g., if the dataset includes N stations, they will reserve
space for N(N-1)/2 baselines, even if some of these baselines have no
associated data. Program BASEDIT reads through the file to find out
which baselines and/or closure triangles have data, and creates a new
copy of the input file, allocating space for only these baselines and/or
triangles. The sole purpose of this program is to reduce the amount of
disk space occupied by a Merge file.
Example
% basedit
INPUT = 0831.MRG
OUTPUT = 0831.MRG2
/
Parameters
Parameters INPUT and OUTPUT must be specified. The
parameters names can be abbreviated to uniqueness (minimum match). Both
the parameters are character strings, but they need not be enclosed in
quotation marks unless they include commas or blank spaces. End
the list of parameters with a slash (/).
- INPUT = "filename"
- the name of the input merge-format file
(e.g., INPUT = CITSCR:[TJP.B2]T1.MRG). This parameter must be specified;
there is no default.
- OUTPUT = "filename"
- a name for the output file created by BASEDIT. This
parameter must be specified; there is no default.
Limitations
The maximum number of stations is 20; and only files with
MERGE format 1 are accepted.
History
Version 1.0: 1985 Jun 20 - new program (TJP).
Version 1.1: 1987 Dec 15 - add a history record.
Version 1.2: 1988 Jun 21 - Convex changes.
Version 1.3: 1990 Nov 13 - remove variables declared but not used.
Tim Pearson, California Institute of Technology
tjp·astro.caltech.edu