Created
September 6, 2022 07:21
-
-
Save aaronspring/ec2b7050d8afe1e2ebb551076c6ccfe5 to your computer and use it in GitHub Desktop.
`climpred` example for ROC-AUC for `ai4s2s`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am facing error running the example:
obs.isel(valid_time=-1).to_array().plot(robust=True)
Traceback (most recent call last):
Cell In[13], line 1
obs.isel(valid_time=-1).to_array().plot(robust=True)
File /opt/anaconda3/lib/python3.11/site-packages/xarray/core/dataset.py:2948 in isel
indexers = drop_dims_from_indexers(indexers, self.dims, missing_dims)
File /opt/anaconda3/lib/python3.11/site-packages/xarray/core/utils.py:824 in drop_dims_from_indexers
raise ValueError(
ValueError: Dimensions {'valid_time'} do not exist. Expected one or more of FrozenMappingWarningOnValuesAccess({'latitude': 400, 'longitude': 1440, 'time': 365})