Download the HITEMP databaseΒΆ

Database will be downloaded automatically and can be edited locally.

To compute a spectrum with the HITEMP database, see the Calculate a HITEMP spectrum example

By default the database is returned as a Pandas DataFrame. To explore huge databases (like CO2, CH4 or H2O) that do not fit in RAM, RADIS allows you to use a Vaex DataFrame instead (out-of-RAM). See the Explore Database with Vaex example

from radis.io.hitemp import fetch_hitemp

df = fetch_hitemp("OH")
print(df.columns)
Downloading 13_HITEMP2020.par.bz2 for OH (1/1).
Download complete. Parsing OH database to /home/docs/.radisdb/hitemp/OH-13_HITEMP2020.hdf5
[04/24/24 08:58:13] WARNING  could not close memmap for       dataset_mmap.py:94
                             column
                             /home/docs/.radisdb/hitemp/OH-13
                             _HITEMP2020_temp00000.hdf5
Added HITEMP-OH database in /home/docs/radis.json
Index(['id', 'iso', 'wav', 'int', 'A', 'airbrd', 'selbrd', 'El', 'Tdpair',
       'Pshft', 'globu', 'globl', 'locu', 'locl', 'ierr', 'iref', 'lmix', 'gp',
       'gpp'],
      dtype='object')

Returns:

Index(['id', 'iso', 'wav', 'int', 'A', 'airbrd', 'selbrd', 'El', 'Tdpair',
       'Pshft', 'globu', 'globl', 'locu', 'locl', 'ierr', 'iref', 'lmix', 'gp',
       'gpp'],
      dtype='object')

Columns are described in columns_2004

A specific can be retrieved with the same fetch_hitemp() function. The already downloaded database will be used:

df = fetch_hitemp("OH", load_wavenum_min=31500, load_wavenum_max=33000, isotope="1")
df.plot("wav", "int")
plot hitemp OH database
<Axes: xlabel='wav'>

Total running time of the script: (0 minutes 1.976 seconds)