-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugneeds infoIssue reporter has not yet provided key informationIssue reporter has not yet provided key informationneeds mcvehttps://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reportshttps://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports
Description
What happened?
Hi, I've just updated xarray to v2025.10.1. Unfortunately, now loading a NetCDF file using xr.load_dataset('file.nc') fails with
E OSError: [Errno -101] NetCDF: HDF error: 'file.nc'
Thing is, this only fails on Linux, while on Windows it works correctly. For now I have reverted to v2025.09.1, but can you please look into that? I know that it's difficult without my file.
What did you expect to happen?
Be able to load a NetCDF file on both Linux and Windows.
Minimal Complete Verifiable Example
requires-python = ">=3.11,<3.14"
dependencies = [
"xarray == 2025.10.1",
]xr.load_dataset('file.nc')Steps to reproduce
No response
MVCE confirmation
- Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
- Complete example — the example is self-contained, including all data and the text of any traceback.
- Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
- New issue — a search of GitHub Issues suggests this is not a duplicate.
- Recent environment — the issue occurs with the latest version of xarray and its dependencies.
Relevant log output
Anything else we need to know?
No response
Environment
Metadata
Metadata
Assignees
Labels
bugneeds infoIssue reporter has not yet provided key informationIssue reporter has not yet provided key informationneeds mcvehttps://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reportshttps://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports