SDDS ToolKit Programs and Libraries for C and Python
|
Collects data from multiple columns into new grouped columns based on specified criteria.
This file processes SDDS (Self Describing Data Sets) files, enabling users to organize data by collecting columns with matching suffixes, prefixes, or patterns into grouped columns. It supports pipelined input/output, warning control, and row/column-major order selection. Additionally, it enforces strict syntax rules for mutually exclusive options and specific requirements for certain parameters.
Required | Description |
---|---|
-collect | Collects columns based on specified suffix, prefix, or matching pattern. |
Option | Description |
---|---|
-pipe | Enables standard SDDS toolkit pipe option for input and output. |
-nowarnings | Suppresses warning messages. |
-majorOrder | Specifies major order of the output file (row-major or column-major). |
-collect
:suffix
, prefix
, and match
are mutually exclusive.match
is used, editCommand
and column
must also be provided.Definition in file sddscollect.c.
Go to the source code of this file.
Functions | |
long | InitializeOutput (SDDS_DATASET *SDDSout, char *output, SDDS_DATASET *SDDSin, COLLECTION *collection, long collections, NEW_PARAMETER **newParameter, int *newParameters, char ***rootname, char ***units, long warnings) |
void | CollectAndWriteData (SDDS_DATASET *SDDSout, COLLECTION *collection, long collections, NEW_PARAMETER *newParameter, int newParameters, char **rootname, char **units, long rootnames, int64_t inputRow, long origPage) |
void | GetAndOrganizeData (SDDS_DATASET *SDDSin, COLLECTION *collection, long collections, NEW_PARAMETER *newParameter, int newParameters) |
char ** | ConfirmMatchingColumns (COLLECTION *collection, long collections, SDDS_DATASET *SDDSin, SDDS_DATASET *SDDSout, long *rootnames, char ***units, long warnings) |
int | main (int argc, char **argv) |
void CollectAndWriteData | ( | SDDS_DATASET * | SDDSout, |
COLLECTION * | collection, | ||
long | collections, | ||
NEW_PARAMETER * | newParameter, | ||
int | newParameters, | ||
char ** | rootname, | ||
char ** | units, | ||
long | rootnames, | ||
int64_t | inputRow, | ||
long | origPage ) |
Definition at line 259 of file sddscollect.c.
char ** ConfirmMatchingColumns | ( | COLLECTION * | collection, |
long | collections, | ||
SDDS_DATASET * | SDDSin, | ||
SDDS_DATASET * | SDDSout, | ||
long * | rootnames, | ||
char *** | units, | ||
long | warnings ) |
Definition at line 440 of file sddscollect.c.
void GetAndOrganizeData | ( | SDDS_DATASET * | SDDSin, |
COLLECTION * | collection, | ||
long | collections, | ||
NEW_PARAMETER * | newParameter, | ||
int | newParameters ) |
Definition at line 295 of file sddscollect.c.
long InitializeOutput | ( | SDDS_DATASET * | SDDSout, |
char * | output, | ||
SDDS_DATASET * | SDDSin, | ||
COLLECTION * | collection, | ||
long | collections, | ||
NEW_PARAMETER ** | newParameter, | ||
int * | newParameters, | ||
char *** | rootname, | ||
char *** | units, | ||
long | warnings ) |
Definition at line 312 of file sddscollect.c.
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 120 of file sddscollect.c.