MCPcopy Index your code
hub / github.com/pydata/xarray / get_variables

Method get_variables

xarray/backends/netCDF4_.py:583–586  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

581 return Variable(dimensions, data, attributes, encoding)
582
583 def get_variables(self):
584 return FrozenDict(
585 (k, self.open_store_variable(k, v)) for k, v in self.ds.variables.items()
586 )
587
588 def get_attrs(self):
589 return FrozenDict((k, self.ds.getncattr(k)) for k in self.ds.ncattrs())

Callers

nothing calls this directly

Calls 3

open_store_variableMethod · 0.95
FrozenDictFunction · 0.90
itemsMethod · 0.80

Tested by

no test coverage detected