ArrayOfSensorObsel

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

List of SensorObsel.

Workspace variables of type ArrayOfSensorObsel

Overview

Method

append()

Append arg to the end of the list.

Method

clear()

Remove all items from list.

Method

collect_frequency_grids()

Attempts to collect all frequency grids that overlap 1-to-1 between elements.

Method

collect_poslos_grids()

Attempts to collect all poslos grids that overlap 1-to-1 between elements.

Method

extend()

Extend self by appending elements from arg.

Method

insert()

Insert object arg1 before index arg0.

Method

pop()

Remove and return item at index (default last).

Method

readxml()

Read variable from file

Method

savexml()

Saves variable to file

Method

unique_frequency_grids()

List of the unique frequency grids

Method

unique_poslos_grids()

List of the unique poslos grids

Static Method

fromxml()

Create variable from file

Operator

__delitem__()

__delitem__(self, arg: slice, /) -> None

Operator

__eq__()

Return self==value.

Operator

__ge__()

Return self>=value.

Operator

__getitem__()

__getitem__(self, arg: slice, /) -> pyarts.arts.ArrayOfSensorObsel

Operator

__getstate__()

__getstate__(self) -> tuple[pyarts.arts.ArrayOfSensorObsel]

Operator

__gt__()

Return self>value.

Operator

__hash__()

Return hash(self).

Operator

__iter__()

__iter__(self) -> collections.abc.Iterator[pyarts.arts.SensorObsel]

Operator

__le__()

Return self<=value.

Operator

__len__()

__len__(self) -> int

Operator

__lt__()

Return self<value.

Operator

__ne__()

Return self!=value.

Operator

__setitem__()

__setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfSensorObsel, /) -> None

Operator

__setstate__()

__setstate__(self, arg: tuple[pyarts.arts.ArrayOfSensorObsel]) -> None

Constructors

__init__(self) None
__init__(self, arg: pyarts.arts.ArrayOfSensorObsel) None
__init__(self, arg: collections.abc.Iterable[pyarts.arts.SensorObsel], /) None
__init__(self) None
__init__(self, arg: pyarts.arts.ArrayOfSensorObsel) None

Overloaded function.

  1. __init__(self) -> None

Default constructor

  1. __init__(self, arg: pyarts.arts.ArrayOfSensorObsel) -> None

Copy constructor

  1. __init__(self, arg: collections.abc.Iterable[pyarts.arts.SensorObsel], /) -> None

Construct from an iterable object

  1. __init__(self) -> None

  2. __init__(self, arg: pyarts.arts.ArrayOfSensorObsel) -> None

Methods

append(self, arg: pyarts.arts.SensorObsel, /) None

Append arg to the end of the list.

clear(self) None

Remove all items from list.

collect_frequency_grids(self) None

Attempts to collect all frequency grids that overlap 1-to-1 between elements.

Will leave non-unique grids alone.

collect_poslos_grids(self) None

Attempts to collect all poslos grids that overlap 1-to-1 between elements.

Will leave non-unique grids alone.

extend(self, arg: pyarts.arts.ArrayOfSensorObsel, /) None

Extend self by appending elements from arg.

insert(self, arg0: int, arg1: pyarts.arts.SensorObsel, /) None

Insert object arg1 before index arg0.

pop(self, index: int = -1) pyarts.arts.SensorObsel

Remove and return item at index (default last).

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

unique_frequency_grids(self) pyarts.arts.ArrayOfAscendingGrid

List of the unique frequency grids

unique_poslos_grids(self) pyarts.arts.ArrayOfSensorPosLosVector

List of the unique poslos grids

Static Methods

fromxml(file: str) pyarts.arts.ArrayOfSensorObsel

Create variable from file

Parameters:

file (str) – A file that can be read

On Error:

Throws RuntimeError for any failure to read

Operators

__delitem__(self, arg: int, /) None
__delitem__(self, arg: slice, /) None
__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__getitem__(self, arg: int, /) pyarts.arts.SensorObsel
__getitem__(self, arg: slice, /) pyarts.arts.ArrayOfSensorObsel
__getstate__(self) tuple[pyarts.arts.ArrayOfSensorObsel]
__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__iter__(self) collections.abc.Iterator[pyarts.arts.SensorObsel]
__le__(value, /)

Return self<=value.

__len__(self) int
__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__setitem__(self, arg0: int, arg1: pyarts.arts.SensorObsel, /) None
__setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfSensorObsel, /) None
__setstate__(self, arg: tuple[pyarts.arts.ArrayOfSensorObsel]) None