fiasco currently only supports version 8 of the CHIANTI database.

check_database#

fiasco.util.check_database(hdf5_dbase_root, **kwargs)[source]#

Check if the HDF5 database exists, download the ASCII files and build the HDF5 database.

Check if the HDF5 database exists. If it does not, check if the ASCII database exists. If it does not, download the raw ASCII database from the CHIANTI webpage. Finally, build the HDF5 database from the ASCII database.

Parameters:
  • hdf5_dbase_root (str or Path)

  • ascii_dbase_root (str or Path, optional)

  • ask_before (bool, optional)

  • ascii_dbase_url (str, optional)