ocean_stats ❌
This notebook failed in the latest run for cm3-run-27-07-2026-PD-control (2026-10-19 15:55 AEDT).
Why it failed
The lines below are picked out of the error; the first error listed is usually the cause.
ValueError: Expected exactly one dataset. Received 0 datasets. Please refine your search on or use `.to_dataset_dict()`.
ValueError Traceback (most recent call last)
--> 926 raise ValueError(
ValueError: Expected exactly one dataset. Received 0 datasets. Please refine your search on or use `.to_dataset_dict()`.
Full error (from mkfigs_errors.log)
ValueError: Expected exactly one dataset. Received 0 datasets. Please refine your search on or use `.to_dataset_dict()`.
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[6], line 16
12
13 ds_filtered = datastore.search(filename="ocean.stats.nc")
14 ds_filtered = aggregate_on_keys(ds_filtered, ["file_id"])
15
---> 16 ocean_stats = ds_filtered.to_dask(xarray_open_kwargs=dict(decode_times=False))
17 ocean_stats
File /g/data/xp65/public/apps/med_conda/envs/analysis3-26.08/lib/python3.12/site-packages/intake_esm/core.py:926, in esm_datastore.to_dask(self, **kwargs)
924 if len(self) != 1: # quick check to fail more quickly if there are many results
925 lens = self._aggr_lengths
--> 926 raise ValueError(
927 f'Expected exactly one dataset. Received {len(self)} datasets. Please refine your search on {", ".join(lens.keys())} or use `.to_dataset_dict()`.'
928 )
929 res = self.to_dataset_dict(**{**kwargs, 'progressbar': False})
930 if len(res) != 1: # extra check in case kwargs did modify something
ValueError: Expected exactly one dataset. Received 0 datasets. Please refine your search on or use `.to_dataset_dict()`.
The partly-run notebook shows every cell up to and including the one that failed.