home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 524457928

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/3252#issuecomment-524457928 https://api.github.com/repos/pydata/xarray/issues/3252 524457928 MDEyOklzc3VlQ29tbWVudDUyNDQ1NzkyOA== 1217238 2019-08-23T20:50:29Z 2019-08-23T20:50:29Z MEMBER

Linear interpolation for 1d -> nd is just a matter of averaging two indexing selections. If we leverage xarray's vectorized indexing operations to do the hard work, it should work automatically for dask arrays, sparse arrays and xarray's internal backend array types, all with any number of dimensions.

On Fri, Aug 23, 2019 at 2:17 PM Noah D Brenowitz notifications@github.com wrote:

In my experience, computing w efficiently is the tricky part. The function is slightly different, but metpy https://unidata.github.io/MetPy/latest/api/generated/metpy.interpolate.interpolate_1d.html uses a lot of tricks to make this work efficiently. A manual for-loop is much cleaner for this kind of stencil calculation IMO. What kind of duck arrays were you thinking of?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/3252?email_source=notifications&email_token=AAJJFVQMRK7YOBW6LGJSXM3QGBAUHA5CNFSM4IPBQQPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5BHDBY#issuecomment-524448135, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJJFVUICIWBNW3EILTCQ53QGBAUHANCNFSM4IPBQQPA .

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