sddsconvert
converts SDDS files between ASCII and binary, and allows wildcard-based
filtering-out of unwanted columns and/or rows, as well as renaming of columns.
N.B.: it is not recommended to use sddsconvert
to
convert a binary SDDS file to ASCII, then strip the header off and read the ASCII file. This completely
bypasses the self-describing aspects of the SDDS file and is not robust. If the program that creates the
SDDS file is changed so that the columns are created in a different order, the program that reads the ASCII file
will produce unexpected results. Use sdds2plaindata, sddsprintout, or sdds2stream
for conversion to non-self-describing files. In this way, you can assure the order of the data is fixed.
retain
is given but delete
is not, only those entities matching one of the
strings given with retain
are retained. If both delete
and retain
are given, then all entities are retained except those that match a delete
string without
matching any of the retain
strings.
rename
or editNames
options to fix invalid names in SDDS
files. This option is provided for backward compatibility to the original version of SDDS,
which allowed arbitrary characters in element names.