issue_comments
19 rows where issue = 198742089 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Implementing dask.array.coarsen in xarrays · 19 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
459774086 | https://github.com/pydata/xarray/issues/1192#issuecomment-459774086 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDQ1OTc3NDA4Ng== | dcherian 2448579 | 2019-02-01T16:07:52Z | 2019-02-01T16:07:52Z | MEMBER | Looks like it |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
459771960 | https://github.com/pydata/xarray/issues/1192#issuecomment-459771960 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDQ1OTc3MTk2MA== | jhamman 2443309 | 2019-02-01T16:01:59Z | 2019-02-01T16:01:59Z | MEMBER | Should this have been closed by #2612? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
434478590 | https://github.com/pydata/xarray/issues/1192#issuecomment-434478590 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDQzNDQ3ODU5MA== | shoyer 1217238 | 2018-10-30T21:34:54Z | 2018-10-30T21:34:54Z | MEMBER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | ||
433510805 | https://github.com/pydata/xarray/issues/1192#issuecomment-433510805 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDQzMzUxMDgwNQ== | jbusecke 14314623 | 2018-10-26T18:59:07Z | 2018-10-26T18:59:07Z | CONTRIBUTOR | I should add that I would be happy to work on an implementation, but probably need a good amount of pointers. Here is the implementation that I have been using (only works with dask.arrays at this point). Should have posted that earlier to avoid @rabernat s zingers over here. ```python def aggregate(da, blocks, func=np.nanmean, debug=False): """ Performs efficient block averaging in one or multiple dimensions. Only works on regular grid dimensions. Parameters ---------- da : xarray DataArray (must be a dask array!) blocks : list List of tuples containing the dimension and interval to aggregate over func : function Aggregation function.Defaults to numpy.nanmean Returns ------- da_agg : xarray Data Aggregated array Examples -------- >>> from xarrayutils import aggregate >>> import numpy as np >>> import xarray as xr >>> import matplotlib.pyplot as plt >>> %matplotlib inline >>> import dask.array as da >>> x = np.arange(-10,10) >>> y = np.arange(-10,10) >>> xx,yy = np.meshgrid(x,y) >>> z = xx2-yy2 >>> a = xr.DataArray(da.from_array(z, chunks=(20, 20)), coords={'x':x,'y':y}, dims=['y','x']) >>> print a <xarray.DataArray 'array-7e422c91624f207a5f7ebac426c01769' (y: 20, x: 20)> dask.array<array-7..., shape=(20, 20), dtype=int64, chunksize=(20, 20)> Coordinates: * y (y) int64 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 * x (x) int64 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 >>> blocks = [('x',2),('y',5)] >>> a_coarse = aggregate(a,blocks,func=np.mean) >>> print a_coarse <xarray.DataArray 'array-7e422c91624f207a5f7ebac426c01769' (y: 2, x: 10)> dask.array<coarsen..., shape=(2, 10), dtype=float64, chunksize=(2, 10)> Coordinates: * y (y) int64 -10 0 * x (x) int64 -10 -8 -6 -4 -2 0 2 4 6 8 Attributes: Coarsened with: <function mean at 0x111754230> Coarsenblocks: [('x', 2), ('y', 10)] """ # Check if the input is a dask array (I might want to convert this # automaticlaly in the future) if not isinstance(da.data, Array): raise RuntimeError('data array data must be a dask array') # Check data type of blocks # TODO write test if (not all(isinstance(n[0], str) for n in blocks) or not all(isinstance(n[1], int) for n in blocks)):
``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
433509072 | https://github.com/pydata/xarray/issues/1192#issuecomment-433509072 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDQzMzUwOTA3Mg== | rabernat 1197350 | 2018-10-26T18:53:05Z | 2018-10-26T18:53:05Z | MEMBER | Just to be clear, my comment above was a joke... @jbusecke and I are good friends! 🤣 |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 1, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
433508754 | https://github.com/pydata/xarray/issues/1192#issuecomment-433508754 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDQzMzUwODc1NA== | rabernat 1197350 | 2018-10-26T18:52:05Z | 2018-10-26T18:52:05Z | MEMBER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | ||
433160023 | https://github.com/pydata/xarray/issues/1192#issuecomment-433160023 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDQzMzE2MDAyMw== | jbusecke 14314623 | 2018-10-25T18:35:57Z | 2018-10-25T18:35:57Z | CONTRIBUTOR | Is this feature still being considered? A big +1 from me. I wrote my own function to achieve this (using dask.array.coarsen), but I was planning to implement a similar functionality in xgcm, and it would be ideal if we could use an upstream implementation from xarray. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305538498 | https://github.com/pydata/xarray/issues/1192#issuecomment-305538498 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTUzODQ5OA== | shoyer 1217238 | 2017-06-01T15:57:31Z | 2017-06-01T15:57:31Z | MEMBER | The dask implementation is short enough that I would certainly reimplement/vendor the pure numpy version for xarray. It might also be worth considering using the related utility |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305209648 | https://github.com/pydata/xarray/issues/1192#issuecomment-305209648 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTIwOTY0OA== | shoyer 1217238 | 2017-05-31T14:46:55Z | 2017-05-31T14:46:55Z | MEMBER | Currently dask is an optional dependency for carry, which I would like to preserve if possible. I'll take a glance at the implementation shortly, but my guess is that we will indeed want to vendor the numpy version into xarray. On Wed, May 31, 2017 at 6:38 AM Peter Steinberg notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305189172 | https://github.com/pydata/xarray/issues/1192#issuecomment-305189172 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTE4OTE3Mg== | PeterDSteinberg 1445602 | 2017-05-31T13:38:40Z | 2017-05-31T13:39:22Z | NONE | Hi @darothen Back to the subject matter of the thread.... You can assign the issue to me (can you add me also to xarray repo so I can assign myself things?).. I'll wait to get started until after @shoyer comments on @laliberte 's question:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305178905 | https://github.com/pydata/xarray/issues/1192#issuecomment-305178905 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTE3ODkwNQ== | darothen 4992424 | 2017-05-31T12:59:52Z | 2017-05-31T12:59:52Z | NONE | Not to hijack the thread, but @PeterDSteinberg - this is the first I've heard of earthio and I think there would be a lot of interest from the broader atmospheric/oceanic sciences community to hear about what your all's plans are. Could your team do a blog post on Continuum sometime outlining the goals of the project? |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305176003 | https://github.com/pydata/xarray/issues/1192#issuecomment-305176003 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTE3NjAwMw== | laliberte 3217406 | 2017-05-31T12:45:18Z | 2017-05-31T12:45:18Z | CONTRIBUTOR | The reason I ask is that, ideally, |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305175143 | https://github.com/pydata/xarray/issues/1192#issuecomment-305175143 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTE3NTE0Mw== | mrocklin 306380 | 2017-05-31T12:36:05Z | 2017-05-31T12:36:05Z | MEMBER | My guess is that if you want to avoid a strong dependence on Dask then you'll want to copy the code over regardless. Historically chunk.py hasn't been considered public (we don't publish docstrings in the docs for example). That being said it hasn't moved in a long while and I don't see any reason for it to move. I'm certainly willing to commit to going through a lengthy deprecation cycle if it does need to move. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305169201 | https://github.com/pydata/xarray/issues/1192#issuecomment-305169201 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTE2OTIwMQ== | laliberte 3217406 | 2017-05-31T12:00:11Z | 2017-05-31T12:00:11Z | CONTRIBUTOR | If it's part of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305031755 | https://github.com/pydata/xarray/issues/1192#issuecomment-305031755 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTAzMTc1NQ== | mrocklin 306380 | 2017-05-30T22:55:21Z | 2017-05-30T22:55:21Z | MEMBER |
Dask has this actually. We had to build it before we could build the parallel version. See |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
305028421 | https://github.com/pydata/xarray/issues/1192#issuecomment-305028421 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDMwNTAyODQyMQ== | PeterDSteinberg 1445602 | 2017-05-30T22:36:15Z | 2017-05-30T22:36:15Z | NONE | Hello @laliberte @shoyer @jhamman . I'm with Continuum and working on NASA funded Earth science ML (see ensemble learning models in github and its documentation here as well as We can submit a PR on this issue for dask's coarsen and the specs above for using |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
271752398 | https://github.com/pydata/xarray/issues/1192#issuecomment-271752398 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDI3MTc1MjM5OA== | jhamman 2443309 | 2017-01-11T01:32:33Z | 2017-01-11T01:32:33Z | MEMBER | I think this would be a nice feature and something that would fit nicely within xarray. The spatial resampling that I'm working towards is 1) a ways off and 2) quite a bit more domain specific than this. I'm +1! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
270439515 | https://github.com/pydata/xarray/issues/1192#issuecomment-270439515 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDI3MDQzOTUxNQ== | laliberte 3217406 | 2017-01-04T17:59:08Z | 2017-01-04T17:59:08Z | CONTRIBUTOR | The Does that fit with the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Implementing dask.array.coarsen in xarrays 198742089 | |
270427209 | https://github.com/pydata/xarray/issues/1192#issuecomment-270427209 | https://api.github.com/repos/pydata/xarray/issues/1192 | MDEyOklzc3VlQ29tbWVudDI3MDQyNzIwOQ== | shoyer 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., That said, this seems useful and I wouldn't get too hung up about the optimal interface. I would be happy with a 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 } |
Implementing dask.array.coarsen in xarrays 198742089 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 9