download_molecule

download_molecule#

shone.opacity.download_molecule(isotopologue=None, molecule_name=None, line_list='first-found', temperature_range=None, pressure_range=None, version=None)[source]#

Download molecular opacity data from DACE.

Warning

This generates very large files. Only run this method if you have ~6 GB available per molecule.

Parameters:
  • isotopologue (str) – For example, “1H2-16O” for water.

  • molecule_name (str) – Common name for the molecule, for example: “H2O”

  • line_list (str, default is 'first-found', optional) – For example, “POKAZATEL” for water. By default, the first available line list for this isotopologue is chosen.

  • temperature_range (tuple, optional) – Tuple of integers specifying the min and max temperature requested. Defaults to the full range of available temperatures.

  • pressure_range (tuple, optional) – Tuple of floats specifying the log base 10 of the min and max pressure [bar] requested. Defaults to the full range of available pressures.

  • version (float, optional) – Version number of the line list in DACE. Defaults to the latest version.