Isodatetime: get Most most T0600Z before current Cycle Point

I’m trying to work out if there is a nice way of doing

Task Cycle Point Required Cycle Point
1200 0600 today
1800 0600 today
0000 0600 yesterday
0600 0600 yesterday

I was hoping for something similar to the previous(T06) from the Cylc config, but that’s in the config layer. Any magic?

If I’m understanding correctly, that’s:

T06 = a

T00 = a[-PT18H] => b
T06 = a[-PT24H] => b
T12 = a[-PT6H] => b
T18 = a[-PT12H] => b

It is often the case that these “targetted” dependencies are collapsed is via the dependent tasks themselves, e.g:

T06 = a

T06 = a[-PT24H] => b

T00, T12, T18 = b[-PT6H]:succeeded => b  # (or replace :succeeded with :started)

Though this may or may not be appropriate.


But beyond that, there is no previous(...) syntax supported in inter-cycle dependencies at present.