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
CMDRemote xarray access is currently broken on xarray==2024.03.0,
catalog_url="https://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p5deg_ana/catalog.xml"catalog=TDSCatalog(catalog_url)
catalog.datasets["Latest Collection for GFS Half Degree Analysis"].remote_access(use_xarray=True)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
...
File [~/mambaforge/envs/metpy-analysis/lib/python3.11/site-packages/siphon/cdmr/xarray_support.py:41](http://localhost:8888/~/mambaforge/envs/metpy-analysis/lib/python3.11/site-packages/siphon/cdmr/xarray_support.py#line=40), in CDMArrayWrapper.__getitem__(self, item)
40iflen(np_inds.tuple) >0:
---> 41 array = indexing.NumpyIndexingAdapter(array)[np_inds]
43return array
File [~/mambaforge/envs/metpy-analysis/lib/python3.11/site-packages/xarray/core/indexing.py:1484](http://localhost:8888/~/mambaforge/envs/metpy-analysis/lib/python3.11/site-packages/xarray/core/indexing.py#line=1483), in NumpyIndexingAdapter.__getitem__(self, indexer)
1483 def __getitem__(self, indexer: ExplicitIndexer):
-> 1484 self._check_and_raise_if_non_basic_indexer(indexer)
1486 array = self.array
File [~/mambaforge/envs/metpy-analysis/lib/python3.11/site-packages/xarray/core/indexing.py:524](http://localhost:8888/~/mambaforge/envs/metpy-analysis/lib/python3.11/site-packages/xarray/core/indexing.py#line=523), in ExplicitlyIndexedNDArrayMixin._check_and_raise_if_non_basic_indexer(self, indexer)
523ifisinstance(indexer, (VectorizedIndexer, OuterIndexer)):
--> 524 raise TypeError(
525"Vectorized indexing with vectorized or outer indexers is not supported. "526"Please use .vindex and .oindex properties to index the array."527 )
TypeError: Vectorized indexing with vectorized or outer indexers is not supported. Please use .vindex and .oindex properties to index the array.
which works on xarray==2024.02.0.
Looks to come from underlying indexing changes in or around pydata/xarray#8790.
The text was updated successfully, but these errors were encountered:
CMDRemote xarray access is currently broken on
xarray==2024.03.0
,which works on
xarray==2024.02.0
.Looks to come from underlying indexing changes in or around pydata/xarray#8790.
The text was updated successfully, but these errors were encountered: