TimeCreate

Workspace.TimeCreate(self: pyarts.arts._Workspace, name: str, desc: str | None = None, value: pyarts.arts.Time | None = None) None

Create new Time on the workspace

It is recommended that this is only called once per new Workspace variable.

If there is no default value, the variable remains uninitialized

If the variable already exist, an error is thrown only if the group is not Time. If the variable does exist, a new value is pushed onto its stack iff value is given. This efficiently puts any current value out of reach for the current Agenda level.

Parameters:
  • name (str) – Name of the variable, can be accessed later with getattr() on the workspace

  • desc (str, optional:) – Description of the variable, defaults to "User-generated workspace variable"

  • value (Time, optional) – Initialized value, default is to not initialize the variable