home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 1367029446 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • mathause 3
  • dcherian 1
  • Zeitsperre 1

author_association 2

  • MEMBER 4
  • CONTRIBUTOR 1

issue 1

  • Time-based resampling drops lat/lon coordinate metadata · 5 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1244132595 https://github.com/pydata/xarray/issues/7012#issuecomment-1244132595 https://api.github.com/repos/pydata/xarray/issues/7012 IC_kwDOAMm_X85KJ_Tz dcherian 2448579 2022-09-12T18:27:38Z 2022-09-12T18:27:38Z MEMBER

Thanks @Zeitsperre and @mathause . I made a bad choice for the default in #6667 . See #7022 for a solution

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Time-based resampling drops lat/lon coordinate metadata 1367029446
1243930142 https://github.com/pydata/xarray/issues/7012#issuecomment-1243930142 https://api.github.com/repos/pydata/xarray/issues/7012 IC_kwDOAMm_X85KJN4e mathause 10194086 2022-09-12T15:42:33Z 2022-09-12T15:42:33Z MEMBER

cc @dcherian

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Time-based resampling drops lat/lon coordinate metadata 1367029446
1243917954 https://github.com/pydata/xarray/issues/7012#issuecomment-1243917954 https://api.github.com/repos/pydata/xarray/issues/7012 IC_kwDOAMm_X85KJK6C Zeitsperre 10819524 2022-09-12T15:33:10Z 2022-09-12T15:33:10Z CONTRIBUTOR

@mathause You're right! I noticed this first in my builds using "upstream" dependencies (xarray@main, flox@main, cftime@master, bottleneck@master). It might indeed be flox-related!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Time-based resampling drops lat/lon coordinate metadata 1367029446
1242640032 https://github.com/pydata/xarray/issues/7012#issuecomment-1242640032 https://api.github.com/repos/pydata/xarray/issues/7012 IC_kwDOAMm_X85KES6g mathause 10194086 2022-09-10T06:01:49Z 2022-09-10T06:01:49Z MEMBER

Ah - I probably don't have flox installed - that could be the reason.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Time-based resampling drops lat/lon coordinate metadata 1367029446
1241523928 https://github.com/pydata/xarray/issues/7012#issuecomment-1241523928 https://api.github.com/repos/pydata/xarray/issues/7012 IC_kwDOAMm_X85KACbY mathause 10194086 2022-09-09T05:46:16Z 2022-09-09T05:46:16Z MEMBER

I cannot reproduce this (on master but I don't think we touched this since 2022.06):

python import xarray as xr import cf_xarray air = xr.tutorial.open_dataset("air_temperature") air.resample(time="MS").mean(dim="time").lat Returns <xarray.DataArray 'lat' (lat: 25)> array([75. , 72.5, 70. , 67.5, 65. , 62.5, 60. , 57.5, 55. , 52.5, 50. , 47.5, 45. , 42.5, 40. , 37.5, 35. , 32.5, 30. , 27.5, 25. , 22.5, 20. , 17.5, 15. ], dtype=float32) Coordinates: * lat (lat) float32 75.0 72.5 70.0 67.5 65.0 ... 25.0 22.5 20.0 17.5 15.0 Attributes: standard_name: latitude long_name: Latitude units: degrees_north axis: Y Would be interesting to get to the bottom of this.

(Funny enough - the attrs are not even dropped for r.mean(keep_attrs=False).lat.)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Time-based resampling drops lat/lon coordinate metadata 1367029446

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