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/2676#issuecomment-455922792,https://api.github.com/repos/pydata/xarray/issues/2676,455922792,MDEyOklzc3VlQ29tbWVudDQ1NTkyMjc5Mg==,2448579,2019-01-21T01:30:58Z,2019-01-21T01:30:58Z,MEMBER,You should also check out xr-scipy which wraps a lot of scipy stuff. And also xrft for Fourier transforms,"{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,399309171 https://github.com/pydata/xarray/issues/2676#issuecomment-455909044,https://api.github.com/repos/pydata/xarray/issues/2676,455909044,MDEyOklzc3VlQ29tbWVudDQ1NTkwOTA0NA==,1217238,2019-01-20T22:35:28Z,2019-01-20T22:35:28Z,MEMBER,"Generally you'll need to use Dask functions on .data if you want it to be lazy. On Sun, Jan 20, 2019 at 9:56 PM Ahmed Shaaban wrote: > Thanks ... > I am wondering if I used Numpy/Scipy functions on Xarray.data, will such > computation is performed under the umbrella of Dask (Lazy evaluation)? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > , or mute > the thread > > . > ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,399309171 https://github.com/pydata/xarray/issues/2676#issuecomment-455704659,https://api.github.com/repos/pydata/xarray/issues/2676,455704659,MDEyOklzc3VlQ29tbWVudDQ1NTcwNDY1OQ==,1217238,2019-01-18T22:12:18Z,2019-01-18T22:12:18Z,MEMBER,"__array_wrap__ is an old interface that a variety of NumPy functions use (in an apparently hard to predict ways). On Fri, Jan 18, 2019 at 10:07 PM Joe Hamman wrote: > @ahmedshaaban1 - You may also want to > checkout > http://xarray.pydata.org/en/stable/computation.html#wrapping-custom-computation > > @shoyer - can you expand on what you meant > about removing the xarray.Variable.__array_wrap__ method? xarray.DataArray > also calls this method a few times so we'd have to think about how far to > take this. > > — > You are receiving this because you were mentioned. > > > Reply to this email directly, view it on GitHub > , or mute > the thread > > . > ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,399309171 https://github.com/pydata/xarray/issues/2676#issuecomment-455703570,https://api.github.com/repos/pydata/xarray/issues/2676,455703570,MDEyOklzc3VlQ29tbWVudDQ1NTcwMzU3MA==,2443309,2019-01-18T22:07:53Z,2019-01-18T22:07:53Z,MEMBER,"@ahmedshaaban1 - You may also want to checkout http://xarray.pydata.org/en/stable/computation.html#wrapping-custom-computation @shoyer - can you expand on what you meant about removing the `xarray.Variable.__array_wrap__` method? `xarray.DataArray` also calls this method a few times so we'd have to think about how far to take this.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,399309171 https://github.com/pydata/xarray/issues/2676#issuecomment-455427016,https://api.github.com/repos/pydata/xarray/issues/2676,455427016,MDEyOklzc3VlQ29tbWVudDQ1NTQyNzAxNg==,1217238,2019-01-18T04:50:57Z,2019-01-18T04:50:57Z,MEMBER,"In general you need to apply NumPy/scipy functions on the .data attribute of an xarray object, and recreate the labels. On Thu, Jan 17, 2019 at 10:54 PM Ahmed Shaaban wrote: > Thanks a lot for your answer. I am a novice to Xarray, and I am a heavy > user of NumPy. Numpy FFT function works fine with Xarray variables, yet it > returns NumPy array. NumPy reshape function, as mentioned above, does not > work with Xarray variable. I am not yet able to understand how to use the > power of Xarray and at the same time be able to use the math/statistics > function of Numpy/SciPy. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > , or mute > the thread > > . > ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,399309171 https://github.com/pydata/xarray/issues/2676#issuecomment-455180151,https://api.github.com/repos/pydata/xarray/issues/2676,455180151,MDEyOklzc3VlQ29tbWVudDQ1NTE4MDE1MQ==,1217238,2019-01-17T13:56:21Z,2019-01-17T13:56:21Z,MEMBER,We should probably remove the `xarray.Variable.__array_wrap__` method,"{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,399309171 https://github.com/pydata/xarray/issues/2676#issuecomment-455050134,https://api.github.com/repos/pydata/xarray/issues/2676,455050134,MDEyOklzc3VlQ29tbWVudDQ1NTA1MDEzNA==,2443309,2019-01-17T05:44:56Z,2019-01-17T05:44:56Z,MEMBER,"@ahmedshaaban1 - what is the expected output you'd like to get from a reshape call. You may already know that xarray doesn't have a reshape method. Usually, `stack`/`unstack` are used to ""reshape"" DataArrays. ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,399309171