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

Method get_attrs

xarray/backends/zarr.py:951–956  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

949 return FrozenDict((k, self.open_store_variable(k)) for k in self.array_keys())
950
951 def get_attrs(self):
952 return {
953 k: v
954 for k, v in self.zarr_group.attrs.asdict().items()
955 if not k.lower().startswith("_nc")
956 }
957
958 def get_dimensions(self):
959 try_nczarr = self._mode == "r"

Callers

nothing calls this directly

Calls 3

itemsMethod · 0.80
startswithMethod · 0.80
lowerMethod · 0.80

Tested by

no test coverage detected