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

Method get_dimensions

xarray/backends/h5netcdf_.py:340–341  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

338 return FrozenDict(_read_attributes(self.ds))
339
340 def get_dimensions(self):
341 return FrozenDict((k, len(v)) for k, v in self.ds.dimensions.items())
342
343 def get_parent_dimensions(self):
344 return FrozenDict(collect_ancestor_dimensions(self.ds))

Callers

nothing calls this directly

Calls 2

FrozenDictFunction · 0.90
itemsMethod · 0.80

Tested by

no test coverage detected