issue_comments: 543393942
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/pull/3302#issuecomment-543393942 | https://api.github.com/repos/pydata/xarray/issues/3302 | 543393942 | MDEyOklzc3VlQ29tbWVudDU0MzM5Mzk0Mg== | 13837821 | 2019-10-17T22:48:45Z | 2019-10-17T22:51:36Z | CONTRIBUTOR | Thanks so much for taking this on. Not sure how I missed the notification that you had done so. @dcherian I checked out your branch and did some testing and found that testing this against da = xr.DataArray(arr, dims=["x", "y"], coords={"x": np.arange(arr.shape[0]), "y": np.arange(arr.shape[1])}) actual = da.interpolate_na("y", max_gap=2) # this works as in your test example
actual = da.interpolate_na("x", max_gap=2) # this fails
I fixed it by changing this line
https://github.com/dcherian/xarray/blob/8899f05a13533e10c8972836afda089b5b792ca0/xarray/core/missing.py#L23
to this:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
492866552 |