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

Class CFEncodedInMemoryStore

xarray/tests/test_conventions.py:577–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575
576
577class CFEncodedInMemoryStore(WritableCFDataStore, InMemoryDataStore):
578 def encode_variable(self, var, name=None):
579 """encode one variable"""
580 coder = coding.strings.EncodedStringCoder(allows_unicode=True)
581 var = coder.encode(var, name=name)
582 return var
583
584
585@requires_netCDF4

Callers 2

create_storeMethod · 0.85
roundtripMethod · 0.85

Calls

no outgoing calls

Tested by 2

create_storeMethod · 0.68
roundtripMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…