Description
Select an inclusive range of groups, limit the number of columns checked or
written, and crop sampled vectors to a time interval. Use remove to drop
specified scalar or vector fields from the output schema. The requested time
interval must intersect every retained vector; field-value threshold
selection is not supported.
Synopsis
sgwindow <stdin >stdout gmin=0 gmax=LONG_MAX-1 ncol=LONG_MAX-1 mcol=LONG_MAX-1 #field.min=-FLT_MAX #field.max=FLT_MAX tmin=-FLT_MAX tmax=FLT_MAX remove=NULL
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
in |
ifile |
stdin
|
input data |
out |
ofile |
stdout
|
output data |
gmin |
long |
0
|
minimal group index value |
gmax |
long |
LONG_MAX-1
|
maximal group index value (save run time) |
ncol |
long |
LONG_MAX-1
|
maximal number of columns to check |
mcol |
long |
LONG_MAX-1
|
maximal columns to output (save time) |
#field.min |
double |
-FLT_MAX
|
inclusive minimum value of the selected field |
#field.max |
double |
FLT_MAX
|
inclusive maximum value of the selected field |
tmin |
float |
-FLT_MAX
|
inclusive minimum time in seconds; a non-intersecting window is an error |
tmax |
float |
FLT_MAX
|
inclusive maximum time in seconds; a non-intersecting window is an error |
remove |
fields |
NULL
|
fields (include vectors) to remove |
Input and output
Input
input data
Output
output data