ARTS built-in documentation server

Workspace Method AtmFieldsCalc

Description

Interpolation of raw atmospheric T, z, and VMR fields to calculation grids.

An atmospheric scenario includes the following data for each
position (pressure, latitude, longitude) in the atmosphere:
   1. temperature field
   2. the corresponding altitude field
   3. vmr fields for the gaseous species
This method interpolates the fields of raw data (t_field_raw,
z_field_raw, vmr_field_raw) which can be stored on arbitrary
grids to the calculation grids (p_grid, lat_grid, lon_grid).

Internally, AtmFieldsCalc applies GriddedFieldPRegrid and
GriddedFieldLatLonRegrid. Generally, 'half-grid-step' extrapolation
is allowed and applied. However, if *vmr_zeropadding*=1 then VMRs at
p_grid levels exceeding the raw VMRs' pressure grid are set to 0
(applying the *zeropadding* option of GriddedFieldPRegrid).

Default is to just accept obtained VMRs. If you want to enforce
that all VMR created are >= 0, set *vmr_nonegative* to 1. Negative
values are then set 0. Beside being present in input data, negative
VMR can be generated from the interpolation if *interp_order* is
above 1.

Authors: Claudia Emde, Stefan Buehler

Synopsis

AtmFieldsCalc( t_field, z_field, vmr_field, p_grid, lat_grid, lon_grid, t_field_raw, z_field_raw, vmr_field_raw, atmosphere_dim, interp_order, vmr_zeropadding, vmr_nonegative )

Variables

OUTt_field(Tensor3)The field of atmospheric temperatures.
OUTz_field(Tensor3)The field of geometrical altitudes.
OUTvmr_field(Tensor4)VMR field.
INp_grid(Vector)The pressure grid.
INlat_grid(Vector)The latitude grid.
INlon_grid(Vector)The longitude grid.
INt_field_raw(GriddedField3)Raw data for atmospheric temperatures.
INz_field_raw(GriddedField3)Raw data for geometrical altitudes.
INvmr_field_raw(ArrayOfGriddedField3)VMR data for the chosen gaseous species.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
GINinterp_order(Index, Default: 1)Interpolation order (1=linear interpolation).
GINvmr_zeropadding(Index, Default: 0)Pad VMRs with zeroes to fit the pressure grid if necessary.
GINvmr_nonegative(Index, Default: 0)If set to 1, negative VMRs are set to 0.