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:
output (Vector or Vector or Matrix or Matrix or Tensor3 or Tensor3 or Tensor4 or Tensor4 or String or ArrayOfAbsorptionLines or ArrayOfAgenda or ArrayOfArrayOfAbsorptionLines or ArrayOfArrayOfGriddedField1 or ArrayOfArrayOfGriddedField2 or ArrayOfArrayOfGriddedField3 or ArrayOfArrayOfIndex or ArrayOfArrayOfMatrix or ArrayOfArrayOfPropagationMatrix or ArrayOfArrayOfRadiationVector or ArrayOfArrayOfScatteringMetaData or ArrayOfArrayOfSingleScatteringData or ArrayOfArrayOfSpeciesTag or ArrayOfArrayOfStokesVector or ArrayOfArrayOfString or ArrayOfArrayOfTensor3 or ArrayOfArrayOfTensor6 or ArrayOfArrayOfTime or ArrayOfArrayOfTransmissionMatrix or ArrayOfArrayOfVector or ArrayOfCIARecord or ArrayOfGriddedField1 or ArrayOfGriddedField2 or ArrayOfGriddedField3 or ArrayOfGriddedField4 or ArrayOfIndex or ArrayOfJacobianTarget or ArrayOfMatrix or ArrayOfPpath or ArrayOfPropagationMatrix or ArrayOfQuantumIdentifier or ArrayOfRadiationVector or ArrayOfRetrievalQuantity or ArrayOfScatteringMetaData or ArrayOfSingleScatteringData or ArrayOfSparse or ArrayOfSpeciesTag or ArrayOfStokesVector or ArrayOfString or ArrayOfSun or ArrayOfTelsemAtlas or ArrayOfTensor3 or ArrayOfTensor4 or ArrayOfTensor5 or ArrayOfTensor6 or ArrayOfTensor7 or ArrayOfTime or ArrayOfTransmissionMatrix or ArrayOfVector or ArrayOfXsecRecord or ArrayOfAbsorptionLines or ArrayOfAgenda or ArrayOfArrayOfAbsorptionLines or ArrayOfArrayOfGriddedField1 or ArrayOfArrayOfGriddedField2 or ArrayOfArrayOfGriddedField3 or ArrayOfArrayOfIndex or ArrayOfArrayOfMatrix or ArrayOfArrayOfPropagationMatrix or ArrayOfArrayOfRadiationVector or ArrayOfArrayOfScatteringMetaData or ArrayOfArrayOfSingleScatteringData or ArrayOfArrayOfSpeciesTag or ArrayOfArrayOfStokesVector or ArrayOfArrayOfString or ArrayOfArrayOfTensor3 or ArrayOfArrayOfTensor6 or ArrayOfArrayOfTime or ArrayOfArrayOfTransmissionMatrix or ArrayOfArrayOfVector or ArrayOfCIARecord or ArrayOfGriddedField1 or ArrayOfGriddedField2 or ArrayOfGriddedField3 or ArrayOfGriddedField4 or ArrayOfIndex or ArrayOfJacobianTarget or ArrayOfMatrix or ArrayOfPpath or ArrayOfPropagationMatrix or ArrayOfQuantumIdentifier or ArrayOfRadiationVector or ArrayOfScatteringMetaData or ArrayOfSingleScatteringData or ArrayOfSparse or ArrayOfStokesVector or ArrayOfString or ArrayOfTelsemAtlas or ArrayOfTensor3 or ArrayOfTensor4 or ArrayOfTensor5 or ArrayOfTensor6 or ArrayOfTensor7 or ArrayOfTime or ArrayOfTransmissionMatrix or ArrayOfVector) – The variable to append to. [OUT]
input (Numeric or Vector or Matrix or Vector or Matrix or Tensor3 or Tensor3 or Tensor4 or String or ArrayOfAbsorptionLines or ArrayOfAgenda or ArrayOfArrayOfAbsorptionLines or ArrayOfArrayOfGriddedField1 or ArrayOfArrayOfGriddedField2 or ArrayOfArrayOfGriddedField3 or ArrayOfArrayOfIndex or ArrayOfArrayOfMatrix or ArrayOfArrayOfPropagationMatrix or ArrayOfArrayOfRadiationVector or ArrayOfArrayOfScatteringMetaData or ArrayOfArrayOfSingleScatteringData or ArrayOfArrayOfSpeciesTag or ArrayOfArrayOfStokesVector or ArrayOfArrayOfString or ArrayOfArrayOfTensor3 or ArrayOfArrayOfTensor6 or ArrayOfArrayOfTime or ArrayOfArrayOfTransmissionMatrix or ArrayOfArrayOfVector or ArrayOfCIARecord or ArrayOfGriddedField1 or ArrayOfGriddedField2 or ArrayOfGriddedField3 or ArrayOfGriddedField4 or ArrayOfIndex or ArrayOfJacobianTarget or ArrayOfMatrix or ArrayOfPpath or ArrayOfPropagationMatrix or ArrayOfQuantumIdentifier or ArrayOfRadiationVector or ArrayOfRetrievalQuantity or ArrayOfScatteringMetaData or ArrayOfSingleScatteringData or ArrayOfSparse or ArrayOfSpeciesTag or ArrayOfStokesVector or ArrayOfString or ArrayOfSun or ArrayOfTelsemAtlas or ArrayOfTensor3 or ArrayOfTensor4 or ArrayOfTensor5 or ArrayOfTensor6 or ArrayOfTensor7 or ArrayOfTime or ArrayOfTransmissionMatrix or ArrayOfVector or ArrayOfXsecRecord or AbsorptionLines or Agenda or ArrayOfAbsorptionLines or ArrayOfGriddedField1 or ArrayOfGriddedField2 or ArrayOfGriddedField3 or ArrayOfIndex or ArrayOfMatrix or ArrayOfPropagationMatrix or ArrayOfRadiationVector or ArrayOfScatteringMetaData or ArrayOfSingleScatteringData or ArrayOfSpeciesTag or ArrayOfStokesVector or ArrayOfString or ArrayOfTensor3 or ArrayOfTensor6 or ArrayOfTime or ArrayOfTransmissionMatrix or ArrayOfVector or CIARecord or GriddedField1 or GriddedField2 or GriddedField3 or GriddedField4 or Index or JacobianTarget or Matrix or Ppath or PropagationMatrix or QuantumIdentifier or RadiationVector or ScatteringMetaData or SingleScatteringData or Sparse or StokesVector or String or TelsemAtlas or Tensor3 or Tensor4 or Tensor5 or Tensor6 or Tensor7 or Time or TransmissionMatrix or Vector) – The variable to append. [IN]
dimension (String, optional) – Where to append. Could be either the “leading” or “trailing” dimension. Defaults to
"leading"
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]