spectre.IO.H5.ExtractDatFromH5

Functions

extract_dat_files(filename, out_dir, ...[, ...])

Extract dat files from an H5 file

write_dat_data(dat_path, h5_filename, ...)

spectre.IO.H5.ExtractDatFromH5.extract_dat_files(filename, out_dir, num_cores, precision, list=False, force=False, subfiles=None)

Extract dat files from an H5 file

Extract all Dat files inside a SpECTRE HDF5 file. The resulting files will be put into the ‘OUT_DIR’ if specified, or printed to standard output. The directory structure will be identical to the group structure inside the HDF5 file.

spectre.IO.H5.ExtractDatFromH5.write_dat_data(dat_path, h5_filename, out_dir, precision)