home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 495515463

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/2281#issuecomment-495515463 https://api.github.com/repos/pydata/xarray/issues/2281 495515463 MDEyOklzc3VlQ29tbWVudDQ5NTUxNTQ2Mw== 6213168 2019-05-24T08:10:10Z 2019-05-24T08:10:10Z MEMBER

I am not aware of a ND mesh interpolation algorithm. However, my package xarray_extras [1] offers highly optimized 1D interpolation on a ND hypercube, on any numerical coord (not just time). You may try applying it 3 times on each dimension in sequence and see if you get what you want - although performance won't be optimal.

[1] https://xarray-extras.readthedocs.io/en/latest/

Alternatively, if you do find the exact algorithm you want, but it's for numpy, then applying it to xarray is simple - just get DataArray.values -> apply function -> create new DataArray from the output.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  340486433
Powered by Datasette · Queries took 159.632ms · About: xarray-datasette