[FLASH-USERS] understanding HDF5 data structures
Slavin, Jonathan
jslavin at cfa.harvard.edu
Wed Jun 11 10:45:51 EDT 2014
Hi all,
I'm new to using flash and just trying to understand the output in HDF5.
For example, when I read in the data from a plot file via h5py:
>>> f = h5py.File('sedov_forced_hdf5_plt_cnt_0000')
I get
>>> dens = f['dens']
>>> dens.shape
(517, 1, 8, 8)
I assume that somehow the various python or IDL output routines that create
plots are using other information about grid refinement to create arrays
that can be plotted directly (e.g. to create slices). I'd like to know how
that is done under the hood. Any help would be appreciated.
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/20140611/8bedcc6d/attachment.htm>
More information about the flash-users
mailing list