issues: 949649935
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
949649935 | MDU6SXNzdWU5NDk2NDk5MzU= | 5625 | Add 'construct' method to Coarsen objects | 18679148 | closed | 0 | 1 | 2021-07-21T12:20:39Z | 2021-07-21T14:25:11Z | 2021-07-21T14:25:11Z | NONE | Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Similarly to the 'construct' method for Rolling objects, I think it will make sense to have the same for Coarsen objects. My use will be for my da: da(lon, lat, time) of dimension (2000, 1600, 240) I wish to coarsen the data by a factor 4 in lon and lat (Lon and Lat), but wish to keep the data in a new dimension, it would be: da(Lon, Lat, time, samples) of dim (500, 400, 240, 16) my aim is to do da.median(dim=['time','samples']) Describe the solution you'd like A clear and concise description of what you want to happen. da.coarsen(lon=4, lat=4, , boundary="trim").construct('samples') Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. I am using Rolling objects, but it increases the size of the matrix. Many thanks for your work |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/5625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |