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

Workspace methods for HITRAN absorption cross section data. More...

#include "absorption.h"
#include "arts.h"
#include "messages.h"
#include "auto_md.h"
#include "hitran_xsec.h"
#include "physics_funcs.h"
#include "xml_io.h"

Go to the source code of this file.

Functions

void abs_xsec_per_speciesAddHitranXsec (ArrayOfMatrix &abs_xsec_per_species, ArrayOfArrayOfMatrix &dabs_xsec_per_species_dx, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfIndex &abs_species_active, const Vector &f_grid, const Vector &abs_p, const Vector &abs_t, const ArrayOfXsecRecord &hitran_xsec_data, const Index &apply_tfit, const Numeric &force_p, const Numeric &force_t, const Verbosity &verbosity)
 WORKSPACE METHOD: abs_xsec_per_speciesAddHitranXsec. More...
 

Variables

const Numeric SPEED_OF_LIGHT
 

Detailed Description

Workspace methods for HITRAN absorption cross section data.

Author
Oliver Lemke olive.nosp@m.r.le.nosp@m.mke@u.nosp@m.ni-h.nosp@m.ambur.nosp@m.g.de
Stefan Buehler
Date
2018-01-08

Definition in file m_hitran_xsec.cc.

Function Documentation

◆ abs_xsec_per_speciesAddHitranXsec()

void abs_xsec_per_speciesAddHitranXsec ( ArrayOfMatrix abs_xsec_per_species,
ArrayOfArrayOfMatrix dabs_xsec_per_species_dx,
const ArrayOfArrayOfSpeciesTag abs_species,
const ArrayOfRetrievalQuantity jacobian_quantities,
const ArrayOfIndex abs_species_active,
const Vector f_grid,
const Vector abs_p,
const Vector abs_t,
const ArrayOfXsecRecord hitran_xsec_data,
const Index apply_tfit,
const Numeric force_p,
const Numeric force_t,
const Verbosity verbosity 
)

WORKSPACE METHOD: abs_xsec_per_speciesAddHitranXsec.

Calculate absorption cross sections per tag group for HITRAN xsec species.

This broadens the cross section data from hitran_xsec_data and interpolates it onto the current f_grid.

apply_tfit turns of the temperature fit. It is only meant for testing and should alwasy be kept on for real calculations.

This method depends on the FFTW-3 library.

Author
Oliver Lemke
Parameters
[in,out]abs_xsec_per_speciesWS Input/Output
[in,out]dabs_xsec_per_species_dxWS Input/Output
[in]abs_speciesWS Input
[in]jacobian_quantitiesWS Input
[in]abs_species_activeWS Input
[in]f_gridWS Input
[in]abs_pWS Input
[in]abs_tWS Input
[in]hitran_xsec_dataWS Input
[in]apply_tfitGeneric Input (Default: "1")
[in]force_pGeneric Input (Default: "-1")
[in]force_tGeneric Input (Default: "-1")

Definition at line 41 of file m_hitran_xsec.cc.

References CREATE_OUTS, do_frequency_jacobian(), equivalent_propmattype_indexes(), frequency_perturbation(), hitran_xsec_get_index(), i, SpeciesTag::Name(), Array< base >::nelem(), ConstVectorView::nelem(), Vector::resize(), SpeciesTag::Species(), _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str(), supports_hitran_xsec(), SpeciesTag::Type(), and SpeciesTag::TYPE_HITRAN_XSEC.

Referenced by abs_xsec_per_speciesAddHitranXsec_g().

Variable Documentation

◆ SPEED_OF_LIGHT

const Numeric SPEED_OF_LIGHT