<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jon,<br>
<br>
Something that is easy to use in scripts is:<br>
<br>
h5dump -d "real scalars" c_trunk_hdf5_chk_0007 | grep -A 1 '"time '<br>
<br>
That gives the two lines output by h5dump, for example:<br>
"time
",<br>
3.50004<br>
<br>
adding a " | tail -1" will just give the time itself.<br>
<br>
Dean<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 07/03/2014 08:08 AM, Slavin,
Jonathan wrote:<br>
</div>
<blockquote
cite="mid:CACcRS=ePx4mCBarbHFVFf8EwgBw2FaEwcrM2WEbx-VZDsM8Eww@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Hi all,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">
This is probably obvious to longterm users of FLASH. How do I
get the simulation time for which a checkpoint file is output?
It's recorded in the log file, sort of, but not in an easily
parseable way. I don't see it in the data of the checkpoint
file. I must be missing something...</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Jon</div>
<div><br>
</div>
-- <br>
<div dir="ltr">________________________________________________________<br>
Jonathan D. Slavin Harvard-Smithsonian CfA<br>
<a moz-do-not-send="true"
href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a>
60 Garden Street, MS 83<br>
phone: (617) 496-7981 Cambridge, MA 02138-1516<br>
fax: (617) 496-7577 USA<br>
________________________________________________________<br>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>