diff --git a/xarray/backends/h5netcdf_.py b/xarray/backends/h5netcdf_.py index 10033587bf1..de5bef99853 100644 --- a/xarray/backends/h5netcdf_.py +++ b/xarray/backends/h5netcdf_.py @@ -46,9 +46,6 @@ def __getitem__(self, key): ) def _getitem(self, key): - # h5py requires using lists for fancy indexing: - # https://github.com/h5py/h5py/issues/992 - key = tuple(list(k) if isinstance(k, np.ndarray) else k for k in key) with self.datastore.lock: array = self.get_array(needs_lock=False) return array[key]