ARTS built-in documentation server

Workspace Method Append

Description

Append one workspace variable to another.

This method can append an array to another array of the same type,
e.g. ArrayOfIndex to ArrayOfIndex. Or a single element to an array
such as a Tensor3 to an ArrayOfTensor3.

Appending two vectors or a numeric to a vector works as for array
variables.

Both another matrix or a vector can be appended to a matrix. In
addition, for matrices, the 'append dimension' can be selected.
The third argument, *dimension*, indicates how to append, where
"leading" means to append row-wise, and "trailing" means
column-wise. Other types are currently only implemented for
appending to the leading dimension.

This method is not implemented for all types, just for those that
were thought to be useful. (See variable list below.).

Authors: Stefan Buehler, Oliver Lemke

Synopsis

Append( out, in, dimension )

Variables

GOUTout(Vector, Vector, Matrix, Matrix, Tensor4, String, ArrayOfIndex, ArrayOfArrayOfIndex, ArrayOfString, ArrayOfVector, ArrayOfArrayOfVector, ArrayOfMatrix, ArrayOfArrayOfMatrix, ArrayOfSparse, ArrayOfTensor3, ArrayOfArrayOfTensor3, ArrayOfTensor4, ArrayOfTensor6, ArrayOfTensor7, ArrayOfArrayOfTensor6, ArrayOfLineMixingRecord, ArrayOfLineRecord, ArrayOfArrayOfLineRecord, ArrayOfLineshapeSpec, ArrayOfArrayOfSpeciesTag, ArrayOfSingleScatteringData, ArrayOfScatteringMetaData, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfGriddedField4, ArrayOfArrayOfGriddedField1, ArrayOfArrayOfGriddedField2, ArrayOfArrayOfGriddedField3, ArrayOfArrayOfLineMixingRecord, ArrayOfRetrievalQuantity, ArrayOfCIARecord, ArrayOfIndex, ArrayOfArrayOfIndex, ArrayOfString, ArrayOfVector, ArrayOfArrayOfVector, ArrayOfMatrix, ArrayOfArrayOfMatrix, ArrayOfSparse, ArrayOfTensor3, ArrayOfArrayOfTensor3, ArrayOfTensor4, ArrayOfTensor6, ArrayOfTensor7, ArrayOfArrayOfTensor6, ArrayOfArrayOfLineRecord, ArrayOfSingleScatteringData, ArrayOfScatteringMetaData, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfGriddedField4, ArrayOfArrayOfGriddedField1, ArrayOfArrayOfGriddedField2, ArrayOfArrayOfGriddedField3, ArrayOfArrayOfLineMixingRecord) The variable to append to.
GINin(Numeric, Vector, Matrix, Vector, Tensor4, String, ArrayOfIndex, ArrayOfArrayOfIndex, ArrayOfString, ArrayOfVector, ArrayOfArrayOfVector, ArrayOfMatrix, ArrayOfArrayOfMatrix, ArrayOfSparse, ArrayOfTensor3, ArrayOfArrayOfTensor3, ArrayOfTensor4, ArrayOfTensor6, ArrayOfTensor7, ArrayOfArrayOfTensor6, ArrayOfLineMixingRecord, ArrayOfLineRecord, ArrayOfArrayOfLineRecord, ArrayOfLineshapeSpec, ArrayOfArrayOfSpeciesTag, ArrayOfSingleScatteringData, ArrayOfScatteringMetaData, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfGriddedField4, ArrayOfArrayOfGriddedField1, ArrayOfArrayOfGriddedField2, ArrayOfArrayOfGriddedField3, ArrayOfArrayOfLineMixingRecord, ArrayOfRetrievalQuantity, ArrayOfCIARecord, Index, ArrayOfIndex, String, Vector, ArrayOfVector, Matrix, ArrayOfMatrix, Sparse, Tensor3, ArrayOfTensor3, Tensor4, Tensor6, Tensor7, ArrayOfTensor6, ArrayOfLineRecord, SingleScatteringData, ScatteringMetaData, GriddedField1, GriddedField2, GriddedField3, GriddedField4, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfLineMixingRecord)The variable to append.
GINdimension(String, Default: "leading")Where to append. Could be either the "leading" or "trailing" dimension.