HC) Example(s) of the use of the DESL
merge command.
merge
files run12 run14 run29 nameset 1 alpw cl cd run1 = run
nameset 2 run2 = run alpw2 = alpw cl2 = cl nameset 3
run3 = run cl3 = cl alpw3 = alpw
newfiles merg1 go
In this example, the three files "run12", "run14", and "run29"
will be merged. All of these files should already have the
same number of records. The resulting new file "merg1" will
contain the variables "alpw", "cl", "cd", and "run" from
file "run12", "run", "alpw", and "cl" from file "run14", and
"run", "cl", and "alpw" from file "run29". The names of these
variables as they exist in "merg1", however, will be "alpw",
"cl", "cd", "run1", "run2", "alpw2", "cl2", "run3", "cl3",
and "alpw3", respectively.
m
files run1 thru run10 run24 thru run38 run39 run40 thru
run45 group 10 16 6 order 3 newfiles mrg1 thru mrg3
tol -.5 names alpw nameset 2 cl2 = cl cd2 = cd
cm2 = cm nameset 1 cl1 = cl cd1 = cd nameset 3 cd3 = cd
cl3 = cl go
In this example, the list of files specified, "run1 ... run45"
will be merged to produce three new files "mrg1", "mrg2", and
"mrg3. According to the "group" sizes, the first 10 files
"run1...run10" will be merged into the first new file, files
"run24...run39" will be merged into the second new file, and
files "run40...run45" will be merged into the third new file.
Before the merge of the files in each group, however, the
respective specified dependent variables from each file in each
"group", as given via the "nameset" argument lists, will first be
fit according to the values of the first "names"-supplied
independent variable "alpw", and the second and third "names"-
implied independent variables "alpw" and "alpw". The values
of these independent variables are extracted from the first
file in each group and applied to all files in each group to
get new, interpolated (via an up to third-order,
piecewise-polyno
curve fit process) values of the "nameset"-suppli dependent
variable values. The tolerance to be applied during the curve
fit process will be .5 %, as indicated by the sign and
magnitude of the value following the option "tol".
merge
files xr1 xr2
curve poly
order 3
names alpha alpha
nameset 1 alpha cymb1 = cymb crmb1 = crmb cy1 = cy beta1 = beta
nameset 2 alpha cymb2 = cymb crmb2 = crmb cy2 = cy beta2 = beta
values -1.5 to 16.5 by .5
delta delcymb cymb cymb delcrmb crmb crmb delcy cy cy
newfiles tempfile1
go
In this example, the files xr1 and xr2 will be merged in
a special way. In particular, variables from each of these
two files will be differenced after the original data has
been fit. In this example, the "independent" variables from
each file ("ALPHA" in both cases) will be used in the fitting
process to arrive at two new intermediate files that will
then be used in the differencing process. The values of
ALPHA to which the original data will be interpolated are
-1.5, -1, -.5, 0, ... 16.5. The "dependent" variables
"cymb", "crmb" and "cy" are used in this differencing
process. The resulting new file, "tempfile1", will have
the variables "cymb1", "crmb1" and "cy1" from the first file
(x and "cymb2", "crmb2" and "cy2" from the second file.

DESL Manager at ViGYAN, Inc.
30 Research Drive
Hampton, VA 23666
Voice: (757) 865-1400
Toll Free: (800) 288-3998
FAX: (757) 865-8177