Insert task only for 1st january cycle points

hi there,

i have the following lines in my suite.rc

{% if HOUSEKEEP %}
    py_for_afterburner => housekeeping
{% endif %}

currently i have a resubmission period of 3 months.

i want housekeeping to always run but how would i make the suite run the py_for_afterburner task as well but only for cycle points that start on january 1st?

many thanks!

cc @MaxThomas90

I think something like this:

[scheduling]
    initial cycle point = 2000-01-01T00Z
    [[dependencies]]
        [[[P3M]]]
            # regular graph
            graph = """
                {% if HOUSEKEEP %}
                    housekeeping
                {% endif %}
            """
        [[[0101T00]]]
            # special graph for the 1st of Jan
            graph = """
                py_for_afterburner
                {% if HOUSEKEEP %}
                     py_for_afterburner => housekeeping
                {% endif %}
            """
2 Likes

awesome! thanks a lot @oliver.sanders, we’ll give that a go…