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/6736#issuecomment-1170145563,https://api.github.com/repos/pydata/xarray/issues/6736,1170145563,IC_kwDOAMm_X85FvwEb,2448579,2022-06-29T15:44:20Z,2022-06-29T15:44:20Z,MEMBER,"> t would be most useful to this particular user if the error message could somehow identify the file(s) responsible for the exception.
+1. You could make this change to `open_dataset` and it will be raised with `open_mfdataset` too. Attempting to read a bad netCDF file is a common source of trouble. So an error saying something like
```
Reading file XXX failed. The file is possibly corrupted, or the file path is wrong.
```
would be quite helpful!
> I would find it very useful if I could pass to open_mfdataset some kind of argument that would make it ignore invalid files altogether (ignore_invalid=False comes to mind).
This I'm not sure about because a user wouldn't know if they were missing some data in the middle...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1288323549