Vmerge Version 1.3.2
Re-integrates modified data into a larger dataset. If you extract
data, and then modify the extracted data, Vmerge can be used to apply
those modifications back to the original data (on a per-table
basis).
Usage: Vmerge tgt-spec src-spec
Both source-spec and target-spec should be
of the form path/table.field-spec
where path can be:
- relative, like tes/mapping/data or
- absolute, like /tes/mapping/data or
- path/ part can be omitted, if the files are in the current directory.
and field-spec can be:
- bit-string:bit-field
- any atomic-field (including byte-offset fields)
- array-field
- array-field[index]
- array-field[lo_index-hi_index]
- var-array[]
- Or a combination of the above, separated by commas and enclosed in
{}. There must be a one-to-one correspondence between source specs and
target specs: you can't map two atomic fields onto an array field with
two elements, nor vice-versa.
Notes:
-
The characters "[]{}" can be used in arguments to this program. Many
UNIX shells interpret these characters specially, thus they must be
escaped from the shell. This is most conveniently accomplished by
using quotes, as show in the examples below.
-
Doesn't allow you to add or delete records, only modifies existing
data.
-
Handles all atomic field types, as well as fixed- or variable-length
arrays, but won't perform conversions between fixed and
variable-length arrays.
-
When dealing with variable-length arrays, won't handle parts of an
array at a time, only entire arrays.
Examples:
- Vmerge "new_data/rad.cal_rad[]" "old_data/rad.cal_rad[]"
- Vmerge "new_data/obs.{temps[1-2],vbol_gain}" "old_data/obs.{temps[3-4],tbol_gain}"