ARTS built-in documentation server

Workspace Method AtmFieldsFromCompact

Description

Extract pressure grid and atmospheric fields from
atm_fields_compact.

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 just splits up the data found in atm_fields_compact to
p_grid, lat_grid, lon_grid, and the various fields. No interpolation.
See documentation of atm_fields_compact for a definition of the data.

There are some safety checks on the names of the fields: The first
field must be called "T", the second "z"*. Remaining fields must be
trace gas species volume mixing ratios, named for example "H2O", "O3",
and so on. The species names must fit the species in abs_species.
(Same species in same order.) Only the species name must fit, not the
full tag.

Possible future extensions: Add a keyword parameter to refine the
pressure grid if it is too coarse. Or a version that interpolates onto
given grids, instead of using and returning the original grids.

Authors: Stefan Buehler

Synopsis

AtmFieldsFromCompact( p_grid, lat_grid, lon_grid, t_field, z_field, vmr_field, abs_species, atm_fields_compact, atmosphere_dim )

Variables

OUTp_grid(Vector)The pressure grid.
OUTlat_grid(Vector)The latitude grid.
OUTlon_grid(Vector)The longitude grid.
OUTt_field(Tensor3)The field of atmospheric temperatures.
OUTz_field(Tensor3)The field of geometrical altitudes.
OUTvmr_field(Tensor4)VMR field.
INabs_species(ArrayOfArrayOfSpeciesTag)Tag groups for scalar gas absorption.
INatm_fields_compact(GriddedField4)A compact combination of all atmospheric fields for a clear-sky calculation on a common set of grids.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).