[FLASH-USERS] simulation time for checkpoint file
John ZuHone
jzuhone at milkyway.gsfc.nasa.gov
Thu Jul 3 09:17:22 EDT 2014
Hi Jonathan,
It's buried in the HDF5 file, in:
/real scalars/time
yt gets it rather easily (code here works in version 3.0):
import yt
ds = yt.load("sedov_hdf5_chk_0003")
print ds.current_time
Best,
John Z
On Jul 3, 2014, at 9:08 AM, Slavin, Jonathan <jslavin at cfa.harvard.edu> 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 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/d992e1c7/attachment-0001.htm>
More information about the flash-users
mailing list