ARTS built-in documentation server

Workspace Method abs_lookupAdapt

Description

Adapts a gas absorption lookup table to the current calculation.

The lookup table can contain more species and more frequencies than
are needed for the current calculation. This method cuts down the
table in memory, so that it contains just what is needed. Also, the
species in the table are brought in the same order as the species in
the current calculation.

Of course, the method also performs quite a lot of checks on the
table. If something is not ok, a runtime error is thrown.

The method sets a flag abs_lookup_is_adapted to indicate that the
table has been checked and that it is ok. Never set this by hand,
always use this method to set it!

Authors: Stefan Buehler

Synopsis

abs_lookupAdapt( abs_lookup, abs_lookup_is_adapted, abs_species, f_grid )

Variables

OUT+INabs_lookup(GasAbsLookup)An absorption lookup table.
OUTabs_lookup_is_adapted(Index)Flag to indicate whether abs_lookupAdapt has already been called.
INabs_species(ArrayOfArrayOfSpeciesTag)Tag groups for gas absorption.
INf_grid(Vector)The frequency grid for monochromatic pencil beam calculations.