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

Function test_CFScaleOffset_coder_roundtrip

properties/test_encode_decode.py:46–49  ·  view source on GitHub ↗
(original)

Source from the content-addressed store, hash-verified

44@pytest.mark.slow
45@given(original=variables())
46def test_CFScaleOffset_coder_roundtrip(original) -> None:
47 coder = xr.coding.variables.CFScaleOffsetCoder()
48 roundtripped = coder.decode(coder.encode(original))
49 xr.testing.assert_identical(original, roundtripped)
50
51
52@given(

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
encodeMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…