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

Method decode

xarray/coding/common.py:43–45  ·  view source on GitHub ↗

Convert a decoded variable to an encoded variable

(self, variable: Variable, name: T_Name = None)

Source from the content-addressed store, hash-verified

41 raise NotImplementedError()
42
43 def decode(self, variable: Variable, name: T_Name = None) -> Variable:
44 """Convert a decoded variable to an encoded variable"""
45 raise NotImplementedError()
46
47
48class _ElementwiseFunctionArray(indexing.ExplicitlyIndexedNDArrayMixin):

Callers 13

decode_cf_variableFunction · 0.45
test_replace_unicodeFunction · 0.45
test_empty_str_methodsFunction · 0.45
test_encode_decodeFunction · 0.45
byte_attrs_datasetFunction · 0.45
test_scalar_unitFunction · 0.45
_decode_string_dataFunction · 0.45

Calls

no outgoing calls

Tested by 10

test_replace_unicodeFunction · 0.36
test_empty_str_methodsFunction · 0.36
test_encode_decodeFunction · 0.36
byte_attrs_datasetFunction · 0.36
test_scalar_unitFunction · 0.36