ARTS  2.2.66
species_data.cc File Reference

Implementation of function define_species_data(). More...

#include "arts.h"
#include "make_array.h"
#include "absorption.h"
Include dependency graph for species_data.cc:

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   MakeArray<IsotopologueRecord>
 
#define REC   IsotopologueRecord
 
#define TAGS   MakeArray<Index>
 

Functions

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

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   MakeArray<IsotopologueRecord>

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 54 of file species_data.cc.

Referenced by define_basic_species_data().

◆ TAGS

#define TAGS   MakeArray<Index>

Definition at line 55 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 165 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 ( )

◆ define_species_data()

void define_species_data ( )

Definition at line 158 of file species_data.cc.

References define_basic_species_data(), and define_partition_species_data().

Referenced by main().