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
SDDS question, retaining last page only
Moderators: cyao, michael_borland
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: SDDS question, retaining last page only
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
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