home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

8 rows where author_association = "COLLABORATOR" and issue = 1437481995 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 1

  • headtr1ck 8

issue 1

  • 🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 · 8 ✖

author_association 1

  • COLLABORATOR · 8 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1325467359 https://github.com/pydata/xarray/issues/7259#issuecomment-1325467359 https://api.github.com/repos/pydata/xarray/issues/7259 IC_kwDOAMm_X85PAQbf headtr1ck 43316012 2022-11-23T18:07:08Z 2022-11-23T18:07:08Z COLLABORATOR

weirdly enough, this: python -c "import warnings; warnings.filterwarnings('error'); import numpy; import netCDF4" does not error, haha.

{
    "total_count": 2,
    "+1": 0,
    "-1": 0,
    "laugh": 2,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 1437481995
1321127671 https://github.com/pydata/xarray/issues/7259#issuecomment-1321127671 https://api.github.com/repos/pydata/xarray/issues/7259 IC_kwDOAMm_X85Ovs73 headtr1ck 43316012 2022-11-20T13:02:52Z 2022-11-20T13:02:52Z COLLABORATOR

I would suggest to open an issue in netcdf4, since it seems to happen when you import numpy before netcdf4.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 1437481995
1320954489 https://github.com/pydata/xarray/issues/7259#issuecomment-1320954489 https://api.github.com/repos/pydata/xarray/issues/7259 IC_kwDOAMm_X85OvCp5 headtr1ck 43316012 2022-11-19T19:36:20Z 2022-11-19T19:36:20Z COLLABORATOR

If you are still motivated, you could try figuring out if it happens with older versions of numpy and netcdf as well...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 1437481995
1320953740 https://github.com/pydata/xarray/issues/7259#issuecomment-1320953740 https://api.github.com/repos/pydata/xarray/issues/7259 IC_kwDOAMm_X85OvCeM headtr1ck 43316012 2022-11-19T19:32:17Z 2022-11-19T19:32:28Z COLLABORATOR

So it happens when you import numpy before netCDF? Then I would claim that it is a netCDF problem, haha.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 1437481995
1320949554 https://github.com/pydata/xarray/issues/7259#issuecomment-1320949554 https://api.github.com/repos/pydata/xarray/issues/7259 IC_kwDOAMm_X85OvBcy headtr1ck 43316012 2022-11-19T19:09:47Z 2022-11-19T19:09:47Z COLLABORATOR

Can we find a minimum environment that can reproduce this results? I.e. only numpy, pandas, xarray and netcdf4?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 1437481995
1306315928 https://github.com/pydata/xarray/issues/7259#issuecomment-1306315928 https://api.github.com/repos/pydata/xarray/issues/7259 IC_kwDOAMm_X85N3MyY headtr1ck 43316012 2022-11-07T22:30:07Z 2022-11-07T22:30:07Z COLLABORATOR

Is it repeatable locally with the exact same package versions installed?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 1437481995
1306091745 https://github.com/pydata/xarray/issues/7259#issuecomment-1306091745 https://api.github.com/repos/pydata/xarray/issues/7259 IC_kwDOAMm_X85N2WDh headtr1ck 43316012 2022-11-07T19:33:55Z 2022-11-07T19:33:55Z COLLABORATOR

I have run into this problem already several times and the problem was always a somehow broken numpy install. A reinstall usually fixed this for me. But I assume this is part of a CI pipeline or so?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 1437481995
1305239128 https://github.com/pydata/xarray/issues/7259#issuecomment-1305239128 https://api.github.com/repos/pydata/xarray/issues/7259 IC_kwDOAMm_X85NzF5Y headtr1ck 43316012 2022-11-07T08:19:30Z 2022-11-07T08:19:30Z COLLABORATOR

It is true that the import behavior had changed in the linked PR (it is now lazy importing netCDF4) but I don't see how this can cause such problems.

Normally this warning indicates that something is wrong with your install, but since you can solve it by importing netcdf4 first, I have no idea what is going wrong ...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  🐛 NetCDF4 RuntimeWarning if xarray is imported before netCDF4 1437481995

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