You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read gs://raw-305d04da/cmip6/ScenarioMIP/KIOST/KIOST-ESM/ssp245/r1i1p1f1/day/tasmax/gr1/v20191202.zarr
slicing 2015 : 2110
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 3081, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 4554, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: cftime.DatetimeNoLeap(2110, 12, 31, 23, 59, 59, 999999, has_year_zero=True)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/argo/staging/script", line 17, in <module>
ds = ds.sel(time=slice(from_time, to_time))
File "/opt/conda/lib/python3.9/site-packages/xarray/core/dataset.py", line 2474, in sel
pos_indexers, new_indexes = remap_label_indexers(
File "/opt/conda/lib/python3.9/site-packages/xarray/core/coordinates.py", line 421, in remap_label_indexers
pos_indexers, new_indexes = indexing.remap_label_indexers(
File "/opt/conda/lib/python3.9/site-packages/xarray/core/indexing.py", line 117, in remap_label_indexers
idxr, new_idx = index.query(labels, method=method, tolerance=tolerance)
File "/opt/conda/lib/python3.9/site-packages/xarray/core/indexes.py", line 198, in query
indexer = _query_slice(index, label, coord_name, method, tolerance)
File "/opt/conda/lib/python3.9/site-packages/xarray/core/indexes.py", line 91, in _query_slice
indexer = index.slice_indexer(
File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5278, in slice_indexer
start_slice, end_slice = self.slice_locs(start, end, step=step, kind=kind)
File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5483, in slice_locs
end_slice = self.get_slice_bound(end, "right", kind)
File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5397, in get_slice_bound
raise err
File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5391, in get_slice_bound
slc = self.get_loc(label)
File "/opt/conda/lib/python3.9/site-packages/xarray/coding/cftimeindex.py", line 466, in get_loc
return pd.Index.get_loc(self, key, method=method, tolerance=tolerance)
File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 3083, in get_loc
raise KeyError(key) from err
KeyError: cftime.DatetimeNoLeap(2110, 12, 31, 23, 59, 59, 999999, has_year_zero=True)
Workflow : https://argo.cildc6.org/archived-workflows/default/c8411643-b538-431f-bf3b-b76e485e328c
Log :
Blocks progress on #395
The text was updated successfully, but these errors were encountered: