Page 1 of 1

SDDS question, retaining last page only

Posted: 11 Mar 2010, 04:12
by Max
I have a SDDS question whose answer I could probably find in the SDDS toolkit manual if I was clever enough.
I have tried without success.
I have a .fin file that contains several pages, each the result of a step in an optimization process. I would like to extract
(i.e. to be able to access the parameters) only the last page, that contains the final optimization values.
I have been using SDDSSPLIT and then addressed
the last file. This is cumbersome. I would like to be able to extract the parameters of the last page only automatically. How do I do that ?
Michael, thanks for your reply to my previous question.

Max

Re: SDDS question, retaining last page only

Posted: 11 Mar 2010, 09:22
by michael_borland
Max,

The fastest way to do this is using sddsprocess and the "optimized" parameter:

% sddsprocess <input> <output> -filter=parameter,optimized,1,1 -nowarning

This selects only the pages for which the "optimized" parameter is on the interval [1,1].

--Michael