34 for (
auto& abs_lines: abs_lines_per_species) {
35 for (
auto& band: abs_lines) {
37 "Species: ", band.Isotopologue().FullName(),
" has no partition function\n",
38 "You must recompile ARTS partition functions with data for this species to continue your calculations,\n"
39 "or exclude the species from your computation setup")
47 for (
auto& abs_lines: abs_lines_per_species) {
48 for (
auto& band: abs_lines) {
50 "Species: ", band.Isotopologue().FullName(),
" has no isotopologue ratios\n",
51 "You must add its isotopologue ratios to your included data or\n"
52 "exclude the species from your computation setup")
85 const String& species_name,
87 const Matrix& abs_vmrs) {
88 const Index index =
find_first_species(abs_species, Species::fromShortName(species_name));
90 vmr.resize(abs_vmrs.ncols());
94 vmr = abs_vmrs(index, Range(joker));
void checkIsotopologueRatios(const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const Species::IsotopologueRatios &isoratios)
Check that isotopologue ratios for the given species are correctly defined.
void checkPartitionFunctions(const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species)
Check that ARTS was compiled for all requested species tags.
void set_vmr_from_first_species(Vector &vmr, const String &species_name, const ArrayOfArrayOfSpeciesTag &abs_species, const Matrix &abs_vmrs)
set_abs_from_first_species.
Numeric wavenumber_to_joule(Numeric e)
A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J).
Declarations required for the calculation of absorption coefficients.
The global header file for ARTS.
This can be used to make arrays out of anything.
#define ARTS_USER_ERROR_IF(condition,...)
This file contains basic functions to handle ASCII files.
Constains various line scaling functions.
Declarations having to do with the four output streams.
constexpr auto kaycm2joule(auto x) noexcept
Conversion from cm-1 to Joule.
constexpr bool has_partfun(const Species::IsotopeRecord &ir) noexcept