Initial cylc point specification

in a suite, I found it useful to specify the initial cycle point thusly,

initial cycle point = previous(T-00; T-15; T-30; T-45)

allowing a certain discretization with respect to time, of the suite being run.

is there an analogous statement for the nearest day, meaning, regardless to the wall time that the suite is run, that the initial cycle point would be say YYYYmmddT00?

the more general question:

is the “previous( …)” construct generalized for other units? (example above for hr)

I was not able to locate where I found the ‘previous(…)’ again, and made a few failed attempts (validation) at what might work.

You can use:

previous(T00)

or

next(T00)

to get the nearest day in either direction from “now”.

1 Like

This notation does generalize, by the way.

E.g. to start from the most recent 2 January:

previous(--0102T00)

Documentation link: Running Workflows — Cylc nightly.2021-07-23 documentation

404
File not found

The site configured at this address does not contain the requested file.

If this is your site, make sure that the filename case matches the URL.

looks like the info has been moved to
relative to now

That was a link to the nightly documentation build for Cylc 8.

Here’s the Cylc 7 link:

https://cylc.github.io/cylc-doc/7.8.8/html/appendices/suiterc-config-ref.html#scheduling-initial-cycle-point-initial-cycle-point-relative-to-current-time

(Sorry about that :grimacing: )