Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pydata/xarray
/ _getitem
Method
_getitem
xarray/backends/h5netcdf_.py:71–74 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
69
)
70
71
def
_getitem(self, key):
72
with
self.datastore.lock:
73
array = self.get_array(needs_lock=False)
74
return
array[key]
75
76
77
def
_read_attributes(h5netcdf_var):
Callers
nothing calls this directly
Calls
1
get_array
Method · 0.95
Tested by
no test coverage detected