Hi there!
I have the following situation:
PID = """
forecast[-P1D] => forecast
# except on thursdays when nowcast[-P1D] => forecast
"""
How do I implement this condition?
Cheers!
Hi there!
I have the following situation:
PID = """
forecast[-P1D] => forecast
# except on thursdays when nowcast[-P1D] => forecast
"""
How do I implement this condition?
Cheers!
Hi @gturek - try something like this - Hilary
[scheduler]
allow implicit tasks = True
[scheduling]
initial cycle point = 2025
[[graph]]
# on Wednesdays, run nowcast after previous forecast
W-3T00 = "forecast[-P1D] => nowcast"
# on Thursdays, run forecast after previous nowcast
W-4T00 ="nowcast[-P1D] => forecast"
# on the other days, run forecast after previous forecast
T00 ! (W-4T00,W-3T00) = "forecast[-P1D] => forecast"
In 2025, 1 January was a Wednesday (nowcast day). Result (after cylc graph 20250101 20250110) :
Thanx Hilary, that’s a good starting point for me to experiment with. Cheers!