[FLASH-USERS] simulation time for checkpoint file

Tom madtom1999 at googlemail.com
Thu Jul 3 16:34:26 EDT 2014


There is an app http://www.hdfgroup.org/products/java/hdfview/index.html 
  which is quite handy for browsing HDF files
Guessing what they mean is another thing...
Tom
On 03/07/14 16:24, Dean Townsley wrote:
> 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
>> ________________________________________________________
>>
>




More information about the flash-users mailing list