---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _wrapper(*args)
77 try:
---> 78 return inputs_results[args]
79 except KeyError:
KeyError: ('20000101T1200+12', '20000101T1200+12')
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _wrapper(*args)
77 try:
---> 78 return inputs_results[args]
79 except KeyError:
KeyError: ('20000101T1200+12',)
During handling of the above exception, another exception occurred:
ISO8601SyntaxError Traceback (most recent call last)
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in interval_parse(interval_string)
863 try:
--> 864 return _interval_parse(interval_string).copy()
865 except Exception:
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _wrapper(*args)
79 except KeyError:
---> 80 results = function(*args)
81 if len(inputs_results) > MEMOIZE_LIMIT:
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _interval_parse(interval_string)
886 """Parse an interval_string into a proper Duration object."""
--> 887 return SuiteSpecifics.interval_parser.parse(interval_string)
888
~/Development/python/workspace/notebooks/venv/lib/python3.7/site-packages/metomi/isodatetime/parsers.py in parse(self, expression)
637 return data.Duration(**result_map)
--> 638 raise ISO8601SyntaxError("duration", expression)
639
ISO8601SyntaxError: Invalid ISO 8601 duration representation: 20000101T1200+12
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _wrapper(*args)
77 try:
---> 78 return inputs_results[args]
79 except KeyError:
KeyError: ('20000101T1200+12',)
During handling of the above exception, another exception occurred:
ISO8601SyntaxError Traceback (most recent call last)
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in interval_parse(interval_string)
867 return -1 * _interval_parse(
--> 868 interval_string.replace("-", "", 1)).copy()
869 except Exception:
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _wrapper(*args)
79 except KeyError:
---> 80 results = function(*args)
81 if len(inputs_results) > MEMOIZE_LIMIT:
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _interval_parse(interval_string)
886 """Parse an interval_string into a proper Duration object."""
--> 887 return SuiteSpecifics.interval_parser.parse(interval_string)
888
~/Development/python/workspace/notebooks/venv/lib/python3.7/site-packages/metomi/isodatetime/parsers.py in parse(self, expression)
637 return data.Duration(**result_map)
--> 638 raise ISO8601SyntaxError("duration", expression)
639
ISO8601SyntaxError: Invalid ISO 8601 duration representation: 20000101T1200+12
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _wrapper(*args)
77 try:
---> 78 return inputs_results[args]
79 except KeyError:
KeyError: ('20000101T120012',)
During handling of the above exception, another exception occurred:
ISO8601SyntaxError Traceback (most recent call last)
<ipython-input-17-b2303eda35e5> in <module>
5
6 point2 = ISO8601Point.from_nonstandard_string("20000101T000000Z")
----> 7 point3 = point.add(point2)
8
9 print(point2)
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in add(self, other)
103 def add(self, other):
104 """Add an Interval to self."""
--> 105 return ISO8601Point(self._iso_point_add(self.value, other.value))
106
107 def __cmp__(self, other):
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _wrapper(*args)
78 return inputs_results[args]
79 except KeyError:
---> 80 results = function(*args)
81 if len(inputs_results) > MEMOIZE_LIMIT:
82 # Full up, no more room.
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _iso_point_add(point_string, interval_string)
144 """Add the parsed point_string to the parsed interval_string."""
145 point = point_parse(point_string)
--> 146 interval = interval_parse(interval_string)
147 return str(point + interval)
148
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in interval_parse(interval_string)
869 except Exception:
870 return _interval_parse(
--> 871 interval_string.replace("+", "", 1)).copy()
872
873
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _wrapper(*args)
78 return inputs_results[args]
79 except KeyError:
---> 80 results = function(*args)
81 if len(inputs_results) > MEMOIZE_LIMIT:
82 # Full up, no more room.
~/Development/python/workspace/cylc-flow/cylc/flow/cycling/iso8601.py in _interval_parse(interval_string)
885 def _interval_parse(interval_string):
886 """Parse an interval_string into a proper Duration object."""
--> 887 return SuiteSpecifics.interval_parser.parse(interval_string)
888
889
~/Development/python/workspace/notebooks/venv/lib/python3.7/site-packages/metomi/isodatetime/parsers.py in parse(self, expression)
636 result_map["seconds"] = timepoint.second_of_minute
637 return data.Duration(**result_map)
--> 638 raise ISO8601SyntaxError("duration", expression)
639
640
ISO8601SyntaxError: Invalid ISO 8601 duration representation: 20000101T120012