We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9226c7a commit 5c08ab2Copy full SHA for 5c08ab2
xarray/backends/h5netcdf_.py
@@ -35,7 +35,10 @@
35
import h5netcdf
36
37
has_h5netcdf = True
38
-except ModuleNotFoundError:
+except ImportError:
39
+ # Except a base ImportError (not ModuleNotFoundError) to catch usecases
40
+ # where errors have mismatched versions of c-dependencies. This can happen
41
+ # when developers are making changes them.
42
has_h5netcdf = False
43
44
xarray/backends/netCDF4_.py
@@ -33,7 +33,10 @@
33
import netCDF4
34
has_netcdf4 = True
has_netcdf4 = False
0 commit comments