MCPcopy
hub / github.com/pydata/xarray / unpack_for_encoding

Function unpack_for_encoding

xarray/coding/common.py:138–139  ·  view source on GitHub ↗
(var: Variable)

Source from the content-addressed store, hash-verified

136
137
138def unpack_for_encoding(var: Variable) -> T_VarTuple:
139 return var.dims, var.data, var.attrs.copy(), var.encoding.copy()
140
141
142def unpack_for_decoding(var: Variable) -> T_VarTuple:

Callers 11

encodeMethod · 0.90
encodeMethod · 0.90
encodeMethod · 0.90
encodeMethod · 0.90
encodeMethod · 0.90
encodeMethod · 0.90
encodeMethod · 0.90
encodeMethod · 0.90
encodeMethod · 0.85
encodeMethod · 0.85

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…