home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 665232266 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 3

  • spencerkclark 3
  • dcherian 1
  • max-sixty 1

issue 1

  • cftime plotting fails on upstream-dev · 5 ✖

author_association 1

  • MEMBER 5
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
664031948 https://github.com/pydata/xarray/issues/4265#issuecomment-664031948 https://api.github.com/repos/pydata/xarray/issues/4265 MDEyOklzc3VlQ29tbWVudDY2NDAzMTk0OA== dcherian 2448579 2020-07-26T19:46:00Z 2020-07-26T19:46:00Z MEMBER

nice work spencer!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  cftime plotting fails on upstream-dev 665232266
664024748 https://github.com/pydata/xarray/issues/4265#issuecomment-664024748 https://api.github.com/repos/pydata/xarray/issues/4265 MDEyOklzc3VlQ29tbWVudDY2NDAyNDc0OA== spencerkclark 6628425 2020-07-26T18:35:32Z 2020-07-26T18:35:32Z MEMBER

I think I tracked down the root of this odd behavior in nc-time-axis; see SciTools/nc-time-axis#45 for more details.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  cftime plotting fails on upstream-dev 665232266
663987155 https://github.com/pydata/xarray/issues/4265#issuecomment-663987155 https://api.github.com/repos/pydata/xarray/issues/4265 MDEyOklzc3VlQ29tbWVudDY2Mzk4NzE1NQ== spencerkclark 6628425 2020-07-26T13:18:48Z 2020-07-26T13:18:48Z MEMBER

I think this NumPy issue is related: https://github.com/numpy/numpy/issues/16939. https://github.com/numpy/numpy/pull/16943 was merged yesterday, which appears to have at least allowed this to continue to work for the time being: ```python

import numpy as np a = np.array([[1., 2.], [3., 4.]]) a[:, 0] = (np.array([0.]), np.array([3650.])) <stdin>:1: DeprecationWarning: setting an array element with a sequence. This was supported in some cases where the elements are arrays with a single element. For example np.array([1, np.array([2])], dtype=int). In the future this will raise the same ValueError as np.array([1, [2]], dtype=int). ``` Given that this will be deprecated, I think it's still worthwhile to investigate what's causing this upstream in matplotlib or nc-time-axis, but it should be safe to un-xfail these tests again.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  cftime plotting fails on upstream-dev 665232266
663914372 https://github.com/pydata/xarray/issues/4265#issuecomment-663914372 https://api.github.com/repos/pydata/xarray/issues/4265 MDEyOklzc3VlQ29tbWVudDY2MzkxNDM3Mg== max-sixty 5635139 2020-07-25T22:58:53Z 2020-07-25T22:58:53Z MEMBER

xfailed with: https://github.com/pydata/xarray/pull/4271

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  cftime plotting fails on upstream-dev 665232266
663910843 https://github.com/pydata/xarray/issues/4265#issuecomment-663910843 https://api.github.com/repos/pydata/xarray/issues/4265 MDEyOklzc3VlQ29tbWVudDY2MzkxMDg0Mw== spencerkclark 6628425 2020-07-25T22:06:45Z 2020-07-25T22:11:02Z MEMBER

Thanks for noting this @dcherian; it seems like there may have been a change in NumPy that caused this. E.g. with NumPy master this doesn't work: ```python

import numpy as np np.version '1.20.0.dev0+2d12d0c' a = np.array([[1., 2.], [3., 4.]]) a[:, 0] = (np.array([0.]), np.array([3650.])) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: setting an array element with a sequence. The requested array would exceed the maximum number of dimension of 1. But with earlier versions of NumPy it does:python import numpy as np np.version '1.19.1' a = np.array([[1., 2.], [3., 4.]]) a[:, 0] = (np.array([0.]), np.array([3650.])) a array([[0.00e+00, 2.00e+00], [3.65e+03, 4.00e+00]]) ``` I'll need to investigate more to see whether this is something to bring up in the matplotlib or NumPy issue tracker (it could be nc-time-axis related too). I'm not sure if there's anything we can do in xarray to fix this. It's probably best to xfail these tests for the time being.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  cftime plotting fails on upstream-dev 665232266

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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]);
Powered by Datasette · Queries took 44.334ms · About: xarray-datasette
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows