ecmwf / ecflow

ECMWF's workflow manager
Apache License 2.0
41 stars 15 forks source link

Allow Late attributes > 24 hours #32

Open sfinkens opened 1 year ago

sfinkens commented 1 year ago

Currently the Late attribute is limited to 24 hours. It would be nice if it was unlimited.

>>> import ecflow
>>> ecflow.Late(complete="+48:00")
Traceback (most recent call last):
  File "myfile.py", line 2, in <module>
    ecflow.Late(complete="+48:00")
RuntimeError: TimeSeries::testTime: time hour(48) must be in range 0-23

I know I can split my workflow into smaller tasks, but I've come across a couple edge cases (database access, intermittent network problems) where this could be useful.