We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b50fb commit 0647d3aCopy full SHA for 0647d3a
cf_xarray/tests/test_accessor.py
@@ -1848,12 +1848,13 @@ def test_flag_errors(self) -> None:
1848
with pytest.raises(ValueError):
1849
flag_mix.cf == "ERR"
1850
1851
- flag_excl.attrs.pop("flag_values")
+ flag_ex = flag_excl.copy()
1852
+ flag_ex.attrs.pop("flag_values")
1853
- flag_excl.cf.isin(["flag_1"])
1854
+ flag_ex.cf.isin(["flag_1"])
1855
1856
- flag_excl.cf == "flag_1"
1857
+ flag_ex.cf == "flag_1"
1858
1859
1860
basin.cf == "arctic_ocean"
@@ -1955,6 +1956,9 @@ def plane(coords, slopex, slopey):
1955
1956
[airds.air, "Coordinates"],
1957
[popds, "Data Variables"],
1958
[basin, "Flag Variable"],
1959
+ [flag_mix, "Flag Variable"],
1960
+ [flag_indep, "Flag Variable"],
1961
+ [flag_excl, "Flag Variable"],
1962
[dsg, "Discrete Sampling Geometry"],
1963
),
1964
)
0 commit comments