SIGCLEAR Program reference

sgcat

Concatenate datasets by group, subgroup, or vector layout

Package: sigclear-soig · Version: 1.1.1-4 Download JSON

Description

Concatenate additional datasets with the input using the selected layout mode.
Group and subgroup modes append datasets at their respective hierarchy level;
vector mode combines compatible columns while retaining each vector's own
length and sampling metadata. In modes that require aligned vectors, output
sampling and lengths follow the first dataset. Inputs must have compatible
group keys and schemas for the selected mode.

Synopsis

sgcat -mode=group -group.inlast=false -vector.rename=true <stdin >stdout

Parameters

sgcat parameters
ParameterTypeDefaultDescription
-mode enum group merged data as new group, subgroup or new vector
Allowed: group subgroup vector
-group.inlast bool false put the input stream at last
-vector.rename bool true rename vectors by padding the file number or not in vector mode
in ifile stdin input data as reference
out ofile stdout output merged data

Input and output

Input

input data as reference

Output

output merged data