home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1385031286

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
1385031286 I_kwDOAMm_X85SjeZ2 7079 open_mfdataset parallel=True failing with netcdf4 >= 1.6.1 47092034 open 0     23 2022-09-25T13:46:05Z 2023-11-06T22:16:57Z   NONE      

What happened?

When using the parallel=True key, open_mfdataset fails with NetCDF: Unknown file format. Running the same command again (with try+except), or with parallel=False executes as expected.

works: xr.open_mfdataset(dirpath +'\\*.nc', parallel=False)

works: try: xr.open_mfdataset(dirpath +'\\*.nc', parallel=True) except: xr.open_mfdataset(dirpath +'\\*.nc', parallel=True)

fails: ``` xr.open_mfdataset(dirpath +'\*.nc', parallel=True)

[Errno -51] NetCDF: Unknown file format ```

all with engine='netcdf4' any help is highly appreciated as I'm a bit lost how to investigate this further.

What did you expect to happen?

No response

Minimal Complete Verifiable Example

No response

MVCE confirmation

  • [X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
  • [X] Complete example — the example is self-contained, including all data and the text of any traceback.
  • [X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
  • [X] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output

No response

Anything else we need to know?

No response

Environment

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7079/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 issue

Links from other tables

  • 3 rows from issues_id in issues_labels
  • 23 rows from issue in issue_comments
Powered by Datasette · Queries took 157.542ms · About: xarray-datasette