MCPcopy
hub / github.com/pydata/xarray / lazy_inaccessible

Method lazy_inaccessible

xarray/tests/test_dataset.py:230–234  ·  view source on GitHub ↗
(k, v)

Source from the content-addressed store, hash-verified

228
229 def get_variables(self):
230 def lazy_inaccessible(k, v):
231 if k in self._indexvars:
232 return v
233 data = indexing.LazilyIndexedArray(InaccessibleArray(v.values))
234 return Variable(v.dims, data, v.attrs)
235
236 return {k: lazy_inaccessible(k, v) for k, v in self._variables.items()}
237

Callers

nothing calls this directly

Calls 2

InaccessibleArrayClass · 0.90
VariableClass · 0.90

Tested by

no test coverage detected