radis.io.query moduleΒΆ
Wrapper to fetch line database from HITRAN with Astroquery 1 (based on [HAPI])
Note
if using, cite [HAPI] and [HITRAN-2020]
References
- R1
- fetch_astroquery(molecule, isotope, wmin, wmax, verbose=True, cache=True, expected_metadata={}, engine='pytables-fixed')[source]ΒΆ
Download a HITRAN line database to a Pandas DataFrame.
Wrapper to the fetch function of Astroquery 1 (itself based on [HAPI])
Note
if using, cite [HAPI] and [HITRAN-2020]
- Parameters
molecule (str, or int) β molecule name or identifier
isotope (int) β isotope number
wmin, wmax (float (cm-1)) β wavenumber min and max
- Other Parameters
verbose (boolean) β Default
True
cache (boolean or
'regen'
) β ifTrue
, tries to find a.h5
cache file in the Astroquerycache_location
, that would match the requirements. If not found, downloads it and saves the line dataframe as a.h5
file in the Astroquery. If'regen'
, delete existing cache file to regerenate it.expected_metadata (dict) β if
cache=True
, check that the metadata in the cache file correspond to these attributes. Argumentsmolecule
,isotope
,wmin
,wmax
are already added by default.
References
See also
astroquery.hitran.core.Hitran.query_lines_async()
,astroquery.query.BaseQuery.cache_location