issue_comments: 60332922
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/issues/191#issuecomment-60332922 | https://api.github.com/repos/pydata/xarray/issues/191 | 60332922 | MDEyOklzc3VlQ29tbWVudDYwMzMyOTIy | 377869 | 2014-10-24T01:19:47Z | 2014-10-24T01:19:47Z | NONE | For what its worth, I wrote this today. Its a long way from being useful but I find it's working well enough to fill gaps in data after a reindex() ``` py from scipy import interpolate, ndimage def linterp(data, index, interp_index, order=1): """ Parameters ---------- data: nd-array (cube). index: index (floats) associated with the cube. interp_index: float interpolation poing. Returns ------- interpolated: nd-array An interpolated field. """
``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
38849807 |