home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where issue = 97554858 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 5

  • shoyer 2
  • liyi-1989 2
  • fmaussion 1
  • Yafei777 1
  • Geet-George 1

author_association 2

  • NONE 4
  • MEMBER 3

issue 1

  • Better error message when reading netCDF4 file and netCDF4 not installed · 7 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
459757599 https://github.com/pydata/xarray/issues/497#issuecomment-459757599 https://api.github.com/repos/pydata/xarray/issues/497 MDEyOklzc3VlQ29tbWVudDQ1OTc1NzU5OQ== Geet-George 46085279 2019-02-01T15:20:46Z 2019-02-01T15:20:46Z NONE

You need to install netcdf4-python, e.g., conda install netcdf4.

Hi @shoyer, I'm using v0.11.2 (also tried v0.11.3), but I am unable to open my NC file. I get this same error and asks me to install netcdf4, which is already installed and up to date. I could open the before I had upgraded xarray to v0.11.3. Now, even back with the old version, I am unable to open it. As I'm still a beginner, I am unable to figure out what exactly the problem is. Thanks in advance.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Better error message when reading netCDF4 file and netCDF4 not installed 97554858
260466813 https://github.com/pydata/xarray/issues/497#issuecomment-260466813 https://api.github.com/repos/pydata/xarray/issues/497 MDEyOklzc3VlQ29tbWVudDI2MDQ2NjgxMw== shoyer 1217238 2016-11-14T21:23:01Z 2016-11-14T21:23:01Z MEMBER

That error message is from SciPy. In principle, we could definitely inspect the first few bytes of the file and detect whether we have an appropriate read library install.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Better error message when reading netCDF4 file and netCDF4 not installed 97554858
260465002 https://github.com/pydata/xarray/issues/497#issuecomment-260465002 https://api.github.com/repos/pydata/xarray/issues/497 MDEyOklzc3VlQ29tbWVudDI2MDQ2NTAwMg== fmaussion 10050469 2016-11-14T21:16:01Z 2016-11-14T21:16:01Z MEMBER

Should we close this issue? is not a valid NetCDF 3 file is the best xarray can do I guess, since the error comes from scipy.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Better error message when reading netCDF4 file and netCDF4 not installed 97554858
260464464 https://github.com/pydata/xarray/issues/497#issuecomment-260464464 https://api.github.com/repos/pydata/xarray/issues/497 MDEyOklzc3VlQ29tbWVudDI2MDQ2NDQ2NA== liyi-1989 7500910 2016-11-14T21:13:59Z 2016-11-14T21:13:59Z NONE

Thanks @shoyer !

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Better error message when reading netCDF4 file and netCDF4 not installed 97554858
260464124 https://github.com/pydata/xarray/issues/497#issuecomment-260464124 https://api.github.com/repos/pydata/xarray/issues/497 MDEyOklzc3VlQ29tbWVudDI2MDQ2NDEyNA== shoyer 1217238 2016-11-14T21:12:42Z 2016-11-14T21:12:42Z MEMBER

You need to install netcdf4-python, e.g., conda install netcdf4.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Better error message when reading netCDF4 file and netCDF4 not installed 97554858
260459506 https://github.com/pydata/xarray/issues/497#issuecomment-260459506 https://api.github.com/repos/pydata/xarray/issues/497 MDEyOklzc3VlQ29tbWVudDI2MDQ1OTUwNg== liyi-1989 7500910 2016-11-14T20:54:30Z 2016-11-14T20:54:30Z NONE

I got similar errors with xarray 0.8.2. Any solution for this error? Just use import netCDF4? (I can read the nc file in R)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Better error message when reading netCDF4 file and netCDF4 not installed 97554858
223204734 https://github.com/pydata/xarray/issues/497#issuecomment-223204734 https://api.github.com/repos/pydata/xarray/issues/497 MDEyOklzc3VlQ29tbWVudDIyMzIwNDczNA== Yafei777 13634822 2016-06-02T06:16:01Z 2016-06-02T06:16:01Z NONE

Cool! You saved my time! Thank you!

I just downloaded an nc file from noaa's esrl, and tried to read it using xarray, but it gave me the error message you mentioned above.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Better error message when reading netCDF4 file and netCDF4 not installed 97554858

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