batch_atm_fields_compactFromArrayOfMatrix

Workspace.batch_atm_fields_compactFromArrayOfMatrix(self: pyarts.arts._Workspace, batch_atm_fields_compact: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfGriddedField4]] = self.batch_atm_fields_compact, atmosphere_dim: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.atmosphere_dim, atmospheres_fields: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfMatrix], field_names: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfString], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Expand batch of 1D atmospheric state matrices to batch_atm_fields_compact.

This is used to handle 1D batch cases, e.g. from NWP/GCM model like the Chevallier91L data set, stored in a matrix (it is preferred, though, to immediatedly store the model fields as ArrayOfGriddedField4 and use ReadXML() to load them directly into batch_atm_fields_compact).

Works only for atmosphere_dim == 1.

See atm_fields_compactFromMatrix() for basic documentation.

See batch_atm_fields_compactAddConstant() and batch_atm_fields_compactAddSpecies() for adding additional fields.

Author(s): Stefan Buehler, Daniel Kreyling, Jana Mendrok

Parameters:
  • batch_atm_fields_compact (ArrayOfGriddedField4, optional) – An array of compact atmospheric states. See batch_atm_fields_compact, defaults to self.batch_atm_fields_compact [OUT]

  • atmosphere_dim (Index, optional) – The atmospheric dimensionality (1-3). See atmosphere_dim, defaults to self.atmosphere_dim [IN]

  • atmospheres_fields (ArrayOfMatrix) – Batch of atmospheres stored in one array of matrix. [IN]

  • field_names (ArrayOfString) – Order/names of atmospheric fields. [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]