id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 238317455,MDU6SXNzdWUyMzgzMTc0NTU=,1465,More Robust Implementation of `slice`,11929622,closed,0,,,5,2017-06-24T13:30:03Z,2019-04-10T22:16:34Z,2019-04-10T22:16:34Z,NONE,,,,"Currently, only one of the two operations: `ds.sel(lon = slice(X0, X1))` and `ds.sel(lon = slice(X1, X0))` works; the other will give a data array (or dataset) with zero values. This can be a difficulty when working with different data sets which have different indexing methods. It would be great to have `slice` implemented, at least in the context of `sel`, to check whether the index of `ds` is increasing or decreasing, and then take the min and max of `X0` and `X1` accordingly.","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/1465/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue