| 1 |
#!jinja2 |
| 2 |
[scheduler] |
| 3 |
allow implicit tasks = True # TODO: remove at end of exercise |
| 4 |
|
| 5 |
[scheduling] |
| 6 |
# TODO: Set initial cycle point |
| 7 |
# TODO: Set final cycle point |
| 8 |
[[graph]] |
| 9 |
# Repeat every three hours starting at the initial cycle point. |
| 10 |
PT3H = """ |
| 11 |
get_observations_aldergrove => consolidate_observations |
| 12 |
get_observations_camborne => consolidate_observations |
| 13 |
get_observations_heathrow => consolidate_observations |
| 14 |
get_observations_shetland => consolidate_observations |
| 15 |
""" |
| 16 |
|
| 17 |
# Repeat every six hours starting six hours after the initial |
| 18 |
# cycle point. |
| 19 |
+PT6H/PT6H = """ |
| 20 |
consolidate_observations => forecast |
| 21 |
consolidate_observations[-PT3H] => forecast |
| 22 |
consolidate_observations[-PT6H] => forecast |
| 23 |
get_rainfall => forecast => post_process_exeter |
| 24 |
""" |
| 25 |
|
| 26 |
# Repeat every six hours starting twelve hours after the initial |
| 27 |
# cycle point. |
| 28 |
+PT12H/PT6H = """ |
| 29 |
forecast[-PT6H] => forecast |
| 30 |
""" |
| 31 |
|
| 32 |
[runtime] |
| 33 |
|
| 34 |
%include 'etc/python-job.settings' |