[FLASH-USERS] simulation time for checkpoint file

Dean Townsley Dean.M.Townsley at ua.edu
Thu Jul 3 11:24:32 EDT 2014


Hi Jon,

Something that is easy to use in scripts is:

h5dump -d "real scalars" c_trunk_hdf5_chk_0007 | grep -A 1 '"time '

That gives the two lines output by h5dump, for example:
"time ",
          3.50004

adding a " | tail -1" will just give the time itself.

Dean



On 07/03/2014 08:08 AM, Slavin, Jonathan wrote:
> Hi all,
>
> 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...
>
> Jon
>
> -- 
> ________________________________________________________
> Jonathan D. Slavin                 Harvard-Smithsonian CfA
> jslavin at cfa.harvard.edu <mailto:jslavin at cfa.harvard.edu>    60 Garden 
> Street, MS 83
> phone: (617) 496-7981       Cambridge, MA 02138-1516
> fax: (617) 496-7577            USA
> ________________________________________________________
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20140703/9a1d0d69/attachment.htm>


More information about the flash-users mailing list