Append

Workspace.Append(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfAbsorptionLines | pyarts.arts.ArrayOfAgenda | pyarts.arts.ArrayOfArrayOfAbsorptionLines | pyarts.arts.ArrayOfArrayOfGriddedField1 | pyarts.arts.ArrayOfArrayOfGriddedField2 | pyarts.arts.ArrayOfArrayOfGriddedField3 | pyarts.arts.ArrayOfArrayOfIndex | pyarts.arts.ArrayOfArrayOfMatrix | pyarts.arts.ArrayOfArrayOfPropagationMatrix | pyarts.arts.ArrayOfArrayOfRadiationVector | pyarts.arts.ArrayOfArrayOfScatteringMetaData | pyarts.arts.ArrayOfArrayOfSingleScatteringData | pyarts.arts.ArrayOfArrayOfSpeciesTag | pyarts.arts.ArrayOfArrayOfStokesVector | pyarts.arts.ArrayOfArrayOfString | pyarts.arts.ArrayOfArrayOfTensor3 | pyarts.arts.ArrayOfArrayOfTensor6 | pyarts.arts.ArrayOfArrayOfTime | pyarts.arts.ArrayOfArrayOfTransmissionMatrix | pyarts.arts.ArrayOfArrayOfVector | pyarts.arts.ArrayOfCIARecord | pyarts.arts.ArrayOfGriddedField1 | pyarts.arts.ArrayOfGriddedField2 | pyarts.arts.ArrayOfGriddedField3 | pyarts.arts.ArrayOfGriddedField4 | pyarts.arts.ArrayOfIndex | pyarts.arts.ArrayOfJacobianTarget | pyarts.arts.ArrayOfMatrix | pyarts.arts.ArrayOfPpath | pyarts.arts.ArrayOfPropagationMatrix | pyarts.arts.ArrayOfQuantumIdentifier | pyarts.arts.ArrayOfRadiationVector | pyarts.arts.ArrayOfRetrievalQuantity | pyarts.arts.ArrayOfScatteringMetaData | pyarts.arts.ArrayOfSingleScatteringData | pyarts.arts.ArrayOfSparse | pyarts.arts.ArrayOfSpeciesTag | pyarts.arts.ArrayOfStokesVector | pyarts.arts.ArrayOfString | pyarts.arts.ArrayOfSun | pyarts.arts.ArrayOfTelsemAtlas | pyarts.arts.ArrayOfTensor3 | pyarts.arts.ArrayOfTensor4 | pyarts.arts.ArrayOfTensor5 | pyarts.arts.ArrayOfTensor6 | pyarts.arts.ArrayOfTensor7 | pyarts.arts.ArrayOfTime | pyarts.arts.ArrayOfTransmissionMatrix | pyarts.arts.ArrayOfVector | pyarts.arts.ArrayOfXsecRecord | pyarts.arts.Matrix | pyarts.arts.String | pyarts.arts.Tensor3 | pyarts.arts.Tensor4 | pyarts.arts.Vector, input: pyarts.arts.WorkspaceVariable | pyarts.arts.AbsorptionLines | pyarts.arts.Agenda | pyarts.arts.ArrayOfAbsorptionLines | pyarts.arts.ArrayOfAgenda | pyarts.arts.ArrayOfArrayOfAbsorptionLines | pyarts.arts.ArrayOfArrayOfGriddedField1 | pyarts.arts.ArrayOfArrayOfGriddedField2 | pyarts.arts.ArrayOfArrayOfGriddedField3 | pyarts.arts.ArrayOfArrayOfIndex | pyarts.arts.ArrayOfArrayOfMatrix | pyarts.arts.ArrayOfArrayOfPropagationMatrix | pyarts.arts.ArrayOfArrayOfRadiationVector | pyarts.arts.ArrayOfArrayOfScatteringMetaData | pyarts.arts.ArrayOfArrayOfSingleScatteringData | pyarts.arts.ArrayOfArrayOfSpeciesTag | pyarts.arts.ArrayOfArrayOfStokesVector | pyarts.arts.ArrayOfArrayOfString | pyarts.arts.ArrayOfArrayOfTensor3 | pyarts.arts.ArrayOfArrayOfTensor6 | pyarts.arts.ArrayOfArrayOfTime | pyarts.arts.ArrayOfArrayOfTransmissionMatrix | pyarts.arts.ArrayOfArrayOfVector | pyarts.arts.ArrayOfCIARecord | pyarts.arts.ArrayOfGriddedField1 | pyarts.arts.ArrayOfGriddedField2 | pyarts.arts.ArrayOfGriddedField3 | pyarts.arts.ArrayOfGriddedField4 | pyarts.arts.ArrayOfIndex | pyarts.arts.ArrayOfJacobianTarget | pyarts.arts.ArrayOfMatrix | pyarts.arts.ArrayOfPpath | pyarts.arts.ArrayOfPropagationMatrix | pyarts.arts.ArrayOfQuantumIdentifier | pyarts.arts.ArrayOfRadiationVector | pyarts.arts.ArrayOfRetrievalQuantity | pyarts.arts.ArrayOfScatteringMetaData | pyarts.arts.ArrayOfSingleScatteringData | pyarts.arts.ArrayOfSparse | pyarts.arts.ArrayOfSpeciesTag | pyarts.arts.ArrayOfStokesVector | pyarts.arts.ArrayOfString | pyarts.arts.ArrayOfSun | pyarts.arts.ArrayOfTelsemAtlas | pyarts.arts.ArrayOfTensor3 | pyarts.arts.ArrayOfTensor4 | pyarts.arts.ArrayOfTensor5 | pyarts.arts.ArrayOfTensor6 | pyarts.arts.ArrayOfTensor7 | pyarts.arts.ArrayOfTime | pyarts.arts.ArrayOfTransmissionMatrix | pyarts.arts.ArrayOfVector | pyarts.arts.ArrayOfXsecRecord | pyarts.arts.CIARecord | pyarts.arts.GriddedField1 | pyarts.arts.GriddedField2 | pyarts.arts.GriddedField3 | pyarts.arts.GriddedField4 | pyarts.arts.Index | pyarts.arts.JacobianTarget | pyarts.arts.Matrix | pyarts.arts.Numeric | pyarts.arts.Ppath | pyarts.arts.PropagationMatrix | pyarts.arts.QuantumIdentifier | pyarts.arts.RadiationVector | pyarts.arts.ScatteringMetaData | pyarts.arts.SingleScatteringData | pyarts.arts.Sparse | pyarts.arts.StokesVector | pyarts.arts.String | pyarts.arts.TelsemAtlas | pyarts.arts.Tensor3 | pyarts.arts.Tensor4 | pyarts.arts.Tensor5 | pyarts.arts.Tensor6 | pyarts.arts.Tensor7 | pyarts.arts.Time | pyarts.arts.TransmissionMatrix | pyarts.arts.Vector, dimension: pyarts.arts.WorkspaceVariable | pyarts.arts.String | None = 'leading', verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

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.).

Author(s): Stefan Buehler, Oliver Lemke

Parameters: