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 1149368305,I_kwDOAMm_X85Egffx,6301,"da.extent_slice(), get a sliceable dict for a DataArray.extents (aka bounding box)",1228240,open,0,,,0,2022-02-24T14:39:10Z,2022-02-24T14:39:10Z,,NONE,,,,"### Is your feature request related to a problem? small feature suggestion. not sure if this already exists. if not maybe you could use it. ### Describe the solution you'd like ``` def extent_slice(da): ''' return a `da.sel`-slicable dictionary of coords for the extents of da Example -------- big_da.sel(extent_slice(small_da)) ''' coords = da.coords return {k:slice(coords[k].min().data,coords[k].max().data) for k in coords} ``` useful in conjunction with `interp_like`, `interp`, and `binary operations`. ### Describe alternatives you've considered see above ### Additional context _No response_","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/6301/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,issue 131972229,MDU6SXNzdWUxMzE5NzIyMjk=,748,IO fails with complex datatypes,1228240,closed,0,,,8,2016-02-07T14:34:10Z,2019-02-24T13:25:39Z,2019-02-24T13:25:39Z,NONE,,,,"i am exploring the use of xarray as a back-end for some objects in the scikit-rf project. this, and other electrical engineering applications require support for complex data-types. - is there a [non-pickle] serialization that works with this? - i dont get an error but it seems to loose the data? https://gist.github.com/613be985bcf0001ebd05 ( i have xarray `0.7.0`) ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/748/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue 131386008,MDU6SXNzdWUxMzEzODYwMDg=,747,unit support?,1228240,closed,0,,,2,2016-02-04T15:40:55Z,2016-02-04T15:44:09Z,2016-02-04T15:44:09Z,NONE,,,,"i was curious is there is any thoughts to incorperate 'units' with xarray? [pint](http://pint.readthedocs.org/en/0.6/) is a package that implements this. ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/747/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue