vmr_fieldSetAllConstant

Workspace.vmr_fieldSetAllConstant(self: pyarts.arts._Workspace, vmr_field: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Tensor4]] = self.vmr_field, abs_species: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfArrayOfSpeciesTag]] = self.abs_species, vmr_values: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Sets the VMR of all species to a select constant value.

The vmr_field WSM must have a correct size before calling this method. The length of vmr_values and of abs_species must match.

Author(s): Richard Larsson

Parameters:
  • vmr_field (Tensor4, optional) – VMR field. See vmr_field, defaults to self.vmr_field [INOUT]

  • abs_species (ArrayOfArrayOfSpeciesTag, optional) – Tag groups for gas absorption. See abs_species, defaults to self.abs_species [IN]

  • vmr_values (Vector) – VMR value to apply for each abs_species. [IN]

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