AbsorptionLookupTable

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

A table of lookup calculations.

Overview

Method

readxml()

Read variable from file

Method

savexml()

Saves variable to file

Static Method

fromxml()

Create variable from file

Attribute

f_grid

The frequency grid in Hz

Attribute

log_p_grid

The pressure grid in log Pa [same dimension as atm]

Attribute

t_atmref

Local grids so that pressure interpolation may work

Attribute

t_pert

The temperautre perturbation grid in K [any number of elements or empty for nothing]

Attribute

w_pert

The humidity perturbation grid in fractional units [any number of elements or empty for nothing]

Attribute

water_atmref

Local grids so that pressure interpolation may work

Attribute

xsec

The absorption cross section table

Operator

__eq__()

Return self==value.

Operator

__ge__()

Return self>=value.

Operator

__getstate__()

Helper for pickle.

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.

Constructors

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

Methods

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

Static Methods

fromxml(file: str) pyarts.arts.AbsorptionLookupTable

Create variable from file

Parameters:

file (str) – A file that can be read

On Error:

Throws RuntimeError for any failure to read

Attributes

f_grid

The frequency grid in Hz

log_p_grid

The pressure grid in log Pa [same dimension as atm]

t_atmref

Local grids so that pressure interpolation may work

t_pert

The temperautre perturbation grid in K [any number of elements or empty for nothing]

w_pert

The humidity perturbation grid in fractional units [any number of elements or empty for nothing]

water_atmref

Local grids so that pressure interpolation may work

xsec

The absorption cross section table

Operators

__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__getstate__()

Helper for pickle.

__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.