home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 492612763

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

Yes, it is possible. It is a bit "less intuitive" at first sight, but powerful and documented here: http://xarray.pydata.org/en/stable/interpolation.html#advanced-interpolation

The call you need to make is:

python blah.interp(longitude=('z', lon), latitude=('z', lat))

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