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

Method encode_variable

xarray/backends/zarr.py:981–983  ·  view source on GitHub ↗
(self, variable, name=None)

Source from the content-addressed store, hash-verified

979 _put_attrs(self.zarr_group, attributes)
980
981 def encode_variable(self, variable, name=None):
982 variable = encode_zarr_variable(variable, name=name)
983 return variable
984
985 def encode_attribute(self, a):
986 return encode_zarr_attr_value(a)

Callers

nothing calls this directly

Calls 1

encode_zarr_variableFunction · 0.85

Tested by

no test coverage detected