AtmPoint

class pyarts.arts.AtmPoint(*args, **kwargs)

An atmospheric point

Workspace variables of type AtmPoint

Overview

Method

flat_values()

Returns a flat list of values.

Method

isotopologue_ratio()

Get the isotopologue ratio

Method

keys()

Available keys

Method

nlte_value()

Get the NLTE value

Method

no_isotopologues()

Returns an atmospheric point without isotopologue ratios.

Method

number_density()

Get the number density of a species

Method

readxml()

Read variable from file

Method

savexml()

Saves variable to file

Method

set_isotopologue_ratio()

Set the isotopologue ratio

Method

set_nlte_value()

Set the NLTE value

Method

set_species_vmr()

Set the VMR of the species

Method

species_vmr()

Get the VMR of the species

Static Method

fromxml()

Create variable from file

Attribute

mag

Magnetic field [T]

Attribute

pressure

Pressure [Pa]

Attribute

temperature

Temperature [K]

Attribute

wind

Wind field [m/s]

Operator

__eq__()

Return self==value.

Operator

__ge__()

Return self>=value.

Operator

__getitem__()

Overloaded function.

Operator

__gt__()

Return self>value.

Operator

__hash__()

Return hash(self).

Operator

__le__()

Return self<=value.

Operator

__lt__()

Return self<value.

Operator

__ne__()

Return self!=value.

Operator

__setitem__()

Overloaded function.

Constructors

__init__(self) None
__init__(self, arg: pyarts.arts.AtmPoint) None

Methods

flat_values(self) pyarts.arts.Vector

Returns a flat list of values.

isotopologue_ratio(self, isot: pyarts.arts.SpeciesIsotope) float

Get the isotopologue ratio

keys(self) list[pyarts.arts.AtmKey | pyarts.arts.SpeciesEnum | pyarts.arts.SpeciesIsotope | pyarts.arts.QuantumIdentifier | pyarts.arts.ScatteringSpeciesProperty]

Available keys

nlte_value(self, qid: pyarts.arts.QuantumIdentifier) float

Get the NLTE value

no_isotopologues(self) pyarts.arts.AtmPoint

Returns an atmospheric point without isotopologue ratios.

number_density(self, spec: pyarts.arts.SpeciesIsotope) float

Get the number density of a species

readxml(self, file: str) None

Read variable from file

Parameters:

file (str) – A file that can be read

On Error:

Throws RuntimeError for any failure to read

savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None

Saves variable to file

Parameters:
  • file (str) – The path to which the file is written. Note that several of the options might modify the name or write more files

  • type (str) – Type of file to save (ascii. zascii, or binary)

  • clobber (bool) – Overwrite existing files or add new file with modified name?

On Error:

Throws RuntimeError for any failure to save

set_isotopologue_ratio(self, isot: pyarts.arts.SpeciesIsotope, x: float) None

Set the isotopologue ratio

set_nlte_value(self, qid: pyarts.arts.QuantumIdentifier, x: float) None

Set the NLTE value

set_species_vmr(self, spec: pyarts.arts.SpeciesEnum, x: float) None

Set the VMR of the species

species_vmr(self, spec: pyarts.arts.SpeciesEnum) float

Get the VMR of the species

Static Methods

fromxml(file: str) pyarts.arts.AtmPoint

Create variable from file

Parameters:

file (str) – A file that can be read

On Error:

Throws RuntimeError for any failure to read

Attributes

mag

Magnetic field [T]

pressure

Pressure [Pa]

temperature

Temperature [K]

wind

Wind field [m/s]

Operators

__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__getitem__(self, arg: pyarts.arts.AtmKey, /) float
__getitem__(self, arg: pyarts.arts.QuantumIdentifier, /) float
__getitem__(self, arg: pyarts.arts.SpeciesEnum, /) float
__getitem__(self, arg: pyarts.arts.SpeciesIsotope, /) float
__getitem__(self, arg: pyarts.arts.ArrayOfSpeciesTag, /) float

Overloaded function.

  1. __getitem__(self, arg: pyarts.arts.AtmKey, /) -> float

Get the value of a key

  1. __getitem__(self, arg: pyarts.arts.QuantumIdentifier, /) -> float

Get the value of a key

  1. __getitem__(self, arg: pyarts.arts.SpeciesEnum, /) -> float

Get the value of a key

  1. __getitem__(self, arg: pyarts.arts.SpeciesIsotope, /) -> float

Get the value of a key

  1. __getitem__(self, arg: pyarts.arts.ArrayOfSpeciesTag, /) -> float

Get the value of a key

__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__setitem__(self, arg0: pyarts.arts.AtmKey, arg1: float, /) None
__setitem__(self, arg0: pyarts.arts.QuantumIdentifier, arg1: float, /) None
__setitem__(self, arg0: pyarts.arts.SpeciesEnum, arg1: float, /) None
__setitem__(self, arg0: pyarts.arts.SpeciesIsotope, arg1: float, /) None
__setitem__(self, arg0: pyarts.arts.ArrayOfSpeciesTag, arg1: float, /) None
__setitem__(self, arg0: pyarts.arts.ScatteringSpeciesProperty, arg1: float, /) None

Overloaded function.

  1. __setitem__(self, arg0: pyarts.arts.AtmKey, arg1: float, /) -> None

Set the value of a key

  1. __setitem__(self, arg0: pyarts.arts.QuantumIdentifier, arg1: float, /) -> None

Set the value of a key

  1. __setitem__(self, arg0: pyarts.arts.SpeciesEnum, arg1: float, /) -> None

Set the value of a key

  1. __setitem__(self, arg0: pyarts.arts.SpeciesIsotope, arg1: float, /) -> None

Set the value of a key

  1. __setitem__(self, arg0: pyarts.arts.ArrayOfSpeciesTag, arg1: float, /) -> None

Set the value of a key

  1. __setitem__(self, arg0: pyarts.arts.ScatteringSpeciesProperty, arg1: float, /) -> None

Set the value of a key