()
| 16 | |
| 17 | |
| 18 | def test_CFMaskCoder_decode() -> None: |
| 19 | original = xr.Variable(("x",), [0, -1, 1], {"_FillValue": -1}) |
| 20 | expected = xr.Variable(("x",), [0, np.nan, 1]) |
| 21 | coder = variables.CFMaskCoder() |
| 22 | encoded = coder.decode(original) |
| 23 | assert_identical(expected, encoded) |
| 24 | |
| 25 | |
| 26 | encoding_with_dtype = { |
nothing calls this directly
no test coverage detected
searching dependent graphs…