AtmData

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

An atmospheric point

Overview

Method

at()

Get a point of data at the position

Method

readxml()

Read variable from file

Method

savexml()

Saves variable to file

Method

ws()

Get the weights of neighbors at a position

Static Method

fromxml()

Create variable from file

Attribute

alt_low

Lower altitude limit

Attribute

alt_upp

Upper altitude limit

Attribute

data

The data

Attribute

data_type

The data type

Attribute

lat_low

Lower latitude limit

Attribute

lat_upp

Upper latitude limit

Attribute

lon_low

Lower longitude limit

Attribute

lon_upp

Upper longitude limit

Operator

__call__()

Get a point of data at the position

Operator

__eq__()

Return self==value.

Operator

__ge__()

Return self>=value.

Operator

__getstate__()

__getstate__(self) -> tuple[pyarts.arts.GriddedField3 | float | pyarts.arts.NumericTernaryOperator, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation]

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

__setstate__()

__setstate__(self, arg: tuple[pyarts.arts.GriddedField3 | float | pyarts.arts.NumericTernaryOperator, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation], /) -> None

Constructors

__init__(self) None
__init__(self, arg: pyarts.arts.AtmData) None
__init__(self, arg: pyarts.arts.GriddedField3, /) None
__init__(self, arg: float, /) None
__init__(self, arg: pyarts.arts.NumericTernaryOperator, /) None

Methods

at(self, alt: float, lat: float, lon: float) float

Get a point of data at the position

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. See FileType for options.

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

On Error:

Throws RuntimeError for any failure to save

ws(self, alt: float, lat: float, lon: float) list[tuple[int, float]]

Get the weights of neighbors at a position

Static Methods

fromxml(file: str) pyarts.arts.AtmData

Create variable from file

Parameters:

file (str) – A file that can be read

On Error:

Throws RuntimeError for any failure to read

Attributes

alt_low

Lower altitude limit

alt_upp

Upper altitude limit

data

The data

data_type

The data type

lat_low

Lower latitude limit

lat_upp

Upper latitude limit

lon_low

Lower longitude limit

lon_upp

Upper longitude limit

Operators

__call__(self, alt: float, lat: float, lon: float) float

Get a point of data at the position

__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__getstate__(self) tuple[pyarts.arts.GriddedField3 | float | pyarts.arts.NumericTernaryOperator, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation]
__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__setstate__(self, arg: tuple[pyarts.arts.GriddedField3 | float | pyarts.arts.NumericTernaryOperator, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation, pyarts.arts.InterpolationExtrapolation], /) None