home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 270427209

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/1192#issuecomment-270427209 https://api.github.com/repos/pydata/xarray/issues/1192 270427209 MDEyOklzc3VlQ29tbWVudDI3MDQyNzIwOQ== 1217238 2017-01-04T17:12:04Z 2017-01-04T17:12:15Z MEMBER

This has the feel of a multi-dimensional resampling operation operation. I could potentially see this as part of that interface (e.g., array.resample(x=3, y=3).mean()), but that may be a slightly different operations because resample's window size is in label rather than integer coordinates.

That said, this seems useful and I wouldn't get too hung up about the optimal interface. I would be happy with a coarsen method, though I'd prefer to have an non-dask implementation, too. Potentially we could simply copy in skimage's block_reduce function for the non-dask implementation, which if I recall correctly does some clever tricks with reshaping to do the calculation efficiently.

cc @jhamman who has been thinking about regridding/resampling.

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