()
| 3318 | |
| 3319 | |
| 3320 | def test_multiple_grouper_empty_groups() -> None: |
| 3321 | ds = xr.Dataset( |
| 3322 | {"foo": (("x", "y"), np.random.rand(4, 3))}, |
| 3323 | coords={"x": [10, 20, 30, 40], "letters": ("x", list("abba"))}, |
| 3324 | ) |
| 3325 | |
| 3326 | groups = ds.groupby(x=BinGrouper(bins=[5, 15, 25]), letters=UniqueGrouper()) |
| 3327 | assert len(groups.groups) == 2 |
| 3328 | |
| 3329 | |
| 3330 | def test_groupby_multiple_bin_grouper_missing_groups() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…