Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Defines a clock type to be used by the suite, and specifies the clock gain factor. Only suites can have a defined clock. A clock always runs in phase with the system clock (UTC in UNIX) but can have any an offset from the system clock. ecFlow generates variables from the current time.


The clock must be either hybrid or real. Under a hybrid clock, the date never changes unless specifically altered or unless the suite restarts, either automatically or from a begin command. Under a real clock, the date advances by one day at midnight. Time and date dependencies work a little differently under the two clocks. The default clock type is hybrid real.


Clock gain is expressed in seconds and can be given as an integer, a time or a date. Seconds and time can have a sign:

...


The clock can only be modified using alter command, e.g.

Code Block
ecflow_client–client –-alter=change clock_type real /suite

...