Page 1 of 1

a question about SDDS

Posted: 19 Apr 2009, 19:22
by shancai
How to change the name a column?
Thanks a lot!

Re: a question about SDDS

Posted: 20 Apr 2009, 09:09
by michael_borland
You can change the name of a column, parameter, or array using sddsconvert:

sddsconvert input.sdds output.sdds -rename=column,oldName=newName

You can also change many names at once using -editnames, e.g.,
sddsconvert input.sdds output.sdds -rename=column,*y,%/y/z/
would replace 'y' with 'z' in all columns ending in 'y'.

--Michael