pyarts.arts.stringify_keys

arts.stringify_keys(data: collections.abc.Mapping[pyarts.arts.AtmKey | pyarts.arts.SpeciesEnum | pyarts.arts.SpeciesIsotope | pyarts.arts.QuantumIdentifier | pyarts.arts.ScatteringSpeciesProperty, pyarts.arts.GriddedField3 | float | pyarts.arts.NumericTernaryOperator], unique: bool = True) dict[str, pyarts.arts.GriddedField3 | float | pyarts.arts.NumericTernaryOperator]
arts.stringify_keys(data: collections.abc.Mapping[pyarts.arts.AtmKey | pyarts.arts.SpeciesEnum | pyarts.arts.SpeciesIsotope | pyarts.arts.QuantumIdentifier | pyarts.arts.ScatteringSpeciesProperty, float], unique: bool = True) dict[str, float]
arts.stringify_keys(data: collections.abc.Mapping[pyarts.arts.AtmKey | pyarts.arts.SpeciesEnum | pyarts.arts.SpeciesIsotope | pyarts.arts.QuantumIdentifier | pyarts.arts.ScatteringSpeciesProperty, pyarts.arts.Vector], unique: bool = True) dict[str, pyarts.arts.Vector]

Overloaded function.

  1. stringify_keys(data: collections.abc.Mapping[pyarts.arts.AtmKey | pyarts.arts.SpeciesEnum | pyarts.arts.SpeciesIsotope | pyarts.arts.QuantumIdentifier | pyarts.arts.ScatteringSpeciesProperty, pyarts.arts.GriddedField3 | float | pyarts.arts.NumericTernaryOperator], unique: bool = True) -> dict[str, pyarts.arts.GriddedField3 | float | pyarts.arts.NumericTernaryOperator]

Convert a dictionary of atmospheric field keys to their string representation.

Warning

Setting unique to False will overwrite keys with the same string representation.

Parameters:
  • data (dict) – A dictionary of atmospheric keys and corresponding data.

  • unique (bool, optional) – If True, non-unique keys will throw an error. Default is True.

  1. stringify_keys(data: collections.abc.Mapping[pyarts.arts.AtmKey | pyarts.arts.SpeciesEnum | pyarts.arts.SpeciesIsotope | pyarts.arts.QuantumIdentifier | pyarts.arts.ScatteringSpeciesProperty, float], unique: bool = True) -> dict[str, float]

Convert a dictionary of atmospheric point keys to their string representation.

Warning

Setting unique to False will overwrite keys with the same string representation.

Parameters:
  • data (dict) – A dictionary of atmospheric keys and corresponding data.

  • unique (bool, optional) – If True, non-unique keys will throw an error. Default is True.

  1. stringify_keys(data: collections.abc.Mapping[pyarts.arts.AtmKey | pyarts.arts.SpeciesEnum | pyarts.arts.SpeciesIsotope | pyarts.arts.QuantumIdentifier | pyarts.arts.ScatteringSpeciesProperty, pyarts.arts.Vector], unique: bool = True) -> dict[str, pyarts.arts.Vector]

Convert a dictionary of atmospheric point keys to their string representation.

Warning

Setting unique to False will overwrite keys with the same string representation.

Parameters:
  • data (dict) – A dictionary with keys as the atmospheric point keys and values.

  • unique (bool, optional) – If True, non-unique keys will throw an error. Default is True.