ArrayOfGriddedField2
- class pyarts.arts.ArrayOfGriddedField2(*args, **kwargs)
A list of
GriddedField2
Overview
Method
Append arg to the end of the list.
Method
Remove all items from list.
Method
Return number of occurrences of arg.
Method
Extend self by appending elements from arg.
Method
Insert object arg1 before index arg0.
Method
Remove and return item at index (default last).
Method
Read variable from file
Method
Remove first occurrence of arg.
Method
Saves variable to file
Static Method
Create variable from file
Operator
__contains__(self, arg: object, /) -> bool
Operator
__delitem__(self, arg: slice, /) -> None
Operator
__eq__(self, arg: object, /) -> bool
Operator
Return self>=value.
Operator
__getitem__(self, arg: slice, /) -> pyarts.arts.ArrayOfGriddedField2
Operator
__getstate__(self) -> tuple[pyarts.arts.ArrayOfGriddedField2]
Operator
Return self>value.
Operator
Return hash(self).
Operator
__iter__(self) -> collections.abc.Iterator[pyarts.arts.GriddedField2]
Operator
Return self<=value.
Operator
__len__(self) -> int
Operator
Return self<value.
Operator
__ne__(self, arg: object, /) -> bool
Operator
__setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfGriddedField2, /) -> None
Operator
__setstate__(self, arg: tuple[pyarts.arts.ArrayOfGriddedField2]) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfGriddedField2) None
- __init__(self, arg: collections.abc.Iterable[pyarts.arts.GriddedField2], /) None
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfGriddedField2) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts.arts.ArrayOfGriddedField2) -> None
Copy constructor
__init__(self, arg: collections.abc.Iterable[pyarts.arts.GriddedField2], /) -> None
Construct from an iterable object
__init__(self) -> None
__init__(self, arg: pyarts.arts.ArrayOfGriddedField2) -> None
Methods
- append(self, arg: pyarts.arts.GriddedField2, /) None
Append arg to the end of the list.
- count(self, arg: pyarts.arts.GriddedField2, /) int
Return number of occurrences of arg.
- extend(self, arg: pyarts.arts.ArrayOfGriddedField2, /) None
Extend self by appending elements from arg.
- insert(self, arg0: int, arg1: pyarts.arts.GriddedField2, /) None
Insert object arg1 before index arg0.
- pop(self, index: int = -1) pyarts.arts.GriddedField2
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
- remove(self, arg: pyarts.arts.GriddedField2, /) None
Remove first occurrence of arg.
- 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
- fromxml(file: str) pyarts.arts.ArrayOfGriddedField2
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Operators
- __contains__(self, arg: pyarts.arts.GriddedField2, /) bool
- __contains__(self, arg: object, /) bool
- __ge__(value, /)
Return self>=value.
- __getitem__(self, arg: int, /) pyarts.arts.GriddedField2
- __getitem__(self, arg: slice, /) pyarts.arts.ArrayOfGriddedField2
- __getstate__(self) tuple[pyarts.arts.ArrayOfGriddedField2]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __iter__(self) collections.abc.Iterator[pyarts.arts.GriddedField2]
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __setitem__(self, arg0: int, arg1: pyarts.arts.GriddedField2, /) None
- __setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfGriddedField2, /) None
- __setstate__(self, arg: tuple[pyarts.arts.ArrayOfGriddedField2]) None