Hi Erik, Ian, Roland Thanks so much for your replies!
Erik - this sounds like the easiest way. I did notice these utilities, however I can't find documentation on how to use them. Am I missing it somewhere? Ian - yes, I did see that loop. I added a print statement inside it, and it looks like the code isn't even going into that loop (with out_timesteps_per_file=1 of course). I don't see any files with the "iter" suffix, and I am definitely looking at a new simulation directory. I'll have a more in depth look at this in the coming weeks. Thanks! Roland - thanks for your suggestion. I'll give this a go if the post-processing method doesn't work for me. Again, thanks all for you help. Cheers Hayley On 23 June 2017 at 01:55, Erik Schnetter <[email protected]> wrote: > Hayley > > The simplest way would be to post-process the HDF5 files after the > simulation has finished. HDF5 comes with tools that manipulate HDF5 files, > e.g. adding/removing compression, and also copying or selecting objects > from one file to another. You can also use this to combine output from all > processes into a single file. For post-processing, having one file per > variable (!) and iteration is often the most convenient. > > -erik > > > > On Tue, Jun 20, 2017 at 9:04 AM, Hayley Macpherson < > [email protected]> wrote: > >> Hello, >> I am using the Einstein Toolkit for cosmological simulations, and would >> like to ask a question regarding my HDF5 3D output. >> Currently I am outputting all 3D snapshots to one HDF5 file (as per >> default). I would like to have my output as separate files for each time >> snapshot, to help with ease of copying and visualisation in post >> processing. >> >> I found the following parameter in IOUtil, and changed it accordingly for >> a simulation: >> IO::out_timesteps_per_file = 1 >> However this made no difference to my output, I still had multiple time >> snapshots in the one file. >> >> Is there another way to separate my 3D HDF5 output into one file per >> snapshot? >> Any help anyone can offer would be much appreciated! >> >> Kind regards, >> Hayley Macpherson >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.einsteintoolkit.org/mailman/listinfo/users >> >> > > > -- > Erik Schnetter <[email protected]> > http://www.perimeterinstitute.ca/personal/eschnetter/ > >
_______________________________________________ Users mailing list [email protected] http://lists.einsteintoolkit.org/mailman/listinfo/users
