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 (TensorX) are currently only implemented for
appending to the leading dimension.

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

Authors: Stefan Buehler, Oliver Lemke

Synopsis

Append( out, in, dimension )

Variables

GOUTout(Vector, Vector, Matrix, Matrix, Tensor3, Tensor3, Tensor4, Tensor4, String, ArrayOfAbsorptionLines, ArrayOfArrayOfAbsorptionLines, ArrayOfAgenda, ArrayOfArrayOfGriddedField1, ArrayOfArrayOfGriddedField2, ArrayOfArrayOfGriddedField3, ArrayOfArrayOfIndex, ArrayOfArrayOfMatrix, ArrayOfPpath, ArrayOfArrayOfPropagationMatrix, ArrayOfArrayOfRadiationVector, ArrayOfArrayOfScatteringMetaData, ArrayOfArrayOfSingleScatteringData, ArrayOfArrayOfSpeciesTag, ArrayOfArrayOfStokesVector, ArrayOfArrayOfString, ArrayOfArrayOfTensor3, ArrayOfArrayOfTensor6, ArrayOfArrayOfTime, ArrayOfArrayOfTransmissionMatrix, ArrayOfArrayOfVector, ArrayOfCIARecord, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfGriddedField4, ArrayOfIndex, ArrayOfMatrix, ArrayOfPropagationMatrix, ArrayOfQuantumIdentifier, ArrayOfRadiationVector, ArrayOfRetrievalQuantity, ArrayOfScatteringMetaData, ArrayOfSingleScatteringData, ArrayOfSparse, ArrayOfStokesVector, ArrayOfString, ArrayOfTelsemAtlas, ArrayOfTensor3, ArrayOfTensor4, ArrayOfTensor5, ArrayOfTensor6, ArrayOfTensor7, ArrayOfTime, ArrayOfTransmissionMatrix, ArrayOfVector, ArrayOfXsecRecord, ArrayOfAbsorptionLines, ArrayOfArrayOfAbsorptionLines, ArrayOfAgenda, ArrayOfArrayOfGriddedField1, ArrayOfArrayOfGriddedField2, ArrayOfArrayOfGriddedField3, ArrayOfArrayOfIndex, ArrayOfArrayOfMatrix, ArrayOfPpath, ArrayOfArrayOfPropagationMatrix, ArrayOfArrayOfRadiationVector, ArrayOfArrayOfScatteringMetaData, ArrayOfArrayOfSingleScatteringData, ArrayOfArrayOfStokesVector, ArrayOfArrayOfString, ArrayOfArrayOfTensor3, ArrayOfArrayOfTensor6, ArrayOfArrayOfTime, ArrayOfArrayOfTransmissionMatrix, ArrayOfArrayOfVector, ArrayOfCIARecord, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfGriddedField4, ArrayOfIndex, ArrayOfMatrix, ArrayOfPropagationMatrix, ArrayOfQuantumIdentifier, ArrayOfRadiationVector, ArrayOfScatteringMetaData, ArrayOfSingleScatteringData, ArrayOfSparse, ArrayOfStokesVector, ArrayOfString, ArrayOfTelsemAtlas, ArrayOfTensor3, ArrayOfTensor4, ArrayOfTensor5, ArrayOfTensor6, ArrayOfTensor7, ArrayOfTime, ArrayOfTransmissionMatrix, ArrayOfVector) The variable to append to.
GINin(Numeric, Vector, Matrix, Vector, Matrix, Tensor3, Tensor3, Tensor4, String, ArrayOfAbsorptionLines, ArrayOfArrayOfAbsorptionLines, ArrayOfAgenda, ArrayOfArrayOfGriddedField1, ArrayOfArrayOfGriddedField2, ArrayOfArrayOfGriddedField3, ArrayOfArrayOfIndex, ArrayOfArrayOfMatrix, ArrayOfPpath, ArrayOfArrayOfPropagationMatrix, ArrayOfArrayOfRadiationVector, ArrayOfArrayOfScatteringMetaData, ArrayOfArrayOfSingleScatteringData, ArrayOfArrayOfSpeciesTag, ArrayOfArrayOfStokesVector, ArrayOfArrayOfString, ArrayOfArrayOfTensor3, ArrayOfArrayOfTensor6, ArrayOfArrayOfTime, ArrayOfArrayOfTransmissionMatrix, ArrayOfArrayOfVector, ArrayOfCIARecord, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfGriddedField4, ArrayOfIndex, ArrayOfMatrix, ArrayOfPropagationMatrix, ArrayOfQuantumIdentifier, ArrayOfRadiationVector, ArrayOfRetrievalQuantity, ArrayOfScatteringMetaData, ArrayOfSingleScatteringData, ArrayOfSparse, ArrayOfStokesVector, ArrayOfString, ArrayOfTelsemAtlas, ArrayOfTensor3, ArrayOfTensor4, ArrayOfTensor5, ArrayOfTensor6, ArrayOfTensor7, ArrayOfTime, ArrayOfTransmissionMatrix, ArrayOfVector, ArrayOfXsecRecord, AbsorptionLines, ArrayOfAbsorptionLines, Agenda, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfIndex, ArrayOfMatrix, Ppath, ArrayOfPropagationMatrix, ArrayOfRadiationVector, ArrayOfScatteringMetaData, ArrayOfSingleScatteringData, ArrayOfStokesVector, ArrayOfString, ArrayOfTensor3, ArrayOfTensor6, ArrayOfTime, ArrayOfTransmissionMatrix, ArrayOfVector, CIARecord, GriddedField1, GriddedField2, GriddedField3, GriddedField4, Index, Matrix, PropagationMatrix, QuantumIdentifier, RadiationVector, ScatteringMetaData, SingleScatteringData, Sparse, StokesVector, String, TelsemAtlas, Tensor3, Tensor4, Tensor5, Tensor6, Tensor7, Time, TransmissionMatrix, Vector)The variable to append.
GINdimension(String, Default: "leading")Where to append. Could be either the "leading" or "trailing" dimension.