ArrayOfSpeciesTag

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

A list of SpeciesTag

Overview

Method

append()

Appends a value to the end of the list

Method

pop()

Pops an element from the list

Method

readxml()

Read variable from file

Method

savexml()

Saves variable to file

Static Method

fromxml()

Create variable from file

Operator

__eq__()

__eq__(self, arg: pyarts.arts.ArrayOfSpeciesTag, /) -> bool

Operator

__ge__()

Return self>=value.

Operator

__getitem__()

__getitem__(self, arg: object, /) -> object

Operator

__getstate__()

Helper for pickle.

Operator

__gt__()

Return self>value.

Operator

__hash__()

Allows hashing

Operator

__le__()

Return self<=value.

Operator

__len__()

__len__(self) -> object

Operator

__lt__()

Return self<value.

Operator

__ne__()

__ne__(self, arg: pyarts.arts.ArrayOfSpeciesTag, /) -> bool

Operator

__setitem__()

__setitem__(self, arg0: object, arg1: object, /) -> None

Operator

__setstate__()

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

Constructors

__init__(self) None
__init__(self, arg: pyarts.arts.ArrayOfSpeciesTag) None
__init__(self, arg: str, /) None
__init__(self, arg: pyarts.arts._ArrayOfSpeciesTag, /) None
__init__(self, arg: list, /) None

Methods

append(self, value: object) None

Appends a value to the end of the list

pop(self, i: object = -1) object

Pops an element from the list

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.ArrayOfSpeciesTag

Create variable from file

Parameters:

file (str) – A file that can be read

On Error:

Throws RuntimeError for any failure to read

Operators

__eq__(self, arg: pyarts.arts.ArrayOfSpeciesTag, /) bool
__ge__(value, /)

Return self>=value.

__getitem__(self, arg: object, /) object
__getstate__()

Helper for pickle.

__gt__(value, /)

Return self>value.

__hash__(self) int

Allows hashing

__le__(value, /)

Return self<=value.

__len__(self) object
__lt__(value, /)

Return self<value.

__ne__(self, arg: pyarts.arts.ArrayOfSpeciesTag, /) bool
__setitem__(self, arg0: object, arg1: object, /) None
__setstate__(self, arg: tuple[pyarts.arts._ArrayOfSpeciesTag], /) None