(As a note, the word parameter is used with 3 different meanings in this question. I'm trying to be really careful with how I use it, so I hope that this question even makes sense.)
To start, I can filter the parameter file for the rows that I want:
Code: Select all
sddsprocess elegant_run.par -pipe=out -filter=col,ElementOccurence,1,1 -match=col,ElementType=KQUAD -match=col,ElementParameter=K1 -print=column,ParameterName,%s.K1,ElementName | sddsprintout -pipe=in -columns=*
Code: Select all
ElementName ElementParameter ParameterValue ElementType ElementOccurence ElementGroup ParameterName
----------------------------------------------------------------------------------------------------------------------------
MDL-Q.00H K1 6.317892e+00 KQUAD 1 MDL-Q.00H.K1
MDL-Q.01H K1 -7.409871e+00 KQUAD 1 MDL-Q.01H.K1
MDL-Q.02H K1 2.355447e+00 KQUAD 1 MDL-Q.02H.K1
MDL-Q.03H K1 1.428212e+00 KQUAD 1 MDL-Q.03H.K1
MDL-Q.04H K1 -2.300000e+00 KQUAD 1 MDL-Q.04H.K1
TLA-Q.00H K1 3.514338e+00 KQUAD 1 TLA-Q.00H.K1
TLA-Q.01H K1 -4.912866e+00 KQUAD 1 TLA-Q.01H.K1
TLA-Q.02H K1 4.312209e+00 KQUAD 1 TLA-Q.02H.K1
TLA-Q.03H K1 -5.817510e+00 KQUAD 1 TLA-Q.03H.K1
TLA-Q.04H K1 4.018223e+00 KQUAD 1 TLA-Q.04H.K1
NLA-Q.00H K1 3.095999e+00 KQUAD 1 NLA-Q.00H.K1
NLA-Q.01H K1 -4.286920e+00 KQUAD 1 NLA-Q.01H.K1
NLA-Q.02H K1 8.538818e-01 KQUAD 1 NLA-Q.02H.K1
NLA-Q.03H K1 -1.962864e+00 KQUAD 1 NLA-Q.03H.K1
NLA-Q.04H K1 3.700000e+00 KQUAD 1 NLA-Q.04H.K1
NLA-Q.05H K1 -3.700000e+00 KQUAD 1 NLA-Q.05H.K1
NLA-Q.06H K1 3.700000e+00 KQUAD 1 NLA-Q.06H.K1
NLA-Q.07H K1 -3.700000e+00 KQUAD 1 NLA-Q.07H.K1
SWA-Q.00H.4 K1 6.773705e+00 KQUAD 1 SWA-Q.00H.4.K1
SWA-Q.01H.4 K1 -2.937383e+00 KQUAD 1 SWA-Q.01H.4.K1
SWA-Q.02H.4 K1 4.243246e+00 KQUAD 1 SWA-Q.02H.4.K1
SWA-Q.03H.4 K1 -6.747316e+00 KQUAD 1 SWA-Q.03H.4.K1
SWA-Q.04H.4 K1 6.468838e+00 KQUAD 1 SWA-Q.04H.4.K1
SWA-Q.05H.4 K1 -2.636109e+00 KQUAD 1 SWA-Q.05H.4.K1
A possibly related comment and question is that I find parts of the SDDS toolkit guide to be incomprehensible. For example, the following text appears in the instructions for sddsprocess -define: "This and other properties of the new column or parameter may be altered by giving definitionEntries, which have the form fieldName=value; fieldName is the name of any namelist command field (except the name field) for a column or parameter, as appropriate." There are words in this block of text that make me think that these commands are exactly what I'm looking for, but I can't find any part of the manual that defines what a "fieldName" is what the "name field" is, or what "definitionEntries" are. Is there a different source where this jargon is defined?