issue_comments
25 rows where issue = 379415229 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Feature: N-dimensional auto_combine · 25 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
447048979 | https://github.com/pydata/xarray/pull/2553#issuecomment-447048979 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NzA0ODk3OQ== | shoyer 1217238 | 2018-12-13T17:16:16Z | 2018-12-13T17:16:16Z | MEMBER | thanks @TomNicholas! I'm looking forward to the follow-ups :) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
446420988 | https://github.com/pydata/xarray/pull/2553#issuecomment-446420988 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NjQyMDk4OA== | TomNicholas 35968931 | 2018-12-12T00:57:56Z | 2018-12-12T00:57:56Z | MEMBER | Removed the unnecessary argument. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
437578022 | https://github.com/pydata/xarray/pull/2553#issuecomment-437578022 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQzNzU3ODAyMg== | pep8speaks 24736507 | 2018-11-10T11:40:54Z | 2018-12-12T00:54:59Z | NONE | Hello @TomNicholas! Thanks for updating the PR.
Comment last updated on December 12, 2018 at 00:54 Hours UTC |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
446223544 | https://github.com/pydata/xarray/pull/2553#issuecomment-446223544 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NjIyMzU0NA== | TomNicholas 35968931 | 2018-12-11T14:35:12Z | 2018-12-11T14:35:12Z | MEMBER | Okay I've reverted the API, so it basically converts a If we merge this then should I start a separate Pull Request for further discussion about the API? One of the Travis CI builds failed but again I don't think that was me. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
445907024 | https://github.com/pydata/xarray/pull/2553#issuecomment-445907024 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NTkwNzAyNA== | shoyer 1217238 | 2018-12-10T17:48:21Z | 2018-12-10T17:48:21Z | MEMBER |
Yes, but throwing a warning should probably only be a temporary solution. Long term we should pick a default value (e.g., |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
445903380 | https://github.com/pydata/xarray/pull/2553#issuecomment-445903380 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NTkwMzM4MA== | TomNicholas 35968931 | 2018-12-10T17:37:25Z | 2018-12-10T17:37:25Z | MEMBER |
Okay good. So with this API then
Yes, I'll do that.
If I revert the documentation and you merge this PR then that's exactly what we will have, which would be useful for me until we do the public API. (Also it seems that whatever was wrong with cftime has been fixed now, as the CI tests are passing.) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
445892746 | https://github.com/pydata/xarray/pull/2553#issuecomment-445892746 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NTg5Mjc0Ng== | shoyer 1217238 | 2018-12-10T17:06:59Z | 2018-12-10T17:06:59Z | MEMBER |
This sounds pretty good to me.
OK, do you want to go ahead and revert the documentation/public API for now? I would even be OK supporting nested lists temporarily in xarray via APIs like |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
445419876 | https://github.com/pydata/xarray/pull/2553#issuecomment-445419876 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NTQxOTg3Ng== | shoyer 1217238 | 2018-12-08T01:49:28Z | 2018-12-10T17:00:04Z | MEMBER |
I think multiple levels There are probably some edge cases where the existing
Yes, this is my concern. The way this API handles nested lists makes sense from an implementation perspective, but not really from a user perspective. For users, I think it makes sense to have:
1. The precisely defined The original version of If you like, we could also merge this work (which is excellent progress towards user-facing APIs) but keep the changes internal to xarray for now until we figure out the public APIs. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
445845065 | https://github.com/pydata/xarray/pull/2553#issuecomment-445845065 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NTg0NTA2NQ== | TomNicholas 35968931 | 2018-12-10T14:59:30Z | 2018-12-10T15:21:05Z | MEMBER |
I think that's probably the case, but I also think that those edge cases will be so specific that maybe we don't have to explicitly support them. We could just say that anyone who has a combination of datasets that is that funky can just concatenate them themselves?
I agree, two separate functions is a lot more intuitive than having The only problem with that idea is that both of these functions should be options for
That would be great. Then I could start using the master branch of xarray again in my code, while we redo the public API. If I set |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444712699 | https://github.com/pydata/xarray/pull/2553#issuecomment-444712699 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDcxMjY5OQ== | TomNicholas 35968931 | 2018-12-06T01:18:41Z | 2018-12-06T10:05:40Z | MEMBER | Specifying That is how the current auto_combine behaves too, just for 1D obviously. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444712936 | https://github.com/pydata/xarray/pull/2553#issuecomment-444712936 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDcxMjkzNg== | TomNicholas 35968931 | 2018-12-06T01:20:05Z | 2018-12-06T10:03:43Z | MEMBER | Also if you specify |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444715777 | https://github.com/pydata/xarray/pull/2553#issuecomment-444715777 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDcxNTc3Nw== | TomNicholas 35968931 | 2018-12-06T01:34:18Z | 2018-12-06T10:03:26Z | MEMBER | I think that would mean there might be some situations that 1D I think this is a question of whether you think that: a) or b) I personally think a), but I expect users who haven't read the source code for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444713331 | https://github.com/pydata/xarray/pull/2553#issuecomment-444713331 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDcxMzMzMQ== | shoyer 1217238 | 2018-12-06T01:22:08Z | 2018-12-06T01:22:17Z | MEMBER | Do you think it would make sense to try to get rid of "both merging and concatenating" in favor of requiring another dimension in the grid? I guess we do sort of need this for this for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444713178 | https://github.com/pydata/xarray/pull/2553#issuecomment-444713178 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDcxMzE3OA== | TomNicholas 35968931 | 2018-12-06T01:21:20Z | 2018-12-06T01:21:20Z | MEMBER | I appreciate that this is pretty complicated, perhaps it should have its own section in the docs (I can do another PR?) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444712974 | https://github.com/pydata/xarray/pull/2553#issuecomment-444712974 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDcxMjk3NA== | shoyer 1217238 | 2018-12-06T01:20:18Z | 2018-12-06T01:20:18Z | MEMBER |
Yes, this was a typo on my part :). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444712053 | https://github.com/pydata/xarray/pull/2553#issuecomment-444712053 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDcxMjA1Mw== | shoyer 1217238 | 2018-12-06T01:15:23Z | 2018-12-06T01:19:54Z | MEMBER |
OK, so the rule is that a grid dimension can correspond to any of:
And to specify case (1) explicitly, you can write |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444708274 | https://github.com/pydata/xarray/pull/2553#issuecomment-444708274 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDcwODI3NA== | TomNicholas 35968931 | 2018-12-06T00:56:01Z | 2018-12-06T01:01:49Z | MEMBER | Thanks for the comments.
This is supported. This new ```python objs = [[Dataset({'foo': ('x', [0, 1])}), Dataset({'bar': ('x', [10, 20])})], [Dataset({'foo': ('x', [2, 3])}), Dataset({'bar': ('x', [30, 40])})]] expected = Dataset({'foo': ('x', [0, 1, 2, 3]), 'bar': ('x', [10, 20, 30, 40])}) This worksactual = auto_combine(objs, concat_dims=['x', None]) assert_identical(expected, actual) Also works auto-magicallyactual = auto_combine(objs) assert_identical(expected, actual) Proving it works symmetricallyobjs = [[Dataset({'foo': ('x', [0, 1])}), Dataset({'foo': ('x', [2, 3])})], [Dataset({'bar': ('x', [10, 20])}), Dataset({'bar': ('x', [30, 40])})]] actual = auto_combine(objs, concat_dims=[None, 'x']) assert_identical(expected, actual) ``` (I'll add this example as another unit test) I should point out that there is one way in which this function is not exactly as general as
That was basically what I tried to do in my first attempt, but nested concatenation without merging along every dimension misses some common use cases, for example if you wanted to You might also find it interesting to see how I've used this fork in my own code: I create the grid of datasets here, so that I can combine them here. I have a question actually - currently if the concat or merge fails, then the error message won't clearly tell you which dimension it was trying to combine along when it failed. Is there a way to do that easily with (Also something else is breaking in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
444580848 | https://github.com/pydata/xarray/pull/2553#issuecomment-444580848 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0NDU4MDg0OA== | shoyer 1217238 | 2018-12-05T17:56:26Z | 2018-12-05T17:56:26Z | MEMBER | Generally I like the look of this. What happens if you have a nested list of Dataset objects with different data variables? e.g., a 2D grid of results, with different variables saved in different files. Is this supported at all? I ask because the current version of It might be better to have a separate |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
443680759 | https://github.com/pydata/xarray/pull/2553#issuecomment-443680759 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0MzY4MDc1OQ== | spencerkclark 6628425 | 2018-12-03T11:37:52Z | 2018-12-03T11:37:52Z | MEMBER |
Yes, this is unrelated. See https://github.com/Unidata/cftime/issues/34#issuecomment-443619848; I'm sure it will be fixed soon. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
443536378 | https://github.com/pydata/xarray/pull/2553#issuecomment-443536378 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0MzUzNjM3OA== | TomNicholas 35968931 | 2018-12-02T19:50:59Z | 2018-12-02T20:08:28Z | MEMBER | Now that all the tests are passing for all python versions, and I've added an example of multidimensional concatenation to the docstring of However, the appveyor builds on python 2.7 are now failing on setup when they try to install cftime, which I don't think was anything I did? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
443456199 | https://github.com/pydata/xarray/pull/2553#issuecomment-443456199 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0MzQ1NjE5OQ== | TomNicholas 35968931 | 2018-12-01T20:30:30Z | 2018-12-01T20:31:11Z | MEMBER | Okay, I've rewritten it using |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
443446419 | https://github.com/pydata/xarray/pull/2553#issuecomment-443446419 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0MzQ0NjQxOQ== | shoyer 1217238 | 2018-12-01T18:15:30Z | 2018-12-01T18:15:30Z | MEMBER | Itertoolz is a dask.array dependency that we didn't explicitly declare in xarray (yes, this was sloppy). We should probably just copy the function we use into some utils file inside xarray -- it has a compatible open source license. Or we could rewrite to not need it. On Sat, Dec 1, 2018 at 8:18 AM Tom Nicholas notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
443437580 | https://github.com/pydata/xarray/pull/2553#issuecomment-443437580 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0MzQzNzU4MA== | TomNicholas 35968931 | 2018-12-01T16:18:54Z | 2018-12-01T16:43:05Z | MEMBER | I've fixed the code so it works with python 3.5 & 2.7 (tested on my local machine), but the tests on python 2.7 are still failing because for some reason it can't find the itertoolz module. I tried to fix this by adding toolz an explicit dependency in However, given that xarray is supposed to be dropping python 2 support at the end of this year (https://github.com/pydata/xarray/issues/1830), does this particularly matter? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
441639494 | https://github.com/pydata/xarray/pull/2553#issuecomment-441639494 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQ0MTYzOTQ5NA== | TomNicholas 35968931 | 2018-11-26T13:31:11Z | 2018-12-01T15:56:36Z | MEMBER | This is basically done now - I've implemented everything I wanted to, and included unit tests for the new functionality. I'm also successfully using it in my personal code now. @shoyer I haven't changed the way the combine function is applied repeatedly to match the implementation in ~~I don't understand why some of the CI tests are failing - all test which run on my machine pass, and the errors in the log seem to come from dask arrays not being loaded, i.e:~~
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 | |
437614965 | https://github.com/pydata/xarray/pull/2553#issuecomment-437614965 | https://api.github.com/repos/pydata/xarray/issues/2553 | MDEyOklzc3VlQ29tbWVudDQzNzYxNDk2NQ== | shoyer 1217238 | 2018-11-10T19:47:22Z | 2018-11-10T19:47:22Z | MEMBER | I should have suggested this before, but the internal implementation of |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature: N-dimensional auto_combine 379415229 |
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 4