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

Function func

xarray/tests/test_dask.py:1225–1227  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1223@pytest.mark.parametrize("obj", [make_da(), make_ds()])
1224def test_map_blocks(obj):
1225 def func(obj):
1226 result = obj + obj.x + 5 * obj.y
1227 return result
1228
1229 with raise_if_dask_computes():
1230 actual = xr.map_blocks(func, obj)

Callers 15

test_map_blocksFunction · 0.70
test_coarsen_keep_attrsFunction · 0.70
test_propagate_attrsMethod · 0.70
test_unary_opsMethod · 0.70
test_propagate_attrsMethod · 0.70
__call__Method · 0.70
test_apply_ufunc_datasetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…