Thank you so much for the help! _______________________ Maria C. Babiuc Hamilton, Ph.D. Professor, Department of Physics College of Science, Marshall University, 1 John Marshall Drive, Huntington, WV, 25755 Room S 257, Phone: (304)696-2754
________________________________ From: Roland Haas Sent: Wednesday, June 15, 2022 4:29 PM To: Chris Stevens Cc: Hamilton, Maria; [email protected] Subject: Re: Combine multiple h5 files Hello all, Chris' answer is absolutely correct. The utilities are built by default by Simfactory and by doing `make sim-utils` using a non-simfactory build. hdf5_merge is the tool to use to combine multiple HDF5 files, eg different variables or multiple segments of the same simulation. It won't merge output files from multiple processes into a single file (so foo.xyz.file_0.h5 and foo.xyz.file_1.h5 cannot be merged but foo.xyz.file_0.h5 and bar.xyz.file_0.h5 can be merged). If you need merge files foo.xyz.file_0.h5 and foo.xyz.file_1.h5 into foo.xyz.h5 then you can use the hdf5_slicer utility and its --out3d-cube option (hdf5_slicer --help gives some examples). Yours, Roland > KIa ora Maria, > > For me, there are hdf scripts located in Cactus/exe/<Build name>, > such as hdf5_merge, which should do what you are after. These > potentially may only be there for certain build options but someone > more knowledgeable than me can probably expand on that. > > Cheers, > > Chris > > [cid:8795d7d8-3669-4adf-905d-788d81a3ba8c] > > > [cid:3a28163e-f206-41a5-8619-e8b15edd91b0] > > > > Dr Chris Stevens > > Lecturer in Applied Mathematics > > Rm 602, Jack Erskine building > > School of Mathematics and Statistics > > T: +64 3 369 0396 (Internal 90396) > > University of Canterbury | Te Whare Wānanga o Waitaha > > Private Bag 4800, Christchurch 8140, New Zealand > > https://urldefense.com/v3/__http://www.chrisdoesmaths.com__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSarFL5K9$ > <https://urldefense.com/v3/__http://www.chrisdoesmaths.com/__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSQw-a2Wd$ > > > > > Director > SCRI Ltd > https://urldefense.com/v3/__http://www.scri.co.nz__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSaWVNa5R$ > <https://urldefense.com/v3/__http://www.scri.co.nz/__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSYsOUyhW$ > > > > ________________________________ > From: [email protected] > <[email protected]> on behalf of Hamilton, Maria > <[email protected]> Sent: 16 June 2022 08:02 To: Roland Haas > <[email protected]> Cc: [email protected] > <[email protected]> Subject: [Users] Combine multiple h5 files > > You don't often get email from [email protected]. Learn why this is > important<https://urldefense.com/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSfd6n3TN$ > > Hi, > > I have a quick question: my output has a series of ....xyz.file_...h5 > and I would like to look at them. Do I have to combine them? If yes, > is there a way to combine them in one single file? > > Maria > > _______________________ > Maria C. Babiuc Hamilton, Ph.D. > Professor, Department of Physics > College of Science, Marshall University, > 1 John Marshall Drive, Huntington, WV, 25755 > Room S 257, Phone: (304)696-2754 > -- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://keys.gnupg.net.
_______________________________________________ Users mailing list [email protected] http://lists.einsteintoolkit.org/mailman/listinfo/users
