Skip to Content.
Sympa Menu

opal - [Opal] h5dump to output readable bunch input file

opal AT

Subject: The OPAL Discussion Forum

List archive

[Opal] h5dump to output readable bunch input file

Chronological Thread 
  • From: "Schneider, Sergej" <sergej.schneider AT>
  • To: "opal AT" <opal AT>
  • Subject: [Opal] h5dump to output readable bunch input file
  • Date: Thu, 4 Jul 2013 14:52:21 +0000
  • Accept-language: de-DE, en-US
  • List-archive: <>
  • List-id: The OPAL Discussion Forum <>

Dear all,

does anyone have some experience with the tool h5dump? I am struggling to get an output that suits the required format of the bunch input file for OPAL, which would be

x1 px1 y1 py1 z1 pz1
xN pxN...

For example, with the command "h5dump -d /Step#1/x ... -d /Step#1/pz -o out" I can get an output file with all the required information to read in a bunch but it's in the wrong format as it outputs the whole dataset x with all N particles before writing the next dataset:

x1 ... xN ... pz1 ... pzN

Does anyone know if it's possible to get out a file straight with the right format?


Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Hahn-Meitner-Platz 1
D-14109 Berlin

Archive powered by MHonArc 2.6.19.

Top of Page