ARTS built-in documentation server

Workspace Method AtmFieldsFromCompactChevalAll

Description

Extract pressure grid and atmospheric fields from
atm_fields_compact_all.

In contrast to atm_fields_compact, atm_fields_compact_all
also contains mass concentrations for scattering particles

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. mass concentration fields for the scattering particles
           4. vmr fields for the gaseous species
This method just splits up the data found in atm_fields_compact_all to
p_grid, lat_grid, lon_grid, and the various fields. No interpolation.
See documentation of atm_fields_compact_all for a definition of the data.

NOTE: HARD WIRED code!

There are some safety checks on the names of the fields: The first
field must be called "T", the second "z".
The following 4 fields must be "LWC", "IWC", "Rain" and "Snow".
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.
Name should fit naming conventions.

Authors: Daniel Kreyling

Synopsis

AtmFieldsFromCompactChevalAll( p_grid, lat_grid, lon_grid, t_field, z_field, massdensity_field, vmr_field, abs_species, atm_fields_compact_all, 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.
OUTmassdensity_field(Tensor4)The field of atmospheric scattering particle types in unit of massdensity (like IWC/LWC/Rain/Aerosol etc.).
OUTvmr_field(Tensor4)VMR field.
INabs_species(ArrayOfArrayOfSpeciesTag)Tag groups for scalar gas absorption.
INatm_fields_compact_all(GriddedField4)A compact combination of all atmospheric fields for a clear-sky and cloud particle scattering calculation on a common set of grids.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).