xarray.coding.strings.EncodedStringCoder

class xarray.coding.strings.EncodedStringCoder(allows_unicode=True)[source]

Transforms between unicode strings and fixed-width UTF-8 bytes.

__init__(allows_unicode=True)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([allows_unicode])

Initialize self.

decode(variable[, name])

Convert an decoded variable to a encoded variable

encode(variable[, name])

Convert an encoded variable to a decoded variable