Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydata/xarray
/ encode
Function
encode
xarray/convert.py:53–54 ·
view source on GitHub ↗
(var)
Source
from the content-addressed store, hash-verified
51
52
53
def
encode(var):
54
return
CFTimedeltaCoder().encode(CFDatetimeCoder().encode(var.variable))
55
56
57
def
_filter_attrs(attrs, ignored_attrs):
Callers
1
to_iris
Function · 0.85
Calls
3
CFTimedeltaCoder
Class · 0.90
CFDatetimeCoder
Class · 0.85
encode
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…