home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 1217239419

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
1217239419 I_kwDOAMm_X85IjZl7 6523 Insufficient permissions raise IO `ValueError` instead of `PermissionError` 47473455 closed 0     1 2022-04-27T11:47:40Z 2023-03-26T20:30:33Z 2023-03-26T20:30:33Z NONE      

What is your issue?

I was getting the following error continuously when using xarray.open_mfdataset: bash ValueError: did not find a match in any of xarray's currently installed IO backends ['netcdf4', 'h5netcdf', 'scipy', 'cfgrib', 'pydap', 'zarr']. Consider explicitly selecting one of the installed engines via the ``engine`` parameter, or installing additional IO dependencies When the file file was indeed a netcdf4: bash $ ncdump -k myfile.nc classic I was running my script with the command inside a docker container, which uses a different user and group than myself. It seems the issue was on the permisions of the file as only my user had access: bash $ ls -la total 39M -rw-r----- 1 borja borja 39M Mär 23 12:15 myfile.nc Changing permission rights with chmod a+r myfile.nc solved the thing: bash $ ls -la total 39M -rw-r--r-- 1 borja borja 39M Mär 23 12:15 myfile.nc The permission thing is perfectly fine, it was my error, however, it would be nice that the command open_mfdataset (or related) would raise PermissionError when permissions are not sufficient.

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

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.67ms · About: xarray-datasette