ARTS  2.3.1285(git:92a29ea9-dirty)
species_data.cc File Reference

Implementation of function define_species_data(). More...

#include "absorption.h"
#include "arts.h"

Go to the source code of this file.

Namespaces

 global_data
 

Macros

Some #defines for better readability
#define NAME(x)   x
 
#define DEGFR(x)   x
 
#define ISOTOPOLOGUES(...)   { __VA_ARGS__ }
 
#define REC   IsotopologueRecord
 
#define TAGS(...)   { __VA_ARGS__ }
 

Functions

void define_basic_species_data ()
 Define species lookup data. More...
 
void define_partition_species_data ()
 
void define_species_data ()
 
void define_species_map ()
 

Detailed Description

Implementation of function define_species_data().

This file contains the definition of this function and nothing else. You can add new records here if you want to extend the capability of ARTS.

This is the file from arts-1-0, back-ported to arts-1-1. NOTE that adding new data here (new species or new isotopologues) requires equivalent additions in partition_function_data.cc. Also, equivalent data should be added to the isotopratio.xml for other planets residing in the planets/ folders of arts-xml-data should be done.

Author
Stefan Buehler, Axel von Engeln
Date
2000-08-10

Definition in file species_data.cc.

Macro Definition Documentation

◆ DEGFR

#define DEGFR (   x)    x

Definition at line 52 of file species_data.cc.

Referenced by define_basic_species_data().

◆ ISOTOPOLOGUES

#define ISOTOPOLOGUES (   ...)    { __VA_ARGS__ }

Definition at line 53 of file species_data.cc.

Referenced by define_basic_species_data().

◆ NAME

#define NAME (   x)    x

Definition at line 51 of file species_data.cc.

Referenced by define_basic_species_data().

◆ REC

#define REC   IsotopologueRecord

Definition at line 55 of file species_data.cc.

Referenced by define_basic_species_data().

◆ TAGS

#define TAGS (   ...)    { __VA_ARGS__ }

Definition at line 56 of file species_data.cc.

Referenced by define_basic_species_data().

Function Documentation

◆ define_basic_species_data()

void define_basic_species_data ( )

Define species lookup data.

Author
Stefan Buehler, Axel von Engeln

Source for entries

Molecule Name:

Generally Hitran convention, unless otherwise indicated.

Degrees of freedom:

Generally taken from the forward_4_96 release, file glob_def.c, unless otherwise indicated.

Isotopologues:

Generally Hitran convention, e.g., for the main H2O isotopologue: 161, thus the last digit of the sum of the neutrons and protons of the individual atoms is taken. Nevertheless, molecules like H2CO have only 3 digits in Hitran, only one for the two H atoms. This leads to problems with the jpl catalogue, if this includes DHCO and DDCO. For these cases, a different scheme is taken as indicated.

Isotopologue Ratio:

Built-in isotoplogue ratios for Earth. Generally Hitran convention, unless otherwise indicated. A number code in the header gives the source of the isotopologue ratios for each isotopologue of each species:

1: HITRAN isotopologue ratio (varying editions; usually the recent one at time of addition) (DEFAULT, even if jpl and hitran isotopologue ratios are available).
2: jpl isotopologue ratio, taken from the documentation coming along with the catalogue (see d<tag_nr>.cat at /storage3/data/pool/lookup2/jpl/cat7_00/doc/ or http://spec.jpl.nasa.gov/ftp/pub/catalog/doc/, where log10(isotop.ratio) is documented as Isotope Corr.
3: jpl isotopologue ratio is multiplied with the maximum isotopologue ratio of this species found in hitran, or (if species does not exist in hitran) scaled with the sum of the relative abundances of all the jpl isotopologues of this species. is only performed when jpl main isotopologue ratio is given as 1.
4: isotopologue ratio calculated from (atomic) isotopic abundances. Origin of isotopic ratio documented in individual species headers.
0: Wild (but educated) guess (e.g. for inert gases).

On run-time, isotopologue ratios can be initialized from those built-in values or can be read in from file (replacing those given here). Pre-prepared xml files with isotopologue ratios of selected planets are available from arts-xml-data package.

Mass:

mass as given in file MOLPARAM.TXT of HITRAN2000. If tag is not present in HITRAN, the rounded value is stated. Note that the mass is given in units of [g/mol].

MY-tags:

Extracted from file glob_def.c.

HI-tags:

According to HITRAN's molparams.txt (order of isotopologues determines isotopologue number) found in ftp://cfa-ftp.harvard.edu/pub/HITRAN-XXXX/Global_Data/, where XXXX stands for the respective HITRAN version.

JPL-tags:
From JPL species list documented on http://spec.jpl.nasa.gov/ftp/pub/catalog/catdir.html.

Some more information can be found at svn:arts/branches/ARTS-1-0/misc/abundances/, where the idl script that reads/converts the isotopologue ratios is located.

Author
Axel von Engeln, Jana Mendrok
Date
2000-08-08

Definition at line 163 of file species_data.cc.

References DEGFR, ISOTOPOLOGUES, NAME, REC, global_data::species_data, and TAGS.

Referenced by define_species_data().

◆ define_partition_species_data()

void define_partition_species_data ( )

Definition at line 188 of file partition_function_data.cc.

References iso(), next_species(), Qcoeff, and global_data::species_data.

Referenced by define_species_data().

◆ define_species_data()

◆ define_species_map()

void define_species_map ( )

Define the species data map.

Author
Stefan Buehler

Definition at line 1069 of file species_data.cc.

References i, global_data::species_data, and global_data::SpeciesMap.

Referenced by InteractiveWorkspace::initialize(), main(), test_ecs20(), test_hitran2017(), test_mpm20(), and test_zeeman().