vmr_fieldSetConstant

Workspace.vmr_fieldSetConstant(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, species: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.String], vmr_value: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Sets the VMR of a species to a constant value.

The vmr_field WSM must have a correct size before calling this method.

Author(s): Patrick Eriksson

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]

  • species (String) – Species to set. [IN]

  • vmr_value (Numeric) – VMR value to apply for the selected species. [IN]

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