XsecRecord
- class pyarts.arts.XsecRecord(*args, **kwargs)
A single cross-section record
Overview
Method
Computes the Hitran cross-section absorption in 1/m
Method
Read variable from file
Method
Saves variable to file
Method
Convert object to dict.
Method
Save XsecRecord to NetCDF file.
Method
Convert XsecRecord to
xarray.DataArray()
.Static Method
Create object from dict.
Static Method
Create an XsecRecord from a NetCDF file.
Static Method
Create XsecRecord from
xarray.DataArray()
.Static Method
Create variable from file
Attribute
ArrayOfGriddedField2
Fit coefficientsAttribute
ArrayOfGriddedField2
Fit coefficientsAttribute
ArrayOfGriddedField2
Fit coefficientsAttribute
ArrayOfGriddedField2
Fit coefficientsAttribute
ArrayOfGriddedField2
Fit coefficientsAttribute
Species
The speciesStatic Data
pyarts.arts.XsecRecord.version
2 -
int
Operator
Allows self == value
Operator
Return self>=value.
Operator
__getstate__(self) -> tuple[int, pyarts.arts.SpeciesEnum, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.ArrayOfGriddedField1Named]
Operator
Return self>value.
Operator
Return hash(self).
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Operator
__setstate__(self, arg: tuple[int, pyarts.arts.SpeciesEnum, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.ArrayOfGriddedField1Named], /) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.XsecRecord) None
Methods
- compute_abs(self, T: float, P: float, VMR: float, f: pyarts.arts.Vector) pyarts.arts.Vector
Computes the Hitran cross-section absorption in 1/m
- 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:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- from_dict(arg: dict, /) pyarts.arts.XsecRecord
Create object from dict.
- fromxml(file: str) pyarts.arts.XsecRecord
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Attributes
- fitcoeffs
ArrayOfGriddedField2
Fit coefficients
- fitmaxpressures
ArrayOfGriddedField2
Fit coefficients
- fitmaxtemperatures
ArrayOfGriddedField2
Fit coefficients
- fitminpressures
ArrayOfGriddedField2
Fit coefficients
- fitmintemperatures
ArrayOfGriddedField2
Fit coefficients
- species
Species
The species
Operators
- __eq__(self, value: pyarts.arts.XsecRecord) bool
Allows self == value
- __ge__(value, /)
Return self>=value.
- __getstate__(self) tuple[int, pyarts.arts.SpeciesEnum, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.ArrayOfGriddedField1Named]
- __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[int, pyarts.arts.SpeciesEnum, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.ArrayOfGriddedField1Named], /) None