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

Function compatible_mappings

xarray/tests/test_units.py:69–73  ·  view source on GitHub ↗
(first, second)

Source from the content-addressed store, hash-verified

67
68
69def compatible_mappings(first, second):
70 return {
71 key: is_compatible(unit1, unit2)
72 for key, (unit1, unit2) in zip_mappings(first, second)
73 }
74
75
76def merge_mappings(base, *mappings):

Callers 2

test_comparisonsMethod · 0.85
test_1d_mathMethod · 0.85

Calls 2

is_compatibleFunction · 0.85
zip_mappingsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…