xarray.coding.strings.EncodedStringCoder#
- class xarray.coding.strings.EncodedStringCoder(allows_unicode=True)[source]#
Transforms between unicode strings and fixed-width UTF-8 bytes.
Methods
__init__
([allows_unicode])decode
(variable[, name])Convert a decoded variable to an encoded variable
encode
(variable[, name])Convert an encoded variable to a decoded variable