home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where user = 43126798 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 4

  • Rename dims independently from coords? 2
  • Set one-dimensional data variable as dimension coordinate? 1
  • Add swap_coords to relevant 'See also' sections 1
  • Automatic dtype encoding in to_netcdf 1

user 1

  • nedclimaterisk · 5 ✖

author_association 1

  • CONTRIBUTOR 5
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
504238699 https://github.com/pydata/xarray/issues/3026#issuecomment-504238699 https://api.github.com/repos/pydata/xarray/issues/3026 MDEyOklzc3VlQ29tbWVudDUwNDIzODY5OQ== nedclimaterisk 43126798 2019-06-20T23:51:10Z 2019-06-20T23:51:10Z CONTRIBUTOR

For example, you might have a rectilinear grid in a non-geodetic coordinate system, for example a rotated pole:

<xarray.Dataset> Dimensions: (period: 7, x: 3, y: 3) Coordinates: height float64 2.0 lon (y, x) float64 137.6 138.1 138.6 137.6 ... 137.7 138.1 138.6 lat (y, x) float64 -21.71 -21.73 -21.74 ... -20.83 -20.85 -20.86 * y (y) float64 7.92 8.36 8.8 * x (x) float64 176.5 176.9 177.4 * period (period) object '1961-1980' '1981-2000' ... '2081-2100' Data variables: loc (period, y, x) float64 311.2 311.4 311.2 ... 316.0 316.0 315.6 scale (period, y, x) float64 1.231 1.223 1.192 ... 0.8923 0.8934 shape (period, y, x) float64 0.4358 0.4261 ... -0.001062 0.009387 rotated_pole |S1 b''

Obviously this case is a little more complicated, because x/y and lon/lat don't have a one-to-one correspondence. But I want to be able to write code that works with both cases, ideally without special casing stuff. Being able to have separately named dim and coordinate variables would help a lot.

However, now that I look at this example, I guess in my case I have both x/y and lat/lon in the coordinates anyway, so maybe I should just duplicate them, with different names.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Rename dims independently from coords? 456769766
502882609 https://github.com/pydata/xarray/issues/3026#issuecomment-502882609 https://api.github.com/repos/pydata/xarray/issues/3026 MDEyOklzc3VlQ29tbWVudDUwMjg4MjYwOQ== nedclimaterisk 43126798 2019-06-17T23:04:34Z 2019-06-17T23:04:34Z CONTRIBUTOR

Is there even any work-around at the moment? I could try a pull request, if I could figure it out.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Rename dims independently from coords? 456769766
465362210 https://github.com/pydata/xarray/issues/2780#issuecomment-465362210 https://api.github.com/repos/pydata/xarray/issues/2780 MDEyOklzc3VlQ29tbWVudDQ2NTM2MjIxMA== nedclimaterisk 43126798 2019-02-20T00:00:41Z 2019-02-20T00:00:41Z CONTRIBUTOR

related: https://github.com/pydata/xarray/issues/2780

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Automatic dtype encoding in to_netcdf 412180435
427207012 https://github.com/pydata/xarray/pull/2463#issuecomment-427207012 https://api.github.com/repos/pydata/xarray/issues/2463 MDEyOklzc3VlQ29tbWVudDQyNzIwNzAxMg== nedclimaterisk 43126798 2018-10-05T00:05:01Z 2018-10-05T00:05:01Z CONTRIBUTOR

whoops, sorry, fixed that commit.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add swap_coords to relevant 'See also' sections 366711310
426905460 https://github.com/pydata/xarray/issues/2461#issuecomment-426905460 https://api.github.com/repos/pydata/xarray/issues/2461 MDEyOklzc3VlQ29tbWVudDQyNjkwNTQ2MA== nedclimaterisk 43126798 2018-10-04T06:53:35Z 2018-10-04T06:53:35Z CONTRIBUTOR

Awesome, thank you @fujiisoup.

It might be worth putting a "see also" note in the assign_coords and set_coords documentation for this. I tried searching quite a bit, but did not find this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Set one-dimensional data variable as dimension coordinate? 366626025

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 17.136ms · About: xarray-datasette