ARTS HITRAN cross section absorption model
-
Download the precalculated coefficients files from the
arts-xml-data
package and put them in thecoefficients/
directory.To generate the coefficients yourself, see section "Generate model coefficients" below.
-
Run the example script.
scripts/Xsec_Calculate.py
Creates a plot of CFC-11 crossections in
plots/Xsecs/
.
-
Download Hitran cross section data and molecule headers into designated folders
cd data/HitranXsec/ curl -O https://hitran.org/data/xsec/xss.tar.gz tar -zxf xss.tar.gz cd ../HitranMoleculeHeaders/ wget --no-parent -nd -r -A '*.json' https://hitran.org/suppl/xsec/molecule_headers/ cd -
-
Convert cross section data to json format
scripts/Xsec_ConvertHitranToJson.py
-
Generate harmonized data
scripts/Xsec_DefineBandsAndHarmonizeData.py
Choose option 0 to use the predefined band configuration.
-
Generate model coefficients
scripts/Xsec_CalculateFitCoefficients.py -f
The
-f
option generates optional diagnostic figures inplots/SPECIES/
.Use
-p X
to speed up the calculation by using X cores in parallel.The XML data files are stored in
coefficients/
.