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/pull/2312#issuecomment-408586204,https://api.github.com/repos/pydata/xarray/issues/2312,408586204,MDEyOklzc3VlQ29tbWVudDQwODU4NjIwNA==,6815844,2018-07-28T06:18:32Z,2018-07-28T06:18:32Z,MEMBER,"Thanks, @raybellwaves. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,344608441 https://github.com/pydata/xarray/pull/2312#issuecomment-408303091,https://api.github.com/repos/pydata/xarray/issues/2312,408303091,MDEyOklzc3VlQ29tbWVudDQwODMwMzA5MQ==,6815844,2018-07-27T03:47:03Z,2018-07-27T03:47:03Z,MEMBER,"Thanks. I think you can do ```python da_dt64.interp(time=pd.date_range('1/1/2000', '1/3/2000', periods=3)) ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,344608441 https://github.com/pydata/xarray/pull/2312#issuecomment-408230809,https://api.github.com/repos/pydata/xarray/issues/2312,408230809,MDEyOklzc3VlQ29tbWVudDQwODIzMDgwOQ==,17162724,2018-07-26T20:50:22Z,2018-07-26T20:50:22Z,CONTRIBUTOR,"@fujiisoup I would like to add another example on how to update a `DataArray` with the interpolated data. I looked in http://xarray.pydata.org/en/stable/combining.html but couldn't work out how best to do it. I tried using `merge` but it requires the `DataArray`'s to be named. I used `concat` in this example but it is not correct as I would like the coordinates to be in order (in-place may be the right word). ``` import xarray as xr import pandas as pd import numpy as np da_dt64 = xr.DataArray([1, 3], [('time', pd.date_range('1/1/2000', '1/3/2000', periods=2))]) a = da_dt64.interp(time=np.datetime64('2000-01-02')) xr.concat([da_dt64, a], dim='time') # #array([ 1., 3., 2.]) #Coordinates: # * time (time) datetime64[ns] 2000-01-01 2000-01-03 2000-01-02 ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,344608441 https://github.com/pydata/xarray/pull/2312#issuecomment-407939733,https://api.github.com/repos/pydata/xarray/issues/2312,407939733,MDEyOklzc3VlQ29tbWVudDQwNzkzOTczMw==,6815844,2018-07-26T00:41:17Z,2018-07-26T00:41:17Z,MEMBER,"Thanks for adding this to doc. It is very welcome if you could add an example for interp with datetime. To do so, it would be best place to put it in here https://github.com/pydata/xarray/blob/master/doc/interpolation.rst","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,344608441