ARTS built-in documentation server

Workspace Method abs_fieldCalc

Description

Calculate scalar gas absorption for all points in the atmosphere.

This is useful in two different contexts:

1. For testing and plotting gas absorption. (For RT calculations, gas
absorption is calculated or extracted locally, therefore there is no
need to calculate a global field. But this method is handy for easy
plotting of absorption vs. pressure, for example.)

2. Inside the scattering region, monochromatic absorption is
pre-calculated for the entire atmospheric field.

Because of the different contexts, the method can calculate absorption
either for all frequencies in the frequency grid (f_index<0), or just
for the frequency indicated by f_index (f_index>=0).

The calculation itself is performed by the
abs_scalar_gas_agenda.

Authors: Stefan Buehler

Synopsis

abs_fieldCalc( abs_field, abs_scalar_gas_agenda, f_index, f_grid, atmosphere_dim, p_grid, lat_grid, lon_grid, t_field, vmr_field, doppler )

Variables

OUTabs_field(Tensor5)Scalar gas absorption field.
INabs_scalar_gas_agenda(Agenda)See agendas.cc.
INf_index(Index)Frequency index.
INf_grid(Vector)The frequency grid for monochromatic pencil beam calculations.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
INp_grid(Vector)The pressure grid.
INlat_grid(Vector)The latitude grid.
INlon_grid(Vector)The longitude grid.
INt_field(Tensor3)The field of atmospheric temperatures.
INvmr_field(Tensor4)VMR field.
GINdoppler(Vector, Default: [])A vector of doppler shift values in Hz. Must either be empty or have same dimension as p_grid