ArrayOfTime

class pyarts.arts.ArrayOfTime

A list of Time

It aims to be compatible with list of Time

Workspace methods that can generate ArrayOfTime

Workspace methods that require ArrayOfTime

Workspace variables of type ArrayOfTime

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyarts.arts.ArrayOfTime) -> None

Empty array

  1. __init__(self: pyarts.arts.ArrayOfTime, size: int, cval: pyarts.arts.Time) -> None

Sized same-value array

  1. __init__(self: pyarts.arts.ArrayOfTime, arr: List[pyarts.arts.Time]) -> None

Array from list

  1. __init__(self: pyarts.arts.ArrayOfTime, val: pyarts.arts.ArrayOfTime) -> None

Copy instance

  1. __init__(self: pyarts.arts.ArrayOfTime, wsv: pyarts.arts.WorkspaceVariable) -> None

Automatic conversion from a workspace variable

Methods

__init__(*args, **kwargs)

Overloaded function.

append(self, arg0)

Appends a Time at the end of the array

clear(self)

Empty the array of all values

copy(self)

Copy the array

extend(self, arg0)

Extend the array by another array

fromxml(file)

Create ArrayOfTime from file

index(self, arg0)

Returns the first index of a value

insert(self, arg0, arg1)

Insert a value into the array

pop(self[, i])

Pops a Time from the array

readxml(self, file)

Read ArrayOfTime from file

reverse(self)

Reverse order of array

savexml(self, file[, type, clobber])

Saves ArrayOfTime to file

Attributes

as_datetime

A list of datetime.datetime