home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "NONE" and issue = 1695028906 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • paul0207 2
  • welcome[bot] 1

issue 1

  • TypeError: 'NoneType' object is not callable when joining netCDF files. Works when ran interactively. · 3 ✖

author_association 1

  • NONE · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1536900927 https://github.com/pydata/xarray/issues/7814#issuecomment-1536900927 https://api.github.com/repos/pydata/xarray/issues/7814 IC_kwDOAMm_X85bmz8_ paul0207 25112215 2023-05-05T23:27:17Z 2023-05-05T23:28:08Z NONE

Thanks Kai, I have attached the output of xr.show_versions() and of pip list.

Does this happen only with these special files, or do you experience this every time?

I tried with two netcdf files from https://www.northwestknowledge.net/metdata/data/ and got the same TypeError: 'NoneType' object is not callable

Does the problem persists when specifying engine="netcdf4" or engine="h5netcdf" in the call to open_mfdataset?

Only engine="netcdf4" works as a parameter but I get the same error, h5netcdf is not recognized as an engine.

Does this also happen, if you open the files one-by-one (with xr.open_dataset) and combine the Datasets with xr.concat?

Yes, opening files with xr.open_dataset and combining them with xr.concat gives the same error.

Please note the following that I just realized, the resulting combined netCDF file is actually created even though the errors are displayed. Also, as I mentioned in my first message, if I run the commands line by line in the python console no error message is displayed, this happens only when the code is ran as a script.

Paul

pip_list.txt xr.show_versions.txt

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  TypeError: 'NoneType' object is not callable when joining netCDF files. Works when ran interactively. 1695028906
1535168128 https://github.com/pydata/xarray/issues/7814#issuecomment-1535168128 https://api.github.com/repos/pydata/xarray/issues/7814 IC_kwDOAMm_X85bgM6A paul0207 25112215 2023-05-04T17:44:14Z 2023-05-04T17:44:31Z NONE

Deepak, thanks for replying, I have attached a couple of my netCDF files. Hopefully these will help for reproducing the issue.

Archive.zip

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  TypeError: 'NoneType' object is not callable when joining netCDF files. Works when ran interactively. 1695028906
1533918236 https://github.com/pydata/xarray/issues/7814#issuecomment-1533918236 https://api.github.com/repos/pydata/xarray/issues/7814 IC_kwDOAMm_X85bbbwc welcome[bot] 30606887 2023-05-04T00:41:32Z 2023-05-04T00:41:32Z NONE

Thanks for opening your first issue here at xarray! Be sure to follow the issue template! If you have an idea for a solution, we would really welcome a Pull Request with proposed changes. See the Contributing Guide for more. It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better. Thank you!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  TypeError: 'NoneType' object is not callable when joining netCDF files. Works when ran interactively. 1695028906

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