home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1263045823

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/7108#issuecomment-1263045823 https://api.github.com/repos/pydata/xarray/issues/7108 1263045823 IC_kwDOAMm_X85LSIy_ 90059220 2022-09-30T02:58:34Z 2022-09-30T02:58:34Z NONE

Returned the following: NotImplementedError: cannot use ``method`` argument if any indexers are slice objects

``` Traceback (most recent call last):

Cell In [3], line 1 sub = nc_bug.sel(lon = slice(161.001, 162.001), tolerance=0.1)

File ~\Installed_Programs\Anaconda3\envs\phd\lib\site-packages\xarray\core\dataset.py:2533 in sel query_results = map_index_queries(

File ~\Installed_Programs\Anaconda3\envs\phd\lib\site-packages\xarray\core\indexing.py:183 in map_index_queries results.append(index.sel(labels, **options)) # type: ignore[call-arg]

File ~\Installed_Programs\Anaconda3\envs\phd\lib\site-packages\xarray\core\indexes.py:377 in sel indexer = _query_slice(self.index, label, coord_name, method, tolerance) ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1391699976
Powered by Datasette · Queries took 0.898ms · About: xarray-datasette