home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 434480457

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/2525#issuecomment-434480457 https://api.github.com/repos/pydata/xarray/issues/2525 434480457 MDEyOklzc3VlQ29tbWVudDQzNDQ4MDQ1Nw== 1197350 2018-10-30T21:41:17Z 2018-10-30T21:41:25Z MEMBER

I would lean towards a coordinate based representation since it's a little more usable/certain to be correct.

I feel that this could become too complex in the case of irregularly spaced coordinates. I slightly favor the index-based approach (as in my function above), which one calls like python aggregate_da(da, {'lat': 2, 'lon': 2})

If we do that, we can just use scikit-image's block_reduce function, which is vectorized and works great with apply_ufunc.

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