home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 270439515

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-270439515 https://api.github.com/repos/pydata/xarray/issues/1192 270439515 MDEyOklzc3VlQ29tbWVudDI3MDQzOTUxNQ== 3217406 2017-01-04T17:59:08Z 2017-01-04T17:59:08Z CONTRIBUTOR

The dask implementation has the following API: dask.array.coarsen(reduction, x, axes, trim_excess=False) so a proposed xarray API could look like: xarray.coarsen(reduction, x, axes, chunks=None, trim_excess=False), resulting in the following implementation: 1. If the underlying data to x is dask.array, yields x.chunks(chunks).array.coarsen(reduction, axes, trim_excess) 2. Else, copy the block_reduce function.

Does that fit with the xarray API?

{
    "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 80.005ms · About: xarray-datasette