ARTS built-in documentation server

Workspace Method atm_fields_compactFromMatrixChevalAll

Description

Set atm_fields_compact and atm_fields_compact_all from 1D profiles in a matrix.

This WSM replaces atm_fields_compactFromMatrix in case of calculations,
including scattering. atm_fields_compact_all additionally contains 
the mass concentration profiles of scattering particles.

In case of batch calculations, this WSM is called internally by
batch_atm_fields_compactFromArrayOfMatrixChevalAll.
In this case atm_fields_compact is also still needed, for the WSM abs_lookupSetupBatch.
For that reason both GriddedField4 are defined as output here.

For further documentation see: atm_fields_compactFromMatrix

Row format:

p[Pa] T[K] z[m] LWC[kg/m3] IWC[kg/m3] Rain[kg/m2/s] Snow[kg/m2/s] VMR_1[fractional] ... VMR[fractional] IGNORE ... IGNORE

Works only for atmosphere_dim==1.

Possible future changes: name should fit naming conventions.
	WSM abs_lookupSetupBatch could be edited to handle batch_atm_fields_compact
	including scattering particles. Then two different batch_atm_fields_compacts
	and two different atm_fields_compacts would no longer be necessary.

Authors: Daniel Kreyling

Synopsis

atm_fields_compactFromMatrixChevalAll( atm_fields_compact_all, atm_fields_compact, atmosphere_dim, gin1, field_names )

Variables

OUTatm_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.
OUTatm_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).
GINgin1(Matrix)One atmosphere matrix from batch input ArrayOfMatrix.
GINfield_names(ArrayOfString)Order/Names of atmospheric fields.