MCPcopy Create free account
hub / github.com/pydata/xarray / get_variables

Method get_variables

xarray/backends/scipy_.py:291–294  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

289 )
290
291 def get_variables(self) -> Frozen[str, Variable]:
292 return FrozenDict(
293 (k, self.open_store_variable(k, v)) for k, v in self.ds.variables.items()
294 )
295
296 def get_attrs(self) -> Frozen[str, Any]:
297 return Frozen(_decode_attrs(self.ds._attributes)) # type: ignore[attr-defined] # using private attribute

Callers

nothing calls this directly

Calls 3

open_store_variableMethod · 0.95
FrozenDictFunction · 0.90
itemsMethod · 0.80

Tested by

no test coverage detected