home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1536900927

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/7814#issuecomment-1536900927 https://api.github.com/repos/pydata/xarray/issues/7814 1536900927 IC_kwDOAMm_X85bmz8_ 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
}
  1695028906
Powered by Datasette · Queries took 0.705ms · About: xarray-datasette