Time

class pyarts.arts.Time

Represents a time stamp

Workspace methods that can generate Time

Workspace methods that require Time

Workspace variables of type Time

__init__(*args, **kwargs)

Overloaded function.

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

Current time

  1. __init__(self: pyarts.arts.Time, arg0: datetime.datetime) -> None

From datetime.datetime

  1. __init__(self: pyarts.arts.Time, arg0: float) -> None

From float seconds from Unix time start

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

Copy instance

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

Automatic conversion from a workspace variable

  1. __init__(self: pyarts.arts.Time, arg0: str) -> None

From str of form “YYYY-MM-DD hh:mm:ss”

Methods

__init__(*args, **kwargs)

Overloaded function.

fromxml(file)

Create Time from file

readxml(self, file)

Read Time from file

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

Saves Time to file

Attributes

sec

float Time from Unix start

time

datetime.datetime The time