spectre.IO.H5.CombineH5Dat

Functions

combine_h5_dat(h5files, output, force)

Combines multiple HDF5 dat files

spectre.IO.H5.CombineH5Dat.combine_h5_dat(h5files, output, force)

Combines multiple HDF5 dat files

This executable is used for combining a series of HDF5 files, each containing one or more dat files, into a single HDF5 file. A typical use case is to join dat-containing HDF5 files from different segments of a simulation, with each segment containing values of the dat files during different time intervals.

Parameters:
  • h5files – List of H5 dat files to join

  • output – Output filename. An extension ‘.h5’ will be added if not present.

  • force – If specified, overwrite output file if it already exists