SIGCLEAR Program reference

sgcreate

Create SOIG datasets from definitions or an existing dataset

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

Description

Create a dataset with one or more sampled vector fields. With no input file,
create the requested number of columns and initialize vectors to their
specified values. With an input dataset, copy its schema and columns, then add
or initialize the requested vectors. Vector length and sampling defaults are
inherited from the first input vector when available.

Synopsis

sgcreate <stdin >stdout nx=1 vectors="data" #data=0.0 #data.ns=infile?NS:1500 #data.s0=infile?S0:0.0 #data.ds=infile?DS:0.004 #data.type=float

Parameters

sgcreate parameters
ParameterTypeDefaultDescription
in ifile stdin input file: create a new file if not provided
out ofile stdout output file
nx int 1 number of columns if input file not given
vectors strs "data" vectors to be created
#data float 0 initial value
#data.ns long infile?NS:1500 number of samples
#data.s0 double infile?S0:0.0 first sample
#data.ds double infile?DS:0.004 sampling interval
#data.type enum float type of vector data
Allowed: float int double cfloat cdouble char

Input and output

Input

input file: create a new file if not provided

Output

output file