home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 492623485

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/2962#issuecomment-492623485 https://api.github.com/repos/pydata/xarray/issues/2962 492623485 MDEyOklzc3VlQ29tbWVudDQ5MjYyMzQ4NQ== 10050469 2019-05-15T11:55:17Z 2019-05-15T11:55:17Z MEMBER

But I can't figure out what was the code doing without create this new one "common dimension"

It is doing what is called "orthogonal indexing", but with interpolation. The resulting shape of the output is then (2, 2, 2) in your case, but could be any (t, y, x) as given by the size of each dimension indexer.

Maybe this helps a little: http://xarray.pydata.org/en/stable/indexing.html#vectorized-indexing

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