timeseries ❌
This notebook failed in the latest run for exp2.0_run2-expt-3d030595 (2026-10-19 16:02 AEDT).
Why it failed
The lines below are picked out of the error; the first error listed is usually the cause.
KeyError: 0
ValueError Traceback (most recent call last)
414 except ValueError as err:
ValueError: 0 is not in range
The above exception was the direct cause of the following exception:
KeyError Traceback (most recent call last)
414 except ValueError as err:
--> 415 raise KeyError(key) from err
417 raise KeyError(key)
KeyError: 0
Full error (from mkfigs_errors.log)
KeyError: 0
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
File /g/data/xp65/public/apps/med_conda/envs/analysis3-26.08/lib/python3.12/site-packages/pandas/core/indexes/range.py:413, in RangeIndex.get_loc(self, key)
412 try:
--> 413 return self._range.index(new_key)
414 except ValueError as err:
ValueError: 0 is not in range
The above exception was the direct cause of the following exception:
KeyError Traceback (most recent call last)
Cell In[12], line 3
1 exptname = get_exptname_from_path(esm_file)
2 # filename regex matches om3 and cm3 static files
----> 3 static = xr.open_dataset(datastores[exptname].search(filename=".*mom6.static.nc").df.loc[0, "path"]).drop_vars("time")
File /g/data/xp65/public/apps/med_conda/envs/analysis3-26.08/lib/python3.12/site-packages/pandas/core/indexing.py:1184, in _LocationIndexer.__getitem__(self, key)
1182 key = tuple(com.apply_if_callable(x, self.obj) for x in key)
1183 if self._is_scalar_access(key):
-> 1184 return self.obj._get_value(*key, takeable=self._takeable)
1185 return self._getitem_tuple(key)
1186 else:
1187 # we by definition only have the 0th axis
File /g/data/xp65/public/apps/med_conda/envs/analysis3-26.08/lib/python3.12/site-packages/pandas/core/frame.py:4232, in DataFrame._get_value(self, index, col, takeable)
4228 if not isinstance(self.index, MultiIndex):
4229 # CategoricalIndex: Trying to use the engine fastpath may give incorrect
4230 # results if our categories are integers that dont match our codes
4231 # IntervalIndex: IntervalTree has no get_loc
-> 4232 row = self.index.get_loc(index)
4233 return series._values[row]
4234
4235 # For MultiIndex going through engine effectively restricts us to
File /g/data/xp65/public/apps/med_conda/envs/analysis3-26.08/lib/python3.12/site-packages/pandas/core/indexes/range.py:415, in RangeIndex.get_loc(self, key)
413 return self._range.index(new_key)
414 except ValueError as err:
--> 415 raise KeyError(key) from err
416 if isinstance(key, Hashable):
417 raise KeyError(key)
KeyError: 0
The partly-run notebook shows every cell up to and including the one that failed.