fiasco.util.build_hdf5_dbase(ascii_dbase_root, hdf5_dbase_root, files=None)[source]#

Assemble HDF5 file from raw ASCII CHIANTI database.

  • ascii_dbase_root (str or Path) – Path to top of CHIANTI database tree

  • hdf5_dbase_root (str or Path) – Path to HDF5 file

  • files (list or dict, optional) – A list of files to update in the HDF5 database. By default, this is all of the files in ascii_dbase_root. If a dict, the dictionary keys must contain filenames and the items corresponding expected md5 hash of the file. Building the database will fail if any of the md5 hashes is not as expected.